mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: {{ template "alpine.fullname" . }}
|
|
labels:
|
|
# The "app.kubernetes.io/managed-by" label is used to track which tool
|
|
# deployed a given chart. It is useful for admins who want to see what
|
|
# releases a particular tool is responsible for.
|
|
app.kubernetes.io/managed-by: {{.Release.Service | quote }}
|
|
# The "app.kubernetes.io/instance" convention makes it easy to tie a release
|
|
# to all of the Kubernetes resources that were created as part of that
|
|
# release.
|
|
app.kubernetes.io/instance: {{.Release.Name | quote }}
|
|
# This makes it easy to audit chart usage.
|
|
helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
|
|
app.kubernetes.io/name: {{ template "alpine.name" . }}
|
|
spec:
|
|
# This shows how to use a simple value. This will look for a passed-in value called restartPolicy.
|
|
restartPolicy: {{ .Values.restartPolicy }}
|
|
containers:
|
|
- name: waiter
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
command: ["/bin/sleep", "9000"]
|