diff --git a/config.json b/config/config.json similarity index 100% rename from config.json rename to config/config.json diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 7ccf437..a26a364 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -31,7 +31,7 @@ function kgcmkey() { } -kcreatecm element-config --from-file=config.json +kcreatecm element --from-file=config/config.json kapply common/app.yaml diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 21ee53e..70ae2bc 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -70,8 +70,7 @@ spec: - name: config mountPath: /app/config.json subPath: config.json - readOnly: true volumes: - name: config configMap: - name: element-config + name: element