thirdparty-ops-docker-helm/charts/rstudio/templates/service.yaml

17 lines
507 B
YAML
Raw Normal View History

2018-11-06 06:42:18 +01:00
apiVersion: v1
kind: Service
metadata:
2018-11-06 17:19:54 +01:00
name: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
2018-11-06 06:42:18 +01:00
labels:
2018-11-06 17:19:54 +01:00
app: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
2018-11-06 06:42:18 +01:00
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.rstudio.service.type }}
ports:
2018-11-06 17:19:54 +01:00
- name: "{{ .Release.Name}}-{{ .Values.rstudio.service.name }}"
2018-11-06 06:42:18 +01:00
port: {{ .Values.rstudio.service.port }}
selector:
app: {{ template "rstudio.name" . }}
release: {{ .Release.Name }}