summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/mariadb/templates/secrets.yaml
diff options
context:
space:
mode:
authorJulienBe <jb379x@att.com>2020-04-10 16:50:08 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-04 15:08:43 +0200
commit26df3202534721dc7ed6e3c2b9c4a973502cc7cd (patch)
treeefc43a6b4a46877c497b7ad9e4bc9ba62b12e2df /kubernetes/clamp/charts/mariadb/templates/secrets.yaml
parent006318ac37142eb823db4a2074ce6c8ad1629166 (diff)
remove hardcoded MariaDB password
This aligns with other changes on OOM. You can either supply a specific password or have it generated for you based on a master password Issue-ID: CLAMP-796, OJSI-188 Change-Id: If1b80fc47cf1033e094f8a106746d1e8c556c08b Signed-off-by: JulienBe <jb379x@att.com> Co-authored-by: sebdet <sebastien.determe@intl.att.com> [small updates in common secret template usage] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/templates/secrets.yaml')
-rw-r--r--kubernetes/clamp/charts/mariadb/templates/secrets.yaml14
1 files changed, 1 insertions, 13 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/secrets.yaml b/kubernetes/clamp/charts/mariadb/templates/secrets.yaml
index 8f3a21752d..57f88ce32d 100644
--- a/kubernetes/clamp/charts/mariadb/templates/secrets.yaml
+++ b/kubernetes/clamp/charts/mariadb/templates/secrets.yaml
@@ -13,16 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ include "common.fullname" . }}
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-type: Opaque
-data:
- db-root-password: {{ .Values.config.mysqlPassword | b64enc | quote }}
+{{ include "common.secretFast" . }}