github.com/umeshredd/helm@v3.0.0-alpha.1+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      app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
     9      app.kubernetes.io/instance: {{ .Release.Name | quote }}
    10      helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
    11      kubeVersion: {{ .Capabilities.KubeVersion.Major }}
    12  spec:
    13    ports:
    14    - port: {{default 80 .Values.httpPort | quote}}
    15      targetPort: 80
    16      protocol: TCP
    17      name: http
    18    selector:
    19      app.kubernetes.io/name: {{template "fullname" .}}