Skip to content

Conversation

@mbaldessari
Copy link
Contributor

  • Introduce a validate-cluster target in the install target
  • Increase the wait for the internal registry
  • Add a note about SNOs and internal registries
  • Move from resourceCustomization to resourceHealthcheck
  • Fix up common/ tests
  • Update tests in common/ after rebase

mbaldessari and others added 10 commits September 12, 2023 12:18
The validate-cluster target will be in charge of doing some sanity check
on the cluster. Initially we just check the connection to the cluster
and that at least one storageclass is available to the cluster.

Tested as follows:
1) Cluster with a storageclass (LVM in my case)

    $ make validate-cluster
    Checking cluster:
      cluster-info: OK
      storageclass: OK

2) Cluster without a storageclass:

    $ make validate-cluster
    Checking cluster:
      cluster-info: OK
      storageclass: None Found
    make: *** [Makefile:99: validate-cluster] Error 1
Introduce a validate-cluster target in the install target
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/common#367
…-support

Move from resourceCustomization to resourceHealthcheck
@mbaldessari mbaldessari merged commit d712740 into validatedpatterns:main Sep 19, 2023
claudiol pushed a commit to claudiol/multicloud-gitops that referenced this pull request Apr 17, 2024
…-prep-work

Prep Work for letsencrypt support
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.

2 participants