argocd-operator icon indicating copy to clipboard operation
argocd-operator copied to clipboard

Add resource compare option to CRD

Open BostjanBozic opened this issue 3 years ago • 1 comments

Hello,

ArgoCD supports capability to ignore aggregated ClusterRoles by adding following to Argo's ConfigMap:

  resource.compareoptions: |
    # if ignoreAggregatedRoles set to true then differences caused by aggregated roles in RBAC resources are ignored.
    ignoreAggregatedRoles: true

It would be great if this could be configured using ArgoCD CRD.

Best regards, Bostjan

BostjanBozic avatar Nov 18 '20 15:11 BostjanBozic

Was this ever implemented?

alancaldelas avatar May 17 '22 19:05 alancaldelas

I played around with it and saw that this can be sorted with spec.extraConfig.resources.compareoptions.ignoreAggregatedRoles: true

BostjanBozic avatar Sep 18 '23 08:09 BostjanBozic