diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-07-27 13:34:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-27 13:34:39 +0000 |
commit | 09b5f3e46f293fb31e8a9cd27cbbd27564b7dcbc (patch) | |
tree | dfccae992a3d3014c562590a8edad3388f43c9e6 /kubernetes/dmaap/components/dmaap-bc | |
parent | 444816e596227ef1215d1b2dbdf19330a210f936 (diff) | |
parent | 13388baca0e98f0f870ba77f40e2e2a944cf08d0 (diff) |
Merge "[DMAAP] Update chart with service account"
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-bc')
-rw-r--r-- | kubernetes/dmaap/components/dmaap-bc/requirements.yaml | 3 | ||||
-rw-r--r-- | kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/dmaap/components/dmaap-bc/values.yaml | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/dmaap-bc/requirements.yaml b/kubernetes/dmaap/components/dmaap-bc/requirements.yaml index 95f841632c..7c26bb83b1 100644 --- a/kubernetes/dmaap/components/dmaap-bc/requirements.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/requirements.yaml @@ -26,3 +26,6 @@ dependencies: - name: repositoryGenerator version: ~8.x-0 repository: '@local' + - name: serviceAccount + version: ~8.x-0 + repository: '@local' diff --git a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml index eaad403dc8..a0b6fdad8d 100644 --- a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml @@ -114,6 +114,7 @@ spec: {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }} - name: localtime hostPath: diff --git a/kubernetes/dmaap/components/dmaap-bc/values.yaml b/kubernetes/dmaap/components/dmaap-bc/values.yaml index 65242b4a4f..a3d42d2130 100644 --- a/kubernetes/dmaap/components/dmaap-bc/values.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/values.yaml @@ -163,3 +163,9 @@ resources: cpu: 2 memory: 2Gi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: dmaap-bc + roles: + - read |