diff --git a/Readme.md b/Readme.md index 5290a96cdeb938b6d30f8e0f431fa1854623237a..11146e6a67ebb0a9fae8c028eebce698cf37bcc3 100644 --- a/Readme.md +++ b/Readme.md @@ -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 * `--name`: sets the name of the deployment. * `--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-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. diff --git a/assets/deployer b/assets/deployer index c313255937b381e7971342618baa340509eab7b2..3821b239491e18af2bc5377fd910f3e9da7d1c92 100755 --- a/assets/deployer +++ b/assets/deployer @@ -28,7 +28,7 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then fi 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 # -temporarily store output to be able to check for errors @@ -58,7 +58,7 @@ while true; do buildargs="${buildargs} $2" shift 2 ;; - -f|--values|-s|--set|--set-string|--set-file) + -f|--values|-s|--set|--set-string) valueargs="${valueargs} $1 $2" shift 2 ;;