Skip to content
Snippets Groups Projects
Commit 654509c3 authored by Sebastian Kehr's avatar Sebastian Kehr :rowboat_tone2:
Browse files

remove --set-file option and add --values to readme

parent 60db5c7a
Branches
Tags
1 merge request!2More options for setting/overriding values
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -91,6 +91,7 @@ $ deployer undeploy \ ...@@ -91,6 +91,7 @@ $ deployer undeploy \
* `--service-account`: this is the name of the service-account, that is used to perform the deployment. This string is provided by the k8s-admin * `--service-account`: this is the name of the service-account, that is used to perform the deployment. This string is provided by the k8s-admin
* `--name`: sets the name of the deployment. * `--name`: sets the name of the deployment.
* `--charts`: sets the path where the helm-charts reside. * `--charts`: sets the path where the helm-charts reside.
* `--values`: overrides the values from `Values.yaml` in the helm-charts with values in the specified YAML file. May be provided multiple times.
* `--set`: overrides the values from `Values.yaml` in the helm-charts. Provide multiple `--set`-options if you want to provide multiple overrides. * `--set`: overrides the values from `Values.yaml` in the helm-charts. Provide multiple `--set`-options if you want to provide multiple overrides.
* `--set-string`: overrides the values from `Values.yaml` in the helm-charts as string. Provide multiple `--set-string`-options if you want to provide multiple overrides. * `--set-string`: overrides the values from `Values.yaml` in the helm-charts as string. Provide multiple `--set-string`-options if you want to provide multiple overrides.
......
...@@ -28,7 +28,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then ...@@ -28,7 +28,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then
fi fi
OPTIONS= OPTIONS=
LONGOPTS=docker-config:,tag:,build-arg:,values:,set:,set-string:,:set-file,charts:,name:,token:,certificate-authority:,namespace:,cluster-url:,service-account:,output:,input: LONGOPTS=docker-config:,tag:,build-arg:,values:,set:,set-string:,charts:,name:,token:,certificate-authority:,namespace:,cluster-url:,service-account:,output:,input:
# -use ! and PIPESTATUS to get exit code with errexit set # -use ! and PIPESTATUS to get exit code with errexit set
# -temporarily store output to be able to check for errors # -temporarily store output to be able to check for errors
...@@ -58,7 +58,7 @@ while true; do ...@@ -58,7 +58,7 @@ while true; do
buildargs="${buildargs} $2" buildargs="${buildargs} $2"
shift 2 shift 2
;; ;;
-f|--values|-s|--set|--set-string|--set-file) -f|--values|-s|--set|--set-string)
valueargs="${valueargs} $1 $2" valueargs="${valueargs} $1 $2"
shift 2 shift 2
;; ;;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment