You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you configure global Helm flags they're used for all Helm calls and only for Helm calls.
Right now it's impossible to set --debug or --repository-config due to Skaffold post renderer failing..
Actual behavior
When using skaffold run Global flags are also passed to Skaffold running as a postrenderer causing deployment failures due to unknown flags. Renders (skaffold render seem to work fine.
Add --debug or any other Helm-specific flag to global flags.
skaffold run
Debug logs
%> skaffold -v debug run
DEBU[0000] skaffold API not starting as it's not requested subtask=-1 task=DevLoop
INFO[0000] Skaffold &{Version:v2.8.0 ConfigVersion:skaffold/v4beta7 GitVersion: GitCommit:ba02de8494a2cfe36249087871e9c7aa80fc535e BuildDate:2023-10-04T13:34:13Z GoVersion:go1.21.1 Compiler:gc Platform:darwin/amd64 User:} subtask=-1 task=DevLoop
INFO[0000] Loaded Skaffold defaults from "/Users/<cut>/.skaffold/config" subtask=-1 task=DevLoop
DEBU[0000] parsed 1 configs from configuration file /<cut>/skaffold.yaml subtask=-1 task=DevLoop
DEBU[0000] Defaulting build type to local build subtask=-1 task=DevLoop
INFO[0000] Using kubectl context: <cut> subtask=-1 task=DevLoop
DEBU[0000] getting client config for kubeContext: `<cut>` subtask=-1 task=DevLoop
DEBU[0000] Running command: [minikube version --output=json] subtask=-1 task=DevLoop
DEBU[0001] Command output: [{"commit":"ddac20b4b34a9c8c857fc602203b6ba2679794d3","minikubeVersion":"v1.29.0"}
] subtask=-1 task=DevLoop
DEBU[0001] Running command: [/usr/local/bin/minikube profile list -o json --user=skaffold] subtask=-1 task=DevLoop
DEBU[0001] Command output: [{"invalid":[],"valid":[]}] subtask=-1 task=DevLoop
DEBU[0001] Running command: [/usr/local/bin/minikube profile list -o json --user=skaffold] subtask=-1 task=DevLoop
DEBU[0001] Command output: [{"invalid":[],"valid":[]}] subtask=-1 task=DevLoop
DEBU[0001] setting Docker user agent to skaffold-v2.8.0 subtask=-1 task=DevLoop
INFO[0001] DOCKER_HOST env is not set, using the host from docker context. subtask=-1 task=DevLoop
DEBU[0001] Running command: [docker context inspect --format {{.Endpoints.docker.Host}}] subtask=-1 task=DevLoop
DEBU[0001] Command output: [unix:///Users/<cut>/.docker/run/docker.sock
] subtask=-1 task=DevLoop
INFO[0001] no kpt renderer or deployer found, skipping hydrated-dir creation subtask=-1 task=DevLoop
DEBU[0001] Running command: [kubectl config view --minify -o jsonpath='{..namespace}'] subtask=-1 task=DevLoop
DEBU[0001] Command output: ['openebs'] subtask=-1 task=DevLoop
DEBU[0001] Running command: [helm version --client] subtask=-1 task=DevLoop
DEBU[0001] Command output: [version.BuildInfo{Version:"v3.13.0", GitCommit:"825e86f6a7a38cef1112bfa606e4127a706749b1", GitTreeState:"clean", GoVersion:"go1.21.1"}
] subtask=-1 task=DevLoop
DEBU[0001] CLI platforms provided: "" subtask=-1 task=DevLoop
DEBU[0001] getting client config for kubeContext: `<cut>` subtask=-1 task=DevLoop
DEBU[0002] platforms detected from active kubernetes cluster nodes: "linux/amd64" subtask=-1 task=DevLoop
DEBU[0002] Using builder: local subtask=-1 task=DevLoop
DEBU[0002] push value not present in NewBuilder, defaulting to true because cluster.PushImages is true subtask=-1 task=DevLoop
INFO[0002] build concurrency set to default value of -1 subtask=-1 task=DevLoop
No tags generated
INFO[0002] Tags generated in 27.901µs subtask=-1 task=Build
INFO[0002] Cache check completed in 68.004µs subtask=-1 task=Build
Starting test...
INFO[0002] Test completed in 21.624µs subtask=-1 task=Test
INFO[0002] Starting render... subtask=-1 task=DevLoop
INFO[0002] rendering using helm subtask=0 task=Render
DEBU[0002] Executing template &{envTemplate 0xc000b387e0 0xc00033a370 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0002] Executing template &{envTemplate 0xc000b39200 0xc00033a3c0 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0002] EnvVarMap: map[] subtask=-1 task=DevLoop
DEBU[0002] Executing template &{envTemplate 0xc000b39e60 0xc00033a410 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
INFO[0002] Building helm dependencies... subtask=0 task=Render
DEBU[0002] Running command: [helm --kube-context <cut> dep build helm --debug] subtask=0 task=Render
DEBU[0008] Running command: [helm --kube-context <cut> template openebs helm -f helm/values.yaml --debug] subtask=0 task=Render
INFO[0008] install.go:214: [debug] Original chart version: ""
install.go:231: [debug] CHART PATH: /<cut>/helm
subtask=0 task=Render
DEBU[0008] manifests with labels <rendered templates cut>
INFO[0008] Render completed in 6.32 seconds subtask=-1 task=DevLoop
Starting deploy...
DEBU[0008] getting client config for kubeContext: `<cut>` subtask=-1 task=DevLoop
INFO[0008] Deploying with helm v3.13.0 ... subtask=0 task=Deploy
DEBU[0008] Executing template &{envTemplate 0xc0005efd40 0xc00033a5a0 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0008] Executing template &{envTemplate 0xc000c1a7e0 0xc00033a5f0 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0008] Executing template &{envTemplate 0xc000c1afc0 0xc00033a640 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0008] Running command: [helm --kube-context <cut> get all openebs --debug] subtask=0 task=Deploy
INFO[0009] Building helm dependencies... subtask=0 task=Deploy
DEBU[0009] Running command: [helm --kube-context <cut> dep build helm --debug] subtask=0 task=Deploy
Hang tight while we grab the latest from your chart repositories...
<cut>
...Successfully got an update from the "openebs" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading openebs from repo https://openebs.github.io/charts
Deleting outdated charts
Could not verify helm/charts/.gitignore for deletion: file 'helm/charts/.gitignore' does not appear to be a gzipped archive; got 'application/octet-stream' (Skipping)
DEBU[0016] EnvVarMap: map[] subtask=-1 task=DevLoop
DEBU[0016] Executing template &{envTemplate 0xc000297b00 0xc000a82410 } with environment map[COLORTERM:truecolor COMMAND_MODE:unix2003 GIT_ASKPASS:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh GPG_TTY:/dev/ttys015 HOME:/Users/<cut> KUBECONFIG:/<cut> LANG:en_US.UTF-8 LOGNAME:<cut> LaunchInstanceID:351898CB-720A-4008-96C3-CE4A3B322570 MallocNanoZone:0 OLDPWD:/<cut> ORIGINAL_XDG_CURRENT_DESKTOP:undefined PATH:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/<cut>/.local/bin:/Users/<cut>/.local/bin PWD:/<cut> REQUESTS_CA_BUNDLE:/<cut> SECURITYSESSIONID:186a4 SHELL:/bin/zsh SHLVL:1 SSH_AUTH_SOCK:/private/tmp/com.apple.launchd.TU4yxGdFa0/Listeners SSL_CERT_FILE:/<cut> TERM:xterm-256color TERM_PROGRAM:vscode TERM_PROGRAM_VERSION:1.83.0 TMPDIR:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/ USER:<cut> VSCODE_GIT_ASKPASS_EXTRA_ARGS:--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN:/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js VSCODE_GIT_ASKPASS_NODE:/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) VSCODE_GIT_IPC_HANDLE:/var/folders/d9/9gqq2z1j1635_39sc63bqyzm0000gp/T/vscode-git-5fec8a0967.sock XPC_FLAGS:0x0 XPC_SERVICE_NAME:0 _:/usr/local/bin/skaffold __CFBundleIdentifier:com.microsoft.VSCode __CF_USER_TEXT_ENCODING:0x1F6:0x0:0x0] subtask=-1 task=DevLoop
DEBU[0016] Running command: [helm --kube-context <cut> upgrade openebs --wait --timeout=15m --render-subchart-notes helm --post-renderer /usr/local/bin/skaffold -f helm/values.yaml --debug] subtask=0 task=Deploy
upgrade.go:153: [debug] preparing upgrade for openebs
Error: UPGRADE FAILED: error while running post render on files: error while running command /usr/local/bin/skaffold. error output:
unknown flag: --debug
See 'skaffold filter --help' for usage.
: exit status 127
helm.go:84: [debug] exit status 127
error while running command /usr/local/bin/skaffold. error output:
unknown flag: --debug
See 'skaffold filter --help' for usage.
helm.sh/helm/v3/pkg/postrender.(*execRender).Run
helm.sh/helm/v3/pkg/postrender/exec.go:64
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
helm.sh/helm/v3/pkg/action/action.go:222
helm.sh/helm/v3/pkg/action.(*Upgrade).prepareUpgrade
helm.sh/helm/v3/pkg/action/upgrade.go:260
helm.sh/helm/v3/pkg/action.(*Upgrade).RunWithContext
helm.sh/helm/v3/pkg/action/upgrade.go:154
main.newUpgradeCmd.func2
helm.sh/helm/v3/cmd/helm/upgrade.go:227
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.7.0/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.7.0/command.go:992
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:267
runtime.goexit
runtime/asm_amd64.s:1650
error while running post render on files
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
helm.sh/helm/v3/pkg/action/action.go:224
helm.sh/helm/v3/pkg/action.(*Upgrade).prepareUpgrade
helm.sh/helm/v3/pkg/action/upgrade.go:260
helm.sh/helm/v3/pkg/action.(*Upgrade).RunWithContext
helm.sh/helm/v3/pkg/action/upgrade.go:154
main.newUpgradeCmd.func2
helm.sh/helm/v3/cmd/helm/upgrade.go:227
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.7.0/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.7.0/command.go:992
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:267
runtime.goexit
runtime/asm_amd64.s:1650
UPGRADE FAILED
main.newUpgradeCmd.func2
helm.sh/helm/v3/cmd/helm/upgrade.go:229
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.7.0/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.7.0/command.go:992
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:267
runtime.goexit
runtime/asm_amd64.s:1650
DEBU[0017] Running command: [tput colors] subtask=-1 task=DevLoop
DEBU[0017] Command output: [256
] subtask=-1 task=DevLoop
deploying "openebs": install: exit status 1
DEBU[0017] exporting metrics subtask=-1 task=DevLoop
DEBU[0017] failed to create firelog exporter due to error: open assets/firelog_generated/key.txt: file does not exist subtask=-1 task=DevLoop
DEBU[0017] did not create any log exporter subtask=-1 task=DevLoop
Fragment with the failure itself (from the above log, for better visibility):
Error: UPGRADE FAILED: error while running post render on files: error while running command /usr/local/bin/skaffold. error output:
unknown flag: --debug
See 'skaffold filter --help' for usage.
: exit status 127
The text was updated successfully, but these errors were encountered:
Expected behavior
When you configure global Helm flags they're used for all Helm calls and only for Helm calls.
Right now it's impossible to set
--debug
or--repository-config
due to Skaffold post renderer failing..Actual behavior
When using
skaffold run
Global flags are also passed to Skaffold running as a postrenderer causing deployment failures due to unknown flags. Renders (skaffold render
seem to work fine.Information
Steps to reproduce the behavior
--debug
or any other Helm-specific flag to global flags.skaffold run
Debug logs
Fragment with the failure itself (from the above log, for better visibility):
The text was updated successfully, but these errors were encountered: