diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 8ad5db1..cd0fe42 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -51,7 +51,6 @@ kcreatecm synapse \ --from-file=homeserver.yaml=<(envsubst "$(env | xargs printf '$%s ')" < config/homeserver.yaml) \ --from-file=log.config=<(envsubst "$(env | xargs printf '$%s ')" < config/log.config) -kapply common/keys.yaml common/app.yaml common/delegation.yaml +kapply common/keys.yaml common/app.yaml -kubectl rollout restart deployment delegation kubectl rollout restart statefulset app diff --git a/manifests/bin/prod.sh b/manifests/bin/prod.sh index db50906..6fc304b 100755 --- a/manifests/bin/prod.sh +++ b/manifests/bin/prod.sh @@ -4,3 +4,7 @@ export NB_REPLICAS=1 . ./manifests/bin/deploy.sh + +#kapply common/delegation.yaml + +#kubectl rollout restart deployment delegation diff --git a/manifests/common/delegation.yaml b/manifests/prod/delegation.yaml similarity index 100% rename from manifests/common/delegation.yaml rename to manifests/prod/delegation.yaml