From bc009b7c16812727c5c0d6006f2133f3e943189a Mon Sep 17 00:00:00 2001 From: andresanaya21 Date: Fri, 5 Jul 2024 12:31:00 +0200 Subject: [PATCH 1/4] extraConfigPod in ocf-register chart --- helm/capif/charts/ocf-register/templates/deployment.yaml | 1 + helm/capif/charts/ocf-register/values.yaml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/helm/capif/charts/ocf-register/templates/deployment.yaml b/helm/capif/charts/ocf-register/templates/deployment.yaml index 0009f19..42454cb 100644 --- a/helm/capif/charts/ocf-register/templates/deployment.yaml +++ b/helm/capif/charts/ocf-register/templates/deployment.yaml @@ -30,6 +30,7 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: + {{- toYaml .Values.extraConfigPod | nindent 8 }} - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} diff --git a/helm/capif/charts/ocf-register/values.yaml b/helm/capif/charts/ocf-register/values.yaml index ca8cfc3..873bf2b 100644 --- a/helm/capif/charts/ocf-register/values.yaml +++ b/helm/capif/charts/ocf-register/values.yaml @@ -34,6 +34,12 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" +extraConfigPod: {} +# hostAliases: +# - hostnames: +# - "www.example.com" +# ip: "10.0.2.4" + podAnnotations: {} podLabels: {} -- GitLab From ba15aa00f488f3e2e231343ba4ee4e0ab69bfc32 Mon Sep 17 00:00:00 2001 From: andresanaya21 Date: Fri, 5 Jul 2024 12:37:20 +0200 Subject: [PATCH 2/4] extraConfigPod --- helm/capif/charts/ocf-register/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/capif/charts/ocf-register/values.yaml b/helm/capif/charts/ocf-register/values.yaml index 873bf2b..ffa5d50 100644 --- a/helm/capif/charts/ocf-register/values.yaml +++ b/helm/capif/charts/ocf-register/values.yaml @@ -38,7 +38,7 @@ extraConfigPod: {} # hostAliases: # - hostnames: # - "www.example.com" -# ip: "10.0.2.4" +# ip: "1.2.3.4" podAnnotations: {} podLabels: {} -- GitLab From 267c0fb649ed72c8850b9dd4de74427b187b7ce1 Mon Sep 17 00:00:00 2001 From: andresanaya21 Date: Fri, 5 Jul 2024 14:42:21 +0200 Subject: [PATCH 3/4] extraConfigPod ocf-register --- helm/capif/charts/ocf-register/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/capif/charts/ocf-register/templates/deployment.yaml b/helm/capif/charts/ocf-register/templates/deployment.yaml index 42454cb..f463c91 100644 --- a/helm/capif/charts/ocf-register/templates/deployment.yaml +++ b/helm/capif/charts/ocf-register/templates/deployment.yaml @@ -30,7 +30,9 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - {{- toYaml .Values.extraConfigPod | nindent 8 }} + {{- with .Values.extraConfigPod }} + {{- toYaml . | nindent 8 }} + {{- end }} - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} -- GitLab From aece9e74ef56697e5742bd8cf74aea9cb1d445cc Mon Sep 17 00:00:00 2001 From: andresanaya21 Date: Fri, 5 Jul 2024 14:49:29 +0200 Subject: [PATCH 4/4] force --- helm/capif/charts/ocf-register/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/capif/charts/ocf-register/templates/deployment.yaml b/helm/capif/charts/ocf-register/templates/deployment.yaml index f463c91..3d249c5 100644 --- a/helm/capif/charts/ocf-register/templates/deployment.yaml +++ b/helm/capif/charts/ocf-register/templates/deployment.yaml @@ -76,4 +76,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} \ No newline at end of file -- GitLab