File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.1.8
18+ version : 0.1.9
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 11# fx-syncstorage
22
3- ![ Version: 0.1.8 ] ( https://img.shields.io/badge/Version-0.1.8 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: syncstorage-rs-mysql-0.18.2] ( https://img.shields.io/badge/AppVersion-syncstorage--rs--mysql--0.18.2-informational?style=flat-square )
3+ ![ Version: 0.1.9 ] ( https://img.shields.io/badge/Version-0.1.9 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: syncstorage-rs-mysql-0.18.2] ( https://img.shields.io/badge/AppVersion-syncstorage--rs--mysql--0.18.2-informational?style=flat-square )
44
55Helm chart for Mozilla's Rust based Sync server for Firefox data synchronization.
66
Original file line number Diff line number Diff line change 11{{- if (include "fx-syncstorage.autogenerateSyncDb" .) }}
2+ {{- $secret := (lookup "v1" "Secret" .Release.Namespace .Values.syncserverdb.auth.existingSecret) -}}
23apiVersion : v1
34kind : Secret
45metadata :
@@ -10,6 +11,14 @@ metadata:
1011 helm.sh/resource-policy : keep
1112 {{- end }}
1213data :
13- mysql-root-password : {{ randAlphaNum 20 | b64enc | quote }}
14- mysql-password : {{ randAlphaNum 20 | b64enc | quote }}
15- {{- end }}
14+ mysql-root-password : {{- if $secret }}
15+ {{ index $secret.data "mysql-root-password" }}
16+ {{- else }}
17+ {{ randAlphaNum 20 | b64enc | quote }}
18+ {{- end }}
19+ mysql-password : {{- if $secret }}
20+ {{ index $secret.data "mysql-password" }}
21+ {{- else }}
22+ {{ randAlphaNum 20 | b64enc | quote }}
23+ {{- end }}
24+ {{- end }}
You can’t perform that action at this time.
0 commit comments