[CONSUL] Make consul run as non-root
[oom.git] / kubernetes / consul / values.yaml
index 8f17dc6..54eee36 100644 (file)
@@ -20,15 +20,13 @@ global:
   readinessImage: onap/oom/readiness:3.0.1
   loggingRepository: docker.elastic.co
   loggingImage: beats/filebeat:5.5.0
-  busyboxRepository: registry.hub.docker.com
-  busyboxImage: library/busybox:latest
 
 #################################################################
 # Application configuration defaults.
 #################################################################
 # application image
-repository: docker.io
-image: oomk8s/consul:2.0.0
+repository: nexus3.onap.org:10001
+image: onap/oom/consul:2.1.0
 pullPolicy: Always
 
 #subchart name
@@ -108,3 +106,8 @@ sdnc:
   config:
     isPrimaryCluster: true
   replicaCount: 1
+
+securityContext:
+  fsGroup: 1000
+  runAsUser: 100
+  runAsGroup: 1000