X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=a1-sdnc-vth%2Fhelm%2Fa1-sdnc-vth%2Ftemplates%2Fdeployment.yaml;h=1f1a9159652265455fdeee12b94bc6e1420bedfe;hb=511121c6c7d682288fd3fc72666db8f2221b72ae;hp=ec08ac39be9d4013a7a71b31375d605715eeb35a;hpb=63b197b11b12a536254352f134262ad90f31593b;p=it%2Fotf.git diff --git a/a1-sdnc-vth/helm/a1-sdnc-vth/templates/deployment.yaml b/a1-sdnc-vth/helm/a1-sdnc-vth/templates/deployment.yaml index ec08ac3..1f1a915 100644 --- a/a1-sdnc-vth/helm/a1-sdnc-vth/templates/deployment.yaml +++ b/a1-sdnc-vth/helm/a1-sdnc-vth/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 @@ -54,7 +58,7 @@ spec: ports: - name: http containerPort: 6001 - nodePort: {{.Values.nodePort}} +# nodePort: {{.Values.nodePort}} protocol: TCP # {{ if eq .Values.env "st"}} TODO UNCOMMENT FOR ORAN? # resources: