diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-10-11 14:20:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-11 14:20:37 +0000 |
commit | fb34105beb50d9212c51e9fb75d144b271346f1c (patch) | |
tree | 1a360861d4f03f85cd0e07b67a13ba7d8ea9ba98 /kubernetes/dcaegen2/components/dcae-ves-openapi-manager | |
parent | 193fd76e03c8edca83d1a548636c78d1c7d7a689 (diff) | |
parent | 37481801565c24fd5651a812adac5387f8e50e2f (diff) |
Merge "[DCAEGEN2] Update chart with service account"
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-ves-openapi-manager')
3 files changed, 11 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/requirements.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/requirements.yaml index 16f38f80a8..9a3009ddec 100644 --- a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/requirements.yaml +++ b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/requirements.yaml @@ -24,3 +24,6 @@ dependencies: - name: readinessCheck version: ~8.x-0 repository: '@local' + - name: serviceAccount + version: ~8.x-0 + repository: '@local' diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml index f2826a77a0..1c6e3593ac 100644 --- a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml +++ b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/templates/deployment.yaml @@ -52,6 +52,7 @@ spec: volumeMounts: - name: schema-map mountPath: {{ .Values.schemaMap.directory }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: schema-map configMap: diff --git a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml index 2209feb729..873579ee97 100644 --- a/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml +++ b/kubernetes/dcaegen2/components/dcae-ves-openapi-manager/values.yaml @@ -64,4 +64,10 @@ resources: requests: cpu: 1 memory: 1Gi - unlimited: {}
\ No newline at end of file + unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: dcae-ves-openapi-manager + roles: + - read |