Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1081 from flanksource/feature/sealed-secrets-disable
Browse files Browse the repository at this point in the history
feat: do not delete sealed-secrets on disable
  • Loading branch information
moshloop authored Jun 20, 2023
2 parents 06dbb3c + c4ae594 commit a21febe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/phases/sealedsecrets/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ var (

func Install(platform *platform.Platform) error {
if platform.SealedSecrets.IsDisabled() {
if err := platform.DeleteSpecs(Namespace, "sealed-secrets.yaml"); err != nil {
platform.Warnf("failed to delete specs: %v", err)
}
return nil
}

Expand Down

0 comments on commit a21febe

Please sign in to comment.