From b6f688d07e4aafa55cc79d35dd4ca370029ce774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anatol=20Karalko=C5=AD?= Date: Wed, 8 May 2024 13:23:03 +0200 Subject: [PATCH] Use shorter name for keycloak postgres config --- charts/brokencrystals/Chart.yaml | 2 +- .../brokencrystals/templates/config-keycloak-postgres.yaml | 2 +- charts/brokencrystals/templates/deployment.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/brokencrystals/Chart.yaml b/charts/brokencrystals/Chart.yaml index a96388f0..fe49ffad 100644 --- a/charts/brokencrystals/Chart.yaml +++ b/charts/brokencrystals/Chart.yaml @@ -4,7 +4,7 @@ description: | Benchmark application that uses modern technologies and implements a set of common security vulnerabilities type: application -version: 0.0.70 +version: 0.0.71 keywords: - brokencrystals - brkn diff --git a/charts/brokencrystals/templates/config-keycloak-postgres.yaml b/charts/brokencrystals/templates/config-keycloak-postgres.yaml index b0323d1a..7fed4e38 100644 --- a/charts/brokencrystals/templates/config-keycloak-postgres.yaml +++ b/charts/brokencrystals/templates/config-keycloak-postgres.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres + name: {{ include "brokencrystals.fullname" . }}-kc-db namespace: {{ .Release.Namespace }} data: postgresql.conf.sample: | diff --git a/charts/brokencrystals/templates/deployment.yaml b/charts/brokencrystals/templates/deployment.yaml index cc8fecec..1157d415 100644 --- a/charts/brokencrystals/templates/deployment.yaml +++ b/charts/brokencrystals/templates/deployment.yaml @@ -73,7 +73,7 @@ spec: cpu: 100m memory: 50Mi volumeMounts: - - name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres + - name: {{ include "brokencrystals.fullname" . }}-kc-db mountPath: /usr/local/share/postgresql/postgresql.conf.sample subPath: postgresql.conf.sample readOnly: true @@ -235,9 +235,9 @@ spec: - name: {{ include "brokencrystals.fullname" . }}-postgres configMap: name: {{ include "brokencrystals.fullname" . }}-postgres - - name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres + - name: {{ include "brokencrystals.fullname" . }}-kc-db configMap: - name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres + name: {{ include "brokencrystals.fullname" . }}-kc-db - name: {{ include "brokencrystals.fullname" . }}-keycloak configMap: name: {{ include "brokencrystals.fullname" . }}-keycloak