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=fcca0f8f028db2a7dc0b5ed193b9b49c96157094;hp=175427c526e1d02bef856e6cb2553252fda1f01f;hb=321c6b595a3f05db9e4327c16af85c16752f9ec2;hpb=29cd8447ada8036b91ad2ca75a3c1c3fe0d8ba55 diff --git a/otf-frontend/helm/otf-frontend/templates/secret.yaml b/otf-frontend/helm/otf-frontend/templates/secret.yaml index 175427c..fcca0f8 100644 --- a/otf-frontend/helm/otf-frontend/templates/secret.yaml +++ b/otf-frontend/helm/otf-frontend/templates/secret.yaml @@ -1,9 +1,20 @@ apiVersion: v1 -kind: Secret +kind: Service metadata: - name: {{ .Values.appName}} -type: Opaque -data: - mongo_username: {{ .Values.mongo.username | b64enc}} - mongo_password: {{ .Values.mongo.password | b64enc}} - authentication_secret: {{.Values.AUTHENTICATION_SECRET | b64enc}} + 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 }}