mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Added needed calls for HelmV3
This commit is contained in:
@@ -145,8 +145,13 @@ function v2PullChart {
|
||||
}
|
||||
|
||||
function v3PullChart {
|
||||
# TODO implement
|
||||
echo "?? helmV3 pull --repo https://hub.helm.sh/charts/ stable/minecraft --destination /tmp/junk"
|
||||
if [ ! -d "$chartHome/$chartName" ]; then
|
||||
v3RunHelm pull $chartVersionArg \
|
||||
$chartRepoArg \
|
||||
--untar \
|
||||
--untardir $chartHome \
|
||||
$chartNameArg
|
||||
fi
|
||||
}
|
||||
|
||||
function v2InflateChart {
|
||||
@@ -158,8 +163,12 @@ function v2InflateChart {
|
||||
}
|
||||
|
||||
function v3InflateChart {
|
||||
# TODO implement
|
||||
true
|
||||
v3RunHelm template \
|
||||
--release-name $releaseName \
|
||||
--namespace $releaseNamespace \
|
||||
--values $valuesFile \
|
||||
$chartHome/$chartName
|
||||
|
||||
}
|
||||
|
||||
HELM_VERSION=$($helmBin version -c --short)
|
||||
|
||||
Reference in New Issue
Block a user