X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=oran-ric-test-head%2Fhelm%2Fric-test-head%2Ftemplates%2Fdeployment.yaml;fp=oran-ric-test-head%2Fhelm%2Fric-test-head%2Ftemplates%2Fdeployment.yaml;h=dc0b012bb573a0bd1cc4c3247b1e1fc342f1c4eb;hp=4c38c3720463e80e360d46f3585db13a9341959a;hb=321c6b595a3f05db9e4327c16af85c16752f9ec2;hpb=29cd8447ada8036b91ad2ca75a3c1c3fe0d8ba55 diff --git a/oran-ric-test-head/helm/ric-test-head/templates/deployment.yaml b/oran-ric-test-head/helm/ric-test-head/templates/deployment.yaml index 4c38c37..dc0b012 100644 --- a/oran-ric-test-head/helm/ric-test-head/templates/deployment.yaml +++ b/oran-ric-test-head/helm/ric-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: