X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-ping-test-head%2Fhelm%2Fotf-ping-test-head%2Ftemplates%2Fdeployment.yaml;fp=otf-ping-test-head%2Fhelm%2Fotf-ping-test-head%2Ftemplates%2Fdeployment.yaml;h=0a0455cc772cea9ba44b8562a6f5a1efdf2ab87b;hp=b6cc154c625b0b7410c10457b286b84a235f2b83;hb=8ef0d4aed95ebd3b992d48fe89f0ce80b6a0b0c6;hpb=f035d8413fbe22f0a2157e11946e794c99fe5159 diff --git a/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml b/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml index b6cc154..0a0455c 100644 --- a/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml +++ b/otf-ping-test-head/helm/otf-ping-test-head/templates/deployment.yaml @@ -26,6 +26,10 @@ spec: app: {{ .Values.appName}} version: {{.Values.version}} spec: + {{ if .Values.pullSecret }} + imagePullSecrets: + - name: {{ .Values.pullSecret }} + {{ end }} serviceAccount: default volumes: - name: {{ .Values.appName}}-cert-volume @@ -40,12 +44,12 @@ spec: {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}} {{else}} - name: logging-pvc - persistentVolumeClaim: - {{if eq .Values.env "prod"}} - claimName: {{ .Values.pvc.prod | quote }} - {{ else }} - claimName: {{ .Values.pvc.dev | quote }} - {{ end }} + #persistentVolumeClaim: + # {{if eq .Values.env "prod"}} + # claimName: {{ .Values.pvc.prod | quote }} + # {{ else }} + # claimName: {{ .Values.pvc.dev | quote }} + # {{ end }} {{end}} containers: - name: {{ .Values.appName}} @@ -54,7 +58,7 @@ spec: ports: - name: http containerPort: 5000 - nodePort: {{.Values.nodePort}} + #nodePort: {{.Values.nodePort}} protocol: TCP {{ if eq .Values.env "st"}} resources: @@ -92,7 +96,7 @@ spec: httpGet: path: {{.Values.health}} port: http - scheme: HTTPS + scheme: HTTP httpHeaders: - name: X-Custom-Header value: Alive @@ -103,7 +107,7 @@ spec: httpGet: path: {{.Values.health}} port: http - scheme: HTTPS + scheme: HTTP httpHeaders: - name: X-Custom-Header value: Ready