updated docker/helm files for svc,ping,robot,ssh, and o1
[it/otf.git] / otf-ping-test-head / helm / otf-ping-test-head / templates / deployment.yaml
index b6cc154..0a0455c 100644 (file)
@@ -26,6 +26,10 @@ spec:
         app: {{ .Values.appName}}\r
         version: {{.Values.version}}\r
     spec:\r
+      {{ if .Values.pullSecret }}\r
+      imagePullSecrets:\r
+        - name: {{ .Values.pullSecret }}\r
+      {{ end }}\r
       serviceAccount: default\r
       volumes:\r
       - name: {{ .Values.appName}}-cert-volume\r
@@ -40,12 +44,12 @@ spec:
       {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}\r
       {{else}}\r
       - name: logging-pvc\r
-        persistentVolumeClaim:\r
-          {{if eq .Values.env "prod"}}\r
-          claimName: {{ .Values.pvc.prod | quote }}\r
-          {{ else }}\r
-          claimName: {{ .Values.pvc.dev | quote }}\r
-          {{ end }}\r
+        #persistentVolumeClaim:\r
+        #  {{if eq .Values.env "prod"}}\r
+        #  claimName: {{ .Values.pvc.prod | quote }}\r
+        #  {{ else }}\r
+        #  claimName: {{ .Values.pvc.dev | quote }}\r
+        #  {{ end }}\r
       {{end}}\r
       containers:\r
       - name: {{ .Values.appName}}\r
@@ -54,7 +58,7 @@ spec:
         ports:\r
         - name: http\r
           containerPort: 5000\r
-          nodePort: {{.Values.nodePort}}\r
+          #nodePort: {{.Values.nodePort}}\r
           protocol: TCP\r
         {{ if eq .Values.env "st"}}\r
         resources:\r
@@ -92,7 +96,7 @@ spec:
           httpGet:\r
             path: {{.Values.health}}\r
             port: http\r
-            scheme: HTTPS\r
+            scheme: HTTP\r
             httpHeaders:\r
               - name: X-Custom-Header\r
                 value: Alive\r
@@ -103,7 +107,7 @@ spec:
           httpGet:\r
             path: {{.Values.health}}\r
             port: http\r
-            scheme: HTTPS\r
+            scheme: HTTP\r
             httpHeaders:\r
               - name: X-Custom-Header\r
                 value: Ready\r