Skip to content

Commit 6a6f735

Browse files
committed
Exlcude decrypt: disabled objects from apply
1 parent a8c7cc1 commit 6a6f735

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controller/kustomization_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ func (r *KustomizationReconciler) apply(ctx context.Context,
827827
applyOpts.Force = obj.Spec.Force
828828
applyOpts.ExclusionSelector = map[string]string{
829829
fmt.Sprintf("%s/reconcile", kustomizev1.GroupVersion.Group): kustomizev1.DisabledValue,
830+
fmt.Sprintf("%s/decrypt", kustomizev1.GroupVersion.Group): kustomizev1.DisabledValue,
830831
fmt.Sprintf("%s/ssa", kustomizev1.GroupVersion.Group): kustomizev1.IgnoreValue,
831832
}
832833
applyOpts.IfNotPresentSelector = map[string]string{

0 commit comments

Comments
 (0)