From 85d9e0a1e2607faa1ab515b9f130449a731e8635 Mon Sep 17 00:00:00 2001 From: "Randal S. Harisch" Date: Sun, 29 Dec 2024 17:03:31 -0700 Subject: [PATCH] chore: Added ca-trust injection --- notification/Chart.yaml | 2 +- notification/templates/deployment.yaml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/notification/Chart.yaml b/notification/Chart.yaml index 7dcded2..613e318 100644 --- a/notification/Chart.yaml +++ b/notification/Chart.yaml @@ -13,7 +13,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.24 +version: 0.1.25 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/notification/templates/deployment.yaml b/notification/templates/deployment.yaml index fb343c2..498747e 100644 --- a/notification/templates/deployment.yaml +++ b/notification/templates/deployment.yaml @@ -27,10 +27,21 @@ spec: image: "{{ .Values.image.repository }}:{{ trim .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: "{{ .Values.image.PullPolicy }}" name: notification + volumeMounts: + - name: trusted-ca + mountPath: /etc/pki/ca-trust/extracted/pem + readOnly: true terminationMessagePath: /dev/termination-log terminationMessagePolicy: File imagePullSecrets: - name: {{ .Values.image.pullSecret }} + volumes: + - name: trusted-ca + configMap: + name: config-trusted-cabundle + items: + - key: ca-bundle.crt + path: tls-ca-bundle.pem dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler