Skip to content

Conversation

@mbaldessari
Copy link
Contributor

Our resourceCustomization is currently giving the following warning:

Warning  DeprecationNotice  27m         ResourceCustomizations is
deprecated, please use the new formats `ResourceHealthChecks`,
`ResourceIgnoreDifferences`, and `Resource Actions` instead.

This actually becomes a problem with gitops-1.10 because it dropped
support for v1alpha versions of argoCD (it upgrades them automatically
to v1beta). So the cluster-wide argo app which is in charge of creating
the namespaced argoCD instance will always be OutOfSync as it will never
be able to set the resourceCustomization field.

Move to resourceHealthcheck which is the new supported way. This is also
backwards compatible with gitops-1.8.

Tested as follows:

  1. Deployed 4.13 with gitops-1.10 and observed the multicloud-gitops-hub
    being OutOfSync
  2. Applied this patch and observed it going to green and sync correctly
  3. Tested this on gitops-1.8.5 on 4.13 and deployed MCG correctly with
    all apps becoming green everywhere.

Fixes: #367

Our resourceCustomization is currently giving the following warning:

    Warning  DeprecationNotice  27m         ResourceCustomizations is
    deprecated, please use the new formats `ResourceHealthChecks`,
    `ResourceIgnoreDifferences`, and `Resource Actions` instead.

This actually becomes a problem with gitops-1.10 because it dropped
support for v1alpha versions of argoCD (it upgrades them automatically
to v1beta). So the cluster-wide argo app which is in charge of creating
the namespaced argoCD instance will always be OutOfSync as it will never
be able to set the `resourceCustomization` field.

Move to resourceHealthcheck which is the new supported way. This is also
backwards compatible with gitops-1.8.

Tested as follows:
1. Deployed 4.13 with gitops-1.10 and observed the multicloud-gitops-hub
   being OutOfSync
2. Applied this patch and observed it going to green and sync correctly
3. Tested this on gitops-1.8.5 on 4.13 and deployed MCG correctly with
   all apps becoming green everywhere.

Fixes: validatedpatterns#367
@day0hero
Copy link
Contributor

/lgtm

@mbaldessari mbaldessari merged commit 578ec00 into validatedpatterns:main Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResourceCustomizations is deprecated

2 participants