github.com/argoproj/argo-cd/v3@v3.2.1/manifests/base/config/argocd-cm.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: argocd-cm
     5    labels:
     6      app.kubernetes.io/name: argocd-cm
     7      app.kubernetes.io/part-of: argocd
     8  data:
     9    ### Default configuration for ignoreResourceUpdates.
    10    # The ignoreResourceUpdates list contains K8s resource's properties that are known to be frequently updated
    11    # by controllers and operators. These resources, when watched by argo, will cause many unnecessary updates.
    12    # Ignoring status for all resources. An update will still be sent if the status update causes the health to change.
    13    resource.customizations.ignoreResourceUpdates.all: |
    14      jsonPointers:
    15        - /status
    16    # Some Application fields are generated and not related to the application updates itself
    17    # The Application itself is already watched by the controller lister, but this configuration is applied for apps of apps
    18    resource.customizations.ignoreResourceUpdates.argoproj.io_Application: |
    19      jqPathExpressions:
    20        - '.metadata.annotations."notified.notifications.argoproj.io"'
    21        - '.metadata.annotations."argocd.argoproj.io/refresh"'
    22        - '.metadata.annotations."argocd.argoproj.io/hydrate"'
    23        - '.operation'
    24    resource.customizations.ignoreResourceUpdates.argoproj.io_Rollout: |
    25      jqPathExpressions:
    26        - '.metadata.annotations."notified.notifications.argoproj.io"'
    27    # Legacy annotations used on HPA autoscaling/v1
    28    resource.customizations.ignoreResourceUpdates.autoscaling_HorizontalPodAutoscaler: |
    29      jqPathExpressions:
    30        - '.metadata.annotations."autoscaling.alpha.kubernetes.io/behavior"'
    31        - '.metadata.annotations."autoscaling.alpha.kubernetes.io/conditions"'
    32        - '.metadata.annotations."autoscaling.alpha.kubernetes.io/metrics"'
    33        - '.metadata.annotations."autoscaling.alpha.kubernetes.io/current-metrics"'
    34    # Ignore the cluster-autoscaler status
    35    resource.customizations.ignoreResourceUpdates.ConfigMap: |
    36      jqPathExpressions:
    37        # Ignore the cluster-autoscaler status
    38        - '.metadata.annotations."cluster-autoscaler.kubernetes.io/last-updated"'
    39        # Ignore the annotation of the legacy Leases election
    40        - '.metadata.annotations."control-plane.alpha.kubernetes.io/leader"'
    41    # Ignore the common scaling annotations
    42    resource.customizations.ignoreResourceUpdates.apps_ReplicaSet: |
    43      jqPathExpressions:
    44        - '.metadata.annotations."deployment.kubernetes.io/desired-replicas"'
    45        - '.metadata.annotations."deployment.kubernetes.io/max-replicas"'
    46        - '.metadata.annotations."rollout.argoproj.io/desired-replicas"'
    47    # Ignores update if EndpointSlice is not excluded globally
    48    resource.customizations.ignoreResourceUpdates.discovery.k8s.io_EndpointSlice: |
    49      jsonPointers:
    50        - /metadata
    51        - /endpoints
    52        - /ports
    53    # Ignores update if Endpoints is not excluded globally
    54    resource.customizations.ignoreResourceUpdates.Endpoints: |
    55      jsonPointers:
    56        - /metadata
    57        - /subsets
    58  
    59    ### Default configuration for exclusions.
    60    # The exclusion list are K8s resources that we assume will never be declared in Git,
    61    # and are never child objects of managed resources that need to be presented in the resource tree.
    62    # This list contains high volume and  high churn metadata objects which we exclude for performance
    63    # reasons, reducing connections and load to the K8s API servers of managed clusters.
    64    resource.exclusions: |
    65      ### Network resources created by the Kubernetes control plane and excluded to reduce the number of watched events and UI clutter
    66      - apiGroups:
    67        - ''
    68        - discovery.k8s.io
    69        kinds:
    70        - Endpoints
    71        - EndpointSlice
    72      ### Internal Kubernetes resources excluded reduce the number of watched events
    73      - apiGroups:
    74        - coordination.k8s.io
    75        kinds:
    76        - Lease
    77      ### Internal Kubernetes Authz/Authn resources excluded reduce the number of watched events
    78      - apiGroups:
    79        - authentication.k8s.io
    80        - authorization.k8s.io
    81        kinds:
    82        - SelfSubjectReview
    83        - TokenReview
    84        - LocalSubjectAccessReview
    85        - SelfSubjectAccessReview
    86        - SelfSubjectRulesReview
    87        - SubjectAccessReview
    88      ### Intermediate Certificate Request excluded reduce the number of watched events
    89      - apiGroups:
    90        - certificates.k8s.io
    91        kinds:
    92        - CertificateSigningRequest
    93      - apiGroups:
    94        - cert-manager.io
    95        kinds:
    96        - CertificateRequest
    97      ### Cilium internal resources excluded reduce the number of watched events and UI Clutter
    98      - apiGroups:
    99        - cilium.io
   100        kinds:
   101        - CiliumIdentity
   102        - CiliumEndpoint
   103        - CiliumEndpointSlice
   104      ### Kyverno intermediate and reporting resources excluded reduce the number of watched events and improve performance
   105      - apiGroups:
   106        - kyverno.io
   107        - reports.kyverno.io
   108        - wgpolicyk8s.io
   109        kinds:
   110        - PolicyReport
   111        - ClusterPolicyReport
   112        - EphemeralReport
   113        - ClusterEphemeralReport
   114        - AdmissionReport
   115        - ClusterAdmissionReport
   116        - BackgroundScanReport
   117        - ClusterBackgroundScanReport
   118        - UpdateRequest