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-dr-node | |
parent | 444816e596227ef1215d1b2dbdf19330a210f936 (diff) | |
parent | 13388baca0e98f0f870ba77f40e2e2a944cf08d0 (diff) |
Merge "[DMAAP] Update chart with service account"
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-dr-node')
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/dmaap/components/dmaap-dr-node/requirements.yaml b/kubernetes/dmaap/components/dmaap-dr-node/requirements.yaml index d96058de91..97ba957f4f 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/requirements.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/requirements.yaml @@ -25,3 +25,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-dr-node/templates/statefulset.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml index 40a4d7db93..dfb435ce04 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/statefulset.yaml @@ -102,6 +102,7 @@ spec: mountPath: /var/log/onap/datarouter-node imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{ include "common.aaf-config-volumes" . | nindent 8 }} - name: localtime hostPath: diff --git a/kubernetes/dmaap/components/dmaap-dr-node/values.yaml b/kubernetes/dmaap/components/dmaap-dr-node/values.yaml index 1d55a13bd9..ee231a0c06 100644 --- a/kubernetes/dmaap/components/dmaap-dr-node/values.yaml +++ b/kubernetes/dmaap/components/dmaap-dr-node/values.yaml @@ -154,3 +154,9 @@ config: # dr uses the EELF Logging framework https://github.com/att/EELF # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF logLevel: "INFO" + +#Pods Service Account +serviceAccount: + nameOverride: dmaap-dr-node + roles: + - read |