diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-07-22 09:35:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-22 09:35:50 +0000 |
commit | f4b8ca07e7137c93721084c550d2e4a8c6121acb (patch) | |
tree | 6e2f12df7682b658555d2bdac474eff7e247e229 /kubernetes/aai/components/aai-traversal | |
parent | ab9dfa0f27ed3c115f1e628b8de380d11275b40b (diff) | |
parent | d893733af9926552824f8195a57f56998d2f8a2d (diff) |
Merge "[AAI] Update chart with service account"
Diffstat (limited to 'kubernetes/aai/components/aai-traversal')
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-traversal/requirements.yaml b/kubernetes/aai/components/aai-traversal/requirements.yaml index f9ba1c1fb7..1552d53276 100644 --- a/kubernetes/aai/components/aai-traversal/requirements.yaml +++ b/kubernetes/aai/components/aai-traversal/requirements.yaml @@ -27,3 +27,6 @@ dependencies: - name: repositoryGenerator version: ~8.x-0 repository: '@local' + - name: serviceAccount + version: ~8.x-0 + repository: '@local' diff --git a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml b/kubernetes/aai/components/aai-traversal/templates/deployment.yaml index dc1c010261..037f811f44 100644 --- a/kubernetes/aai/components/aai-traversal/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-traversal/templates/deployment.yaml @@ -233,6 +233,7 @@ spec: name: {{ include "common.fullname" . }}-filebeat resources: {{ include "common.resources" . }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }} - name: localtime hostPath: diff --git a/kubernetes/aai/components/aai-traversal/values.yaml b/kubernetes/aai/components/aai-traversal/values.yaml index ad4279a543..297de15308 100644 --- a/kubernetes/aai/components/aai-traversal/values.yaml +++ b/kubernetes/aai/components/aai-traversal/values.yaml @@ -267,3 +267,9 @@ resources: cpu: 2 memory: 4Gi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: aai-traversal + roles: + - read |