X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-ssh-test-head%2Fhelm%2Fotf-ssh-test-head%2Ftemplates%2Fdeployment.yaml;fp=otf-ssh-test-head%2Fhelm%2Fotf-ssh-test-head%2Ftemplates%2Fdeployment.yaml;h=0fae85384b75b3ae191ea9dd751cf2dab6218c08;hp=369c4f1ae966b4579b4e325c12a131f23750f72b;hb=8ef0d4aed95ebd3b992d48fe89f0ce80b6a0b0c6;hpb=f035d8413fbe22f0a2157e11946e794c99fe5159 diff --git a/otf-ssh-test-head/helm/otf-ssh-test-head/templates/deployment.yaml b/otf-ssh-test-head/helm/otf-ssh-test-head/templates/deployment.yaml index 369c4f1..0fae853 100644 --- a/otf-ssh-test-head/helm/otf-ssh-test-head/templates/deployment.yaml +++ b/otf-ssh-test-head/helm/otf-ssh-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 @@ -47,12 +51,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}} @@ -61,7 +65,7 @@ spec: ports: - name: http containerPort: 5000 - nodePort: {{.Values.nodePort}} + # nodePort: {{.Values.nodePort}} protocol: TCP {{ if eq .Values.env "st"}} resources: @@ -107,7 +111,7 @@ spec: httpGet: path: {{.Values.health}} port: http - scheme: HTTPS + scheme: HTTP httpHeaders: - name: X-Custom-Header value: Alive @@ -118,7 +122,7 @@ spec: httpGet: path: {{.Values.health}} port: http - scheme: HTTPS + scheme: HTTP httpHeaders: - name: X-Custom-Header value: Ready