Align skipping of resources in flux diff to kustomize-controller
Signed-off-by: Yvan <y.guidoin@meteocontrol.com>
This commit is contained in:
@@ -100,6 +100,10 @@ func (b *Builder) diff() (string, bool, error) {
|
||||
diffOptions := ssa.DiffOptions{
|
||||
Exclusions: map[string]string{
|
||||
"kustomize.toolkit.fluxcd.io/reconcile": "disabled",
|
||||
"kustomize.toolkit.fluxcd.io/ssa": "ignore",
|
||||
},
|
||||
IfNotPresentSelector: map[string]string{
|
||||
"kustomize.toolkit.fluxcd.io/ssa": "ifnotpresent",
|
||||
},
|
||||
}
|
||||
change, liveObject, mergedObject, err := resourceManager.Diff(ctx, obj, diffOptions)
|
||||
|
||||
Reference in New Issue
Block a user