
This patchset supports Dex Helm charts to be used for deploying Dex on a CAPI Target cluster. Change-Id: Ic318788f0a2e2a3e5ca33a39e1adfbddcda8f5c4
24 lines
754 B
YAML
24 lines
754 B
YAML
{{- define "Service-dex" -}}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "helpers.labels.fullname" . }}
|
|
labels: {{- include "helpers.labels.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.params.service.type }}
|
|
ports:
|
|
- name: http
|
|
targetPort: 80
|
|
port: {{ .Values.params.endpoints.port.http }}
|
|
nodePort: {{ .Values.params.endpoints.nodePort.http }}
|
|
protocol: TCP
|
|
- name: https
|
|
targetPort: 443
|
|
port: {{ .Values.params.endpoints.port.https }}
|
|
nodePort: {{ .Values.params.endpoints.nodePort.https }}
|
|
protocol: TCP
|
|
selector: {{- include "helpers.labels.matchLabels" . | nindent 4 }}
|
|
...
|
|
{{- end -}}
|
|
{{- include "helpers.template.overlay" ( dict "Global" $ "template_definition" "Service-dex" ) }} |