github.com/lrills/helm@v2.8.1+incompatible/docs/examples/alpine/templates/alpine-pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: {{ template "alpine.fullname" . }}
     5    labels:
     6      # The "heritage" label is used to track which tool deployed a given chart.
     7      # It is useful for admins who want to see what releases a particular tool
     8      # is responsible for.
     9      heritage: {{ .Release.Service }}
    10      # The "release" convention makes it easy to tie a release to all of the
    11      # Kubernetes resources that were created as part of that release.
    12      release: {{ .Release.Name }}
    13      # This makes it easy to audit chart usage.
    14      chart: {{ .Chart.Name }}-{{ .Chart.Version }}
    15      app: {{ template "alpine.name" . }}
    16  spec:
    17    # This shows how to use a simple value. This will look for a passed-in value called restartPolicy.
    18    restartPolicy: {{ .Values.restartPolicy }}
    19    containers:
    20    - name: waiter
    21      image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
    22      imagePullPolicy: {{ .Values.image.pullPolicy }}
    23      command: ["/bin/sleep", "9000"]