summaryrefslogtreecommitdiff
path: root/astroshop-platform/argocd-helmchart/templates/_versions.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'astroshop-platform/argocd-helmchart/templates/_versions.tpl')
-rw-r--r--astroshop-platform/argocd-helmchart/templates/_versions.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/astroshop-platform/argocd-helmchart/templates/_versions.tpl b/astroshop-platform/argocd-helmchart/templates/_versions.tpl
new file mode 100644
index 0000000..966dad9
--- /dev/null
+++ b/astroshop-platform/argocd-helmchart/templates/_versions.tpl
@@ -0,0 +1,7 @@
+{{/* vim: set filetype=mustache: */}}
+{{/*
+Return the target Kubernetes version
+*/}}
+{{- define "argo-cd.kubeVersion" -}}
+{{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }}
+{{- end }}