From 93abd69db16648e47d6047cb82616c2a89b98cc7 Mon Sep 17 00:00:00 2001 From: zhanghongtong Date: Tue, 4 Jan 2022 10:08:02 +0800 Subject: [PATCH] chore(helm): fix spell errors --- deploy/charts/emqx/templates/StatefulSet.yaml | 15 +++++++++++++-- deploy/charts/emqx/values.yaml | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/deploy/charts/emqx/templates/StatefulSet.yaml b/deploy/charts/emqx/templates/StatefulSet.yaml index 7ad870b6d..c6e225e3a 100644 --- a/deploy/charts/emqx/templates/StatefulSet.yaml +++ b/deploy/charts/emqx/templates/StatefulSet.yaml @@ -82,7 +82,12 @@ spec: claimName: {{ tpl . $ }} {{- end }} {{- end }} - {{- if .Values.emqxLicneseSecretName }} + {{- if .Values.emqxLicenseSecretName }} + - name: emqx-license + secret: + secretName: {{ .Values.emqxLicenseSecretName }} + ## Compatible with previous misspellings + {{- else if .Values.emqxLicneseSecretName }} - name: emqx-license secret: secretName: {{ .Values.emqxLicneseSecretName }} @@ -150,7 +155,13 @@ spec: - name: emqx-loaded-modules mountPath: "/opt/emqx/data/loaded_modules" subPath: "loaded_modules" - {{ if .Values.emqxLicneseSecretName }} + {{ if .Values.emqxLicenseSecretName }} + - name: emqx-license + mountPath: "/opt/emqx/etc/emqx.lic" + subPath: "emqx.lic" + readOnly: true + ## Compatible with previous misspellings + {{ else if .Values.emqxLicneseSecretName }} - name: emqx-license mountPath: "/opt/emqx/etc/emqx.lic" subPath: "emqx.lic" diff --git a/deploy/charts/emqx/values.yaml b/deploy/charts/emqx/values.yaml index 373ba0849..1b129cf75 100644 --- a/deploy/charts/emqx/values.yaml +++ b/deploy/charts/emqx/values.yaml @@ -114,10 +114,10 @@ emqxLoadedModules: > {emqx_mod_subscription, false}. {emqx_mod_topic_metrics, false}. -## EMQX Enterprise Edition requires manual creation of a Secret containing the licensed content. Write the name of Secret to the value of "emqxLicneseSecretName" +## EMQX Enterprise Edition requires manual creation of a Secret containing the licensed content. Write the name of Secret to the value of "emqxLicenseSecretName" ## Example: ## kubectl create secret generic emqx-license-secret-name --from-file=/path/to/emqx.lic -emqxLicneseSecretName: +emqxLicenseSecretName: service: ## Service type