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-modelloader | |
parent | ab9dfa0f27ed3c115f1e628b8de380d11275b40b (diff) | |
parent | d893733af9926552824f8195a57f56998d2f8a2d (diff) |
Merge "[AAI] Update chart with service account"
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader')
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/requirements.yaml b/kubernetes/aai/components/aai-modelloader/requirements.yaml index cf22720435..3d0f24cb29 100644 --- a/kubernetes/aai/components/aai-modelloader/requirements.yaml +++ b/kubernetes/aai/components/aai-modelloader/requirements.yaml @@ -24,3 +24,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-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml index 0d24bfe957..7509f88090 100644 --- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml @@ -87,6 +87,7 @@ spec: name: aai-filebeat resources: {{ include "common.resources" . }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: localtime hostPath: diff --git a/kubernetes/aai/components/aai-modelloader/values.yaml b/kubernetes/aai/components/aai-modelloader/values.yaml index b235ba171c..5da0e5736f 100644 --- a/kubernetes/aai/components/aai-modelloader/values.yaml +++ b/kubernetes/aai/components/aai-modelloader/values.yaml @@ -84,3 +84,9 @@ resources: cpu: 1 memory: 1536Mi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: aai-modelloader + roles: + - read |