Skip to content

Commit

Permalink
feat(deploy): add --disable-default-values and --disable-default-secr…
Browse files Browse the repository at this point in the history
…et-values flags to `bundle apply`

Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Jan 31, 2025
1 parent f9ab844 commit 722f1b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/werf/bundle/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ func NewCmd(ctx context.Context) *cobra.Command {
common.SetupSecretValues(&commonCmdData, cmd, false)
common.SetupIgnoreSecretKey(&commonCmdData, cmd)

commonCmdData.SetupDisableDefaultValues(cmd)
commonCmdData.SetupDisableDefaultSecretValues(cmd)
commonCmdData.SetupSkipDependenciesRepoRefresh(cmd)

common.SetupSaveDeployReport(&commonCmdData, cmd)
Expand Down Expand Up @@ -230,6 +232,8 @@ func runApply(ctx context.Context) error {
ChartRepositoryInsecure: *commonCmdData.InsecureHelmDependencies,
ChartRepositorySkipTLSVerify: *commonCmdData.SkipTlsVerifyHelmDependencies,
ChartRepositorySkipUpdate: *commonCmdData.SkipDependenciesRepoRefresh,
DefaultSecretValuesDisable: *commonCmdData.DisableDefaultSecretValues,
DefaultValuesDisable: *commonCmdData.DisableDefaultValues,
DeployGraphPath: common.GetDeployGraphPath(&commonCmdData),
DeployGraphSave: common.GetDeployGraphPath(&commonCmdData) != "",
DeployReportPath: deployReportPath,
Expand Down

0 comments on commit 722f1b9

Please sign in to comment.