fix(service): updated servicename with release name

This commit is contained in:
sido 2018-11-26 19:42:10 +01:00
parent e1b8ebac20
commit 8173e36331
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0" appVersion: "1.0"
description: MOLGENIS Helm chart for OpenCPU description: MOLGENIS Helm chart for OpenCPU
name: molgenis-website name: molgenis-website
version: 0.0.1 version: 0.2.1
sources: sources:
- https://github.com/molgenis/molgenis-ops-docker-helm.git - 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 icon: https://raw.githubusercontent.com/molgenis/molgenis-ops-docker-helm/master/charts/molgenis-website/catalog-molgenis-website.svg

View File

@ -23,7 +23,7 @@ spec:
paths: paths:
- path: {{ default "/" .path }} - path: {{ default "/" .path }}
backend: backend:
serviceName: {{ $.Values.website.service.name }} serviceName: {{ .Release.Name }}-{{ $.Values.website.service.name }}
servicePort: {{ $.Values.website.service.port }} servicePort: {{ $.Values.website.service.port }}
{{- if .tls }} {{- if .tls }}
tls: tls:

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ .Values.website.service.name }} name: {{ .Release.Name }}-{{ .Values.website.service.name }}
labels: labels:
app: {{ .Values.website.service.name }} app: {{ .Values.website.service.name }}
release: {{ .Release.Name }} release: {{ .Release.Name }}

View File

@ -14,7 +14,7 @@ website:
image: image:
repository: registry.molgenis.org repository: registry.molgenis.org
name: molgenis/website name: molgenis/website
tag: stable tag: latest
pullPolicy: Always pullPolicy: Always
service: service:
name: molgenis-website name: molgenis-website