summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-25 11:51:18 +0100
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-29 10:23:09 +0000
commit6c6269db506ac65b909a74976a7711739500d0b0 (patch)
treeebd5657b7dcd2b1f00534caf18d29d67eea69bf8
parent0e55ea53b1886df5847f4838fb840b668b4acb1f (diff)
[ROBOT] Adopt robot test cases to helm based deployment
Adopt robot cases to helm based deployment Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: I20594ae0734f3b5a3222fe38c625a4f40c31ff29
-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