X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=oran-ric-test-head%2Fhelm%2Fric-test-head%2Ftemplates%2Fdeployment.yaml;h=141e6bccd6b886bd93b95105d4ce876cee7953cc;hb=511121c6c7d682288fd3fc72666db8f2221b72ae;hp=4c38c3720463e80e360d46f3585db13a9341959a;hpb=1d1c0626cfac3bcf9e45be7bc97452caeda31f2d;p=it%2Fotf.git 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..141e6bc 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 @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Values.appName}} @@ -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: