mirror of
https://github.com/truenas/charts.git
synced 2026-04-15 03:00:32 +08:00
* switch to the newly released official repo * remove --helm3 flag as it does not exist anymore * move ix-chart * create values.yaml and remove old test hook * update version scheme
15 lines
476 B
YAML
15 lines
476 B
YAML
apiVersion: {{ template "apiVersion" . }}
|
|
kind: {{ .Values.workloadType }}
|
|
metadata:
|
|
name: {{ include "ix-chart.fullname" . }}
|
|
labels:
|
|
{{- include "ix-chart.labels" . | nindent 4 }}
|
|
spec:
|
|
{{- if eq (include "workloadIsDeployment" .) "true" }}
|
|
{{ include "deploymentSpec" . | nindent 2 }}
|
|
{{- else if eq (include "workloadIsCronJob" .) "true" }}
|
|
{{ include "cronJobSpec" . | nindent 2 }}
|
|
{{- else }}
|
|
{{ include "jobSpec" . | nindent 2 }}
|
|
{{- end }}
|