diff options
| author | akiyamn | 2023-02-01 16:01:23 +1100 |
|---|---|---|
| committer | akiyamn | 2023-02-01 16:01:23 +1100 |
| commit | ebc5e27bf4e046cbd904bb621c098cd934842f9d (patch) | |
| tree | d68154c63ed110a5a81217e6b32d9fa98257c8a5 | |
| parent | 65c5c69489838019491e394ef1bd72a6a27da896 (diff) | |
| download | argo-test-ebc5e27bf4e046cbd904bb621c098cd934842f9d.tar.gz argo-test-ebc5e27bf4e046cbd904bb621c098cd934842f9d.zip | |
Add 8080 config
| -rw-r--r-- | yamls/configmap.yaml | 7 | ||||
| -rw-r--r-- | yamls/deployment.yaml | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/yamls/configmap.yaml b/yamls/configmap.yaml new file mode 100644 index 0000000..fea41a5 --- /dev/null +++ b/yamls/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +data: + ports.conf: | + Listen 8080 +metadata: + name: i2-ports
\ No newline at end of file diff --git a/yamls/deployment.yaml b/yamls/deployment.yaml index 53a9309..e87429e 100644 --- a/yamls/deployment.yaml +++ b/yamls/deployment.yaml @@ -20,6 +20,9 @@ spec: - name: i2-pod-storage persistentVolumeClaim: claimName: i2-storage + - name: i2-ports + configMap: + name: i2-ports containers: - image: akiyamn/i2 name: i2 @@ -29,4 +32,7 @@ spec: volumeMounts: - mountPath: "/var/www/html" name: i2-pod-storage + - mountPath: "/etc/apache2/ports.conf" + name: i2-ports + subPath: ports.conf status: {}
\ No newline at end of file |
