fix(service): updated servicename with release name
This commit is contained in:
parent
e1b8ebac20
commit
8173e36331
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||
appVersion: "1.0"
|
||||
description: MOLGENIS Helm chart for OpenCPU
|
||||
name: molgenis-website
|
||||
version: 0.0.1
|
||||
version: 0.2.1
|
||||
sources:
|
||||
- https://github.com/molgenis/molgenis-ops-docker-helm.git
|
||||
icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-website/catalog-molgenis-website.svg
|
||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
|||
paths:
|
||||
- path: {{ default "/" .path }}
|
||||
backend:
|
||||
serviceName: {{ $.Values.website.service.name }}
|
||||
serviceName: {{ .Release.Name }}-{{ $.Values.website.service.name }}
|
||||
servicePort: {{ $.Values.website.service.port }}
|
||||
{{- if .tls }}
|
||||
tls:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Values.website.service.name }}
|
||||
name: {{ .Release.Name }}-{{ .Values.website.service.name }}
|
||||
labels:
|
||||
app: {{ .Values.website.service.name }}
|
||||
release: {{ .Release.Name }}
|
||||
|
|
|
@ -14,7 +14,7 @@ website:
|
|||
image:
|
||||
repository: registry.molgenis.org
|
||||
name: molgenis/website
|
||||
tag: stable
|
||||
tag: latest
|
||||
pullPolicy: Always
|
||||
service:
|
||||
name: molgenis-website
|
||||
|
|
Loading…
Reference in New Issue