github.com/y-taka-23/helm@v2.8.0+incompatible/pkg/lint/rules/testdata/albatross/templates/svc.yaml (about) 1 # This is a service gateway to the replica set created by the deployment. 2 # Take a look at the deployment.yaml for general notes about this chart. 3 apiVersion: v1 4 kind: Service 5 metadata: 6 name: "{{ .Values.name }}" 7 labels: 8 heritage: {{ .Release.Service | quote }} 9 release: {{ .Release.Name | quote }} 10 chart: "{{.Chart.Name}}-{{.Chart.Version}}" 11 kubeVersion: {{ .Capabilities.KubeVersion.Major }} 12 tillerVersion: {{ .Capabilities.TillerVersion }} 13 spec: 14 ports: 15 - port: {{default 80 .Values.httpPort | quote}} 16 targetPort: 80 17 protocol: TCP 18 name: http 19 selector: 20 app: {{template "fullname" .}}