summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/components/dcae-snmptrap-collector
diff options
context:
space:
mode:
authorfarida azmy <farida.azmy.ext@orange.com>2021-09-12 16:14:12 +0200
committerfarida azmy <farida.azmy.ext@orange.com>2021-09-26 14:59:55 +0200
commitcb03ac723eb2f107f3264038cfc99e5a73b525ff (patch)
tree5bf037856c162f6dff4d84aa4b03db6133ee0c11 /kubernetes/dcaegen2-services/components/dcae-snmptrap-collector
parentd362d9f64521d4585f779ff450f547da1ac00adb (diff)
[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 <farida.azmy.ext@orange.com> Change-Id: I9093839265e0d70dd68d7fdded0704942b4d6f71
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-snmptrap-collector')
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/requirements.yaml5
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-snmptrap-collector/values.yaml6
2 files changed, 10 insertions, 1 deletions
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