diff --git a/charts/centrifugo/Chart.yaml b/charts/centrifugo/Chart.yaml index f55650b..4820fe9 100644 --- a/charts/centrifugo/Chart.yaml +++ b/charts/centrifugo/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: centrifugo description: Centrifugo is a scalable real-time messaging server in language-agnostic way -version: 11.8.8 +version: 11.8.9 appVersion: 5.4.8 home: https://centrifugal.dev icon: https://centrifugal.dev/img/favicon.png diff --git a/charts/centrifugo/templates/secret.yaml b/charts/centrifugo/templates/secret.yaml index 3c17b96..7cdbcae 100644 --- a/charts/centrifugo/templates/secret.yaml +++ b/charts/centrifugo/templates/secret.yaml @@ -17,6 +17,7 @@ data: {{- if .Values.secrets.grpcApiKey }} grpcApiKey: {{ .Values.secrets.grpcApiKey | b64enc | quote }} {{- end }} + {{- if .Values.config.admin }} {{- if .Values.secrets.adminPassword }} adminPassword: {{ .Values.secrets.adminPassword | b64enc | quote }} {{- else }} @@ -27,6 +28,7 @@ data: {{- else }} adminSecret: {{ randAlphaNum 24 | b64enc | quote }} {{- end }} + {{- end }} {{- if .Values.secrets.redisAddress }} redisAddress: {{ .Values.secrets.redisAddress | b64enc | quote }} {{- end }}