From 13797dbdf34826ecff0dcff02e5b9c88ec8f2c13 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 15 May 2024 23:41:07 +0200 Subject: [PATCH] feat: rename cm element-config -> element --- config.json => config/config.json | 0 manifests/bin/deploy.sh | 2 +- manifests/common/app.yaml | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) rename config.json => config/config.json (100%) 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