From cc8e9d95e34d19105b86de4c830421962cbde53d Mon Sep 17 00:00:00 2001 From: Dmitry Chistyakov Date: Thu, 22 Jun 2023 15:39:06 +0300 Subject: [PATCH] Add configmap to starters --- starters/touchin-docs/templates/configmap.yaml | 7 +++++++ starters/touchin-docs/values.yaml | 4 ++++ starters/touchin-mock/templates/configmap.yaml | 7 +++++++ starters/touchin-mock/values.yaml | 4 ++++ starters/touchin-server/templates/configmap.yaml | 7 +++++++ starters/touchin-server/values.yaml | 4 ++++ starters/touchin-web/templates/configmap.yaml | 7 +++++++ starters/touchin-web/values.yaml | 4 ++++ 8 files changed, 44 insertions(+) create mode 100644 starters/touchin-docs/templates/configmap.yaml create mode 100644 starters/touchin-mock/templates/configmap.yaml create mode 100644 starters/touchin-server/templates/configmap.yaml create mode 100644 starters/touchin-web/templates/configmap.yaml diff --git a/starters/touchin-docs/templates/configmap.yaml b/starters/touchin-docs/templates/configmap.yaml new file mode 100644 index 0000000..64c320d --- /dev/null +++ b/starters/touchin-docs/templates/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: git-{{ include ".fullname" . }} +data: + branch: {{ .Values.git.branch }} + url: {{ .Values.git.url }} diff --git a/starters/touchin-docs/values.yaml b/starters/touchin-docs/values.yaml index 2c138d6..548f0e1 100644 --- a/starters/touchin-docs/values.yaml +++ b/starters/touchin-docs/values.yaml @@ -10,6 +10,10 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +git: + branch: "" + url: "" + imagePullSecrets: - name: touchin-registry nameOverride: "" diff --git a/starters/touchin-mock/templates/configmap.yaml b/starters/touchin-mock/templates/configmap.yaml new file mode 100644 index 0000000..64c320d --- /dev/null +++ b/starters/touchin-mock/templates/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: git-{{ include ".fullname" . }} +data: + branch: {{ .Values.git.branch }} + url: {{ .Values.git.url }} diff --git a/starters/touchin-mock/values.yaml b/starters/touchin-mock/values.yaml index dc0f6e4..2de23ba 100644 --- a/starters/touchin-mock/values.yaml +++ b/starters/touchin-mock/values.yaml @@ -10,6 +10,10 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +git: + branch: "" + url: "" + imagePullSecrets: - name: touchin-registry nameOverride: "" diff --git a/starters/touchin-server/templates/configmap.yaml b/starters/touchin-server/templates/configmap.yaml new file mode 100644 index 0000000..64c320d --- /dev/null +++ b/starters/touchin-server/templates/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: git-{{ include ".fullname" . }} +data: + branch: {{ .Values.git.branch }} + url: {{ .Values.git.url }} diff --git a/starters/touchin-server/values.yaml b/starters/touchin-server/values.yaml index a0eb52a..f7afae7 100644 --- a/starters/touchin-server/values.yaml +++ b/starters/touchin-server/values.yaml @@ -10,6 +10,10 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +git: + branch: "" + url: "" + imagePullSecrets: - name: touchin-registry nameOverride: "" diff --git a/starters/touchin-web/templates/configmap.yaml b/starters/touchin-web/templates/configmap.yaml new file mode 100644 index 0000000..64c320d --- /dev/null +++ b/starters/touchin-web/templates/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: git-{{ include ".fullname" . }} +data: + branch: {{ .Values.git.branch }} + url: {{ .Values.git.url }} diff --git a/starters/touchin-web/values.yaml b/starters/touchin-web/values.yaml index 509b904..f530a51 100644 --- a/starters/touchin-web/values.yaml +++ b/starters/touchin-web/values.yaml @@ -10,6 +10,10 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" +git: + branch: "" + url: "" + imagePullSecrets: - name: touchin-registry nameOverride: "" -- 2.40.1