Просмотр исходного кода

chore(charts): add readme and a script to sync changes

Ivan Dyachkov 2 лет назад
Родитель
Сommit
beb5a238e7
2 измененных файлов с 9 добавлено и 0 удалено
  1. 3 0
      deploy/charts/README.md
  2. 6 0
      deploy/charts/sync-enterprise.sh

+ 3 - 0
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`.

+ 6 - 0
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