Skip to content
Snippets Groups Projects

[cern] make helm client version configuration for cern-chart

Merged Ricardo Rocha requested to merge helmversion-configurable into cern/train
All threads resolved!
@@ -107,6 +107,12 @@ else
IPV6_ENABLED="false"
fi
# (rocha) we do this as we had v3.2.0 hard-coded and old templates had helm tag badly set to 2.6
HELM_TAG="v3.2.0"
if [[ ( $(echo ${CERN_CHART_VERSION} | cut -d. -f2) -ge 13 ) ]]; then
HELM_TAG="$HELM_CLIENT_TAG"
fi
### Configuration
###############################################################################
CHART_NAME="cern-magnum"
@@ -345,7 +351,7 @@ spec:
serviceAccountName: tiller
containers:
- name: config-helm
image: ${CONTAINER_INFRA_PREFIX:-docker.io/openstackmagnum/}helm-client:v3.2.0
image: ${CONTAINER_INFRA_PREFIX:-docker.io/openstackmagnum/}helm-client:${HELM_TAG}
command:
- bash
args:
Loading