github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/rancher/templates/service.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 {{- if .Values.service.annotations }} 5 annotations: 6 {{ toYaml .Values.service.annotations | indent 4 }} 7 {{- end }} 8 name: {{ template "rancher.fullname" . }} 9 labels: 10 {{ include "rancher.labels" . | indent 4 }} 11 spec: 12 {{- /* 13 If service.type is not provided this attribute is ommitted and k8s default of ClusterIP is used. 14 */}} 15 {{- if .Values.service.type }} 16 type: {{ .Values.service.type }} 17 {{- end }} 18 ports: 19 - port: 80 20 targetPort: 80 21 protocol: TCP 22 name: http 23 - port: 443 24 targetPort: 444 25 protocol: TCP 26 name: https-internal 27 selector: 28 app: {{ template "rancher.fullname" . }}