diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-10-06 17:18:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-06 17:18:54 +0000 |
commit | f09d817b0f58f89e9db06875e78404e7d978504e (patch) | |
tree | 6cb51adc832e056ac647cb898b5b5b84d8328cab /kubernetes/contrib/components/ejbca | |
parent | 24a9d489fc776daaf3e1c37c66a3339cd9ba60bd (diff) | |
parent | e273f78d8b8b5eb418535e2c837fe908faa95f2d (diff) |
Merge "[CONTRIB] Update chart with service account"
Diffstat (limited to 'kubernetes/contrib/components/ejbca')
-rw-r--r-- | kubernetes/contrib/components/ejbca/requirements.yaml | 3 | ||||
-rw-r--r-- | kubernetes/contrib/components/ejbca/templates/deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/contrib/components/ejbca/values.yaml | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/ejbca/requirements.yaml b/kubernetes/contrib/components/ejbca/requirements.yaml index 8762d969f9..284108c256 100644 --- a/kubernetes/contrib/components/ejbca/requirements.yaml +++ b/kubernetes/contrib/components/ejbca/requirements.yaml @@ -29,3 +29,6 @@ dependencies: - name: cmpv2Config version: ~8.x-0 repository: '@local' + - name: serviceAccount + version: ~8.x-0 + repository: '@local' diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml index fc163ee2e2..6bd5b259ea 100644 --- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml +++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml @@ -94,6 +94,7 @@ spec: affinity: {{ toYaml .Values.affinity | nindent 10 }} {{- end }} resources: {{ include "common.resources" . | nindent 10 }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - configMap: name: "{{ include "common.fullname" . }}-config-script" diff --git a/kubernetes/contrib/components/ejbca/values.yaml b/kubernetes/contrib/components/ejbca/values.yaml index 57d1e7848e..52e0e750a0 100644 --- a/kubernetes/contrib/components/ejbca/values.yaml +++ b/kubernetes/contrib/components/ejbca/values.yaml @@ -124,3 +124,9 @@ resources: cpu: 20m memory: 1Gi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: ejbca + roles: + - read |