dcaegen2 bootstrap container in K8s
[oom.git] / kubernetes / aai / templates / gremlin-deployment.yaml
index aea89ad..75b3e92 100644 (file)
@@ -33,8 +33,8 @@ spec:
                       }
                   }
               ],
-              "image": "oomk8s/readiness-check:1.0.0",
-              "imagePullPolicy": "Always",
+              "image": "{{ .Values.image.readiness }}",
+              "imagePullPolicy": "{{ .Values.pullPolicy }}",
               "name": "gremlin-readiness"
           }
           ]'
@@ -50,7 +50,7 @@ spec:
         - name: SERVER_TABLE
           value: aaigraph.dev
         - name: GREMLIN_HOST
-          value: "gremlin.{{ .Values.nsPrefix }}-aai"
+          value: "gremlin"
         ports:
         - containerPort: 8182
         readinessProbe:
@@ -58,5 +58,13 @@ spec:
             port: 8182
           initialDelaySeconds: 5
           periodSeconds: 10
+        volumeMounts:
+        - name: localtime
+          mountPath: /etc/localtime
+          readOnly: true
+      volumes:
+      - name: localtime
+        hostPath:
+          path: /etc/localtime
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"