X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-frontend%2Fhelm%2Fotf-frontend%2Ftemplates%2Fsecret.yaml;fp=otf-frontend%2Fhelm%2Fotf-frontend%2Ftemplates%2Fsecret.yaml;h=5f70306f8a4634615a9402ae8eccc3b99b7e9517;hp=fcca0f8f028db2a7dc0b5ed193b9b49c96157094;hb=511121c6c7d682288fd3fc72666db8f2221b72ae;hpb=dd4692fd283776fc68443433bfda98c41c55303b diff --git a/otf-frontend/helm/otf-frontend/templates/secret.yaml b/otf-frontend/helm/otf-frontend/templates/secret.yaml index fcca0f8..5f70306 100644 --- a/otf-frontend/helm/otf-frontend/templates/secret.yaml +++ b/otf-frontend/helm/otf-frontend/templates/secret.yaml @@ -1,20 +1,10 @@ apiVersion: v1 -kind: Service +kind: Secret metadata: - name: {{ .Values.appName }} - namespace: {{ .Values.namespace }} - labels: - app: {{ .Values.appName }} - version: {{ .Values.version }} - # annotations: - # service.beta.kubernetes.io/azure-load-balancer-internal: "true" -spec: - type: LoadBalancer - ports: - - name: https - protocol: TCP - port: 80 - # nodePort: {{ .Values.nodePort }} - selector: - app: {{ .Values.appName }} - version: {{ .Values.version }} + name: {{ .Values.appName}} +type: Opaque +data: + mongo_username: {{ .Values.mongo.username | b64enc}} + mongo_password: {{ .Values.mongo.password | b64enc}} +# authentication_secret: {{.Values.AUTHENTICATION_SECRET | b64enc}} +