From beb5a238e76eab44eea6a796534c54c1be6196c8 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Tue, 21 Feb 2023 11:41:06 +0100 Subject: [PATCH] chore(charts): add readme and a script to sync changes --- deploy/charts/README.md | 3 +++ deploy/charts/sync-enterprise.sh | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 deploy/charts/README.md create mode 100755 deploy/charts/sync-enterprise.sh diff --git a/deploy/charts/README.md b/deploy/charts/README.md new file mode 100644 index 000000000..4b8829056 --- /dev/null +++ b/deploy/charts/README.md @@ -0,0 +1,3 @@ +# Sync changes to emqx-enterprise + +When making changes in charts, please update `emqx` charts and run `./sync-enterprise.sh`. diff --git a/deploy/charts/sync-enterprise.sh b/deploy/charts/sync-enterprise.sh new file mode 100755 index 000000000..587871c0d --- /dev/null +++ b/deploy/charts/sync-enterprise.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -euo pipefail + +sed 's|emqx/emqx|emqx/emqx-enterprise|' < emqx/values.yaml > emqx-enterprise/values.yaml +cp emqx/templates/* emqx-enterprise/templates