aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2022-04-07 14:20:36 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-07 14:20:36 +0000
commitd719ef17926ee176461304123f3948a3c9e95845 (patch)
treeb8c2fc4a6730ba5261df823a22ecc54946af7010 /kubernetes
parent80ecc51e71a0734fff065f4f823144755acd0a3b (diff)
parent6c6269db506ac65b909a74976a7711739500d0b0 (diff)
Merge "[ROBOT] Adopt robot test cases to helm based deployment"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/robot/Chart.yaml3
-rwxr-xr-xkubernetes/robot/demo-k8s.sh2
-rw-r--r--kubernetes/robot/values.yaml6
3 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/robot/Chart.yaml b/kubernetes/robot/Chart.yaml
index d28b5ae0ff..23610ddd3c 100644
--- a/kubernetes/robot/Chart.yaml
+++ b/kubernetes/robot/Chart.yaml
@@ -29,3 +29,6 @@ dependencies:
- name: repositoryGenerator
version: ~10.x-0
repository: '@local'
+ - name: serviceAccount
+ version: ~10.x-0
+ repository: '@local'
diff --git a/kubernetes/robot/demo-k8s.sh b/kubernetes/robot/demo-k8s.sh
index 3cbfb76646..3beef061ce 100755
--- a/kubernetes/robot/demo-k8s.sh
+++ b/kubernetes/robot/demo-k8s.sh
@@ -295,6 +295,8 @@ if [ $dcaeRegistrySynch ]; then
./registry-initialize.sh -h dcaegen2-services-common -n $NAMESPACE -r $HELM_RELEASE
./registry-initialize.sh -h postgres -n $NAMESPACE -r $HELM_RELEASE
./registry-initialize.sh -h serviceAccount -n $NAMESPACE -r $HELM_RELEASE
+ ./registry-initialize.sh -h mongo -n $NAMESPACE -r $HELM_RELEASE
+ ./registry-initialize.sh -h common -n $NAMESPACE -r $HELM_RELEASE
fi
cd $CURRENT_DIR
fi
diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml
index b057fc7304..7bba71fe0b 100644
--- a/kubernetes/robot/values.yaml
+++ b/kubernetes/robot/values.yaml
@@ -462,3 +462,9 @@ persistence:
size: 2Gi
mountPath: /dockerdata-nfs
mountSubPath: robot/logs
+
+#Pods Service Account
+serviceAccount:
+ nameOverride: robot
+ roles:
+ - read \ No newline at end of file