Skip to content

Commit

Permalink
fix: allow the secret yaml env var validation to be disabled
Browse files Browse the repository at this point in the history
Signed-off-by: James Strachan <[email protected]>
  • Loading branch information
jstrachan committed Mar 1, 2020
1 parent 2e16696 commit 7b3b393
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/step/verify/step_verify_preinstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ type StepVerifyPreInstallOptions struct {
TestKanikoSecretData string
TestVeleroSecretData string
WorkloadIdentity bool
NoSecretYAMLValidate bool
}

// NewCmdStepVerifyPreInstall creates the `jx step verify pod` command
Expand Down Expand Up @@ -110,7 +111,7 @@ func (o *StepVerifyPreInstallOptions) Run() error {
return err
}

if requirements.Helmfile {
if requirements.Helmfile && !o.NoSecretYAMLValidate {
err = o.validateSecretsYAML()
if err != nil {
return err
Expand Down

0 comments on commit 7b3b393

Please sign in to comment.