Loading helm/scripts/install_capif.sh +1 −1 Original line number Diff line number Diff line Loading @@ -136,4 +136,4 @@ helm $KUBECONFIG upgrade --install -n $CAPIF_NAMESPACE $CAPIF_NAME_VERSION_CHART --set mongo-express.ingress.hosts[0].host="mongo-express-$CAPIF_CI_ENV_ENDPOINT.$CAPIF_DOMAIN" \ --set mongo-express.ingress.hosts[0].paths[0].path="/" \ --set mongo-express.ingress.hosts[0].paths[0].pathType="Prefix" \ --wait --timeout=10m --create-namespace --atomic $CAPIF_RESOURCES $CAPIF_STORAGE_ACCESS_MODE --wait --timeout=10m --create-namespace --atomic $CAPIF_RESOURCES $CAPIF_STORAGE_ACCESS_MODE $CAPIF_RUN_AS_USER_CONFIG helm/scripts/variables.sh +8 −0 Original line number Diff line number Diff line Loading @@ -158,3 +158,11 @@ if [ -n "$CAPIF_STORAGE_ACCESS_MODE" ]; then --set grafana.persistence.accessModes[0]=$CAPIF_STORAGE_ACCESS_MODE " fi export CAPIF_RUN_AS_USER_CONFIG="" if [ "$CAPIF_STORAGE_CLASS" == "longhorn" ]; then echo "$CAPIF_STORAGE_CLASS needs to configure runAsUser at mongo, mongo-register and grafana to 0, in order to allow write con PVC created." CAPIF_RUN_AS_USER_CONFIG="--set mongo.securityContext.runAsUser=0 --set mongo-register.securityContext.runAsUser=0 --set grafana.securityContext.runAsUser=0" fi No newline at end of file Loading
helm/scripts/install_capif.sh +1 −1 Original line number Diff line number Diff line Loading @@ -136,4 +136,4 @@ helm $KUBECONFIG upgrade --install -n $CAPIF_NAMESPACE $CAPIF_NAME_VERSION_CHART --set mongo-express.ingress.hosts[0].host="mongo-express-$CAPIF_CI_ENV_ENDPOINT.$CAPIF_DOMAIN" \ --set mongo-express.ingress.hosts[0].paths[0].path="/" \ --set mongo-express.ingress.hosts[0].paths[0].pathType="Prefix" \ --wait --timeout=10m --create-namespace --atomic $CAPIF_RESOURCES $CAPIF_STORAGE_ACCESS_MODE --wait --timeout=10m --create-namespace --atomic $CAPIF_RESOURCES $CAPIF_STORAGE_ACCESS_MODE $CAPIF_RUN_AS_USER_CONFIG
helm/scripts/variables.sh +8 −0 Original line number Diff line number Diff line Loading @@ -158,3 +158,11 @@ if [ -n "$CAPIF_STORAGE_ACCESS_MODE" ]; then --set grafana.persistence.accessModes[0]=$CAPIF_STORAGE_ACCESS_MODE " fi export CAPIF_RUN_AS_USER_CONFIG="" if [ "$CAPIF_STORAGE_CLASS" == "longhorn" ]; then echo "$CAPIF_STORAGE_CLASS needs to configure runAsUser at mongo, mongo-register and grafana to 0, in order to allow write con PVC created." CAPIF_RUN_AS_USER_CONFIG="--set mongo.securityContext.runAsUser=0 --set mongo-register.securityContext.runAsUser=0 --set grafana.securityContext.runAsUser=0" fi No newline at end of file