From cb03ac723eb2f107f3264038cfc99e5a73b525ff Mon Sep 17 00:00:00 2001 From: farida azmy Date: Sun, 12 Sep 2021 16:14:12 +0200 Subject: [DCAEGEN2-SERVICES] Update chart with service account Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2828 Signed-off-by: farida azmy Change-Id: I9093839265e0d70dd68d7fdded0704942b4d6f71 --- .../components/dcae-snmptrap-collector/requirements.yaml | 5 ++++- .../components/dcae-snmptrap-collector/values.yaml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'kubernetes/dcaegen2-services/components/dcae-snmptrap-collector') diff --git a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/requirements.yaml b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/requirements.yaml index c6804b76b4..e267e8931a 100644 --- a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/requirements.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/requirements.yaml @@ -27,4 +27,7 @@ dependencies: repository: '@local' - name: dcaegen2-services-common version: ~8.x-0 - repository: '@local' \ No newline at end of file + repository: '@local' + - name: serviceAccount + version: ~8.x-0 + repository: '@local' diff --git a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml index 60295b972a..266da24f7a 100644 --- a/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml @@ -145,3 +145,9 @@ resources: cpu: 2 memory: 2Gi unlimited: {} + +#Pods Service Account +serviceAccount: + nameOverride: dcae-snmptrap-collector + roles: + - read -- cgit 1.2.3-korg