[HOLMES] Update chart with service account 60/124660/2
authorfarida azmy <farida.azmy.ext@orange.com>
Sun, 3 Oct 2021 11:22:55 +0000 (13:22 +0200)
committerfarida azmy <farida.azmy.ext@orange.com>
Tue, 5 Oct 2021 15:17:11 +0000 (17:17 +0200)
Add service account to requirements, values and deployment/statefulset

Issue-ID: OOM-2849
Signed-off-by: farida azmy <farida.azmy.ext@orange.com>
Change-Id: I9b92b925576c3f85d5dbd0a02a6c454eddd9961d

kubernetes/holmes/components/holmes-engine-mgmt/requirements.yaml
kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml
kubernetes/holmes/components/holmes-engine-mgmt/values.yaml
kubernetes/holmes/components/holmes-rule-mgmt/requirements.yaml
kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml
kubernetes/holmes/components/holmes-rule-mgmt/values.yaml

index 9366bd1..ab839d0 100644 (file)
@@ -22,3 +22,6 @@ dependencies:
   - name: certInitializer
     version: ~8.x-0
     repository: '@local'
+  - name: serviceAccount
+    version: ~8.x-0
+    repository: '@local'
index fae06da..45c268c 100644 (file)
@@ -115,6 +115,7 @@ spec:
           value: {{ .Values.config.pgConfig.dbHost }}
         - name: DB_PORT
           value: "{{ .Values.config.pgConfig.dbPort }}"
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
       - name: {{ include "common.fullname" . }}-config
         configMap:
index bbdc3e0..1bdf35d 100644 (file)
@@ -128,3 +128,9 @@ resources:
       cpu: 250m
       memory: 1Gi
   unlimited: {}
+
+#Pods Service Account
+serviceAccount:
+  nameOverride: holmes-engine-mgmt
+  roles:
+    - read
index 9366bd1..ab839d0 100644 (file)
@@ -22,3 +22,6 @@ dependencies:
   - name: certInitializer
     version: ~8.x-0
     repository: '@local'
+  - name: serviceAccount
+    version: ~8.x-0
+    repository: '@local'
index e03c6cb..d757b75 100644 (file)
@@ -114,6 +114,7 @@ spec:
           value: {{ .Values.config.pgConfig.dbHost }}
         - name: DB_PORT
           value: "{{ .Values.config.pgConfig.dbPort }}"
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:  {{ include "common.certInitializer.volumes" . | nindent 6 }}
       - name: {{ include "common.fullname" . }}-config
         configMap:
index 4f4849a..6261b4e 100644 (file)
@@ -132,3 +132,9 @@ resources:
       cpu: 500m
       memory: 2Gi
   unlimited: {}
+
+#Pods Service Account
+serviceAccount:
+  nameOverride: holmes-rule-mgmt
+  roles:
+    - read