diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-10-28 18:21:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-28 18:21:08 +0000 |
commit | f1da553ff682eccf9c12344776f40d7185849b21 (patch) | |
tree | 287fff3c27a4c6995363c69a214377b2bfc2afdb | |
parent | 2ec512941460634a5f1c55d715c28be0d0d6a192 (diff) | |
parent | 37c9876d4a6920eca6c7bef5ba0827425cc63643 (diff) |
Merge "[NBI] Update chart with service account"
-rw-r--r-- | kubernetes/nbi/requirements.yaml | 3 | ||||
-rw-r--r-- | kubernetes/nbi/templates/deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/nbi/values.yaml | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/nbi/requirements.yaml b/kubernetes/nbi/requirements.yaml index f54b915d77..69d6f51433 100644 --- a/kubernetes/nbi/requirements.yaml +++ b/kubernetes/nbi/requirements.yaml @@ -37,3 +37,6 @@ dependencies: - name: repositoryGenerator version: ~9.x-0 repository: '@local' + - name: serviceAccount + version: ~9.x-0 + repository: '@local' diff --git a/kubernetes/nbi/templates/deployment.yaml b/kubernetes/nbi/templates/deployment.yaml index d5f209e94a..b9ed35b0f7 100644 --- a/kubernetes/nbi/templates/deployment.yaml +++ b/kubernetes/nbi/templates/deployment.yaml @@ -146,6 +146,7 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }} - name: localtime hostPath: diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index a3dc897718..92788e430f 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -181,3 +181,9 @@ resources: cpu: 200m memory: 2Gi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: nbi + roles: + - read |