-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
gitops
cli add cluster command doesn't installs the default profile as described in the capi template. Whereas the cluster added via UI accepts the default profiles and install them.
Moreover gitops
cli does not respect the layering order for profiles. All profiles are installed at the same time which leads the dependant profiles to fail. The created profiles.yaml
is missing layer lable for all the installed profiles. For example
labels:
weave.works/applied-layer: layer-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal info 20s helm-controller HelmChart 'flux-system/flux-system-weave-policy-agent' is not ready
Normal info 18s helm-controller Helm install has started
Warning error 17s helm-controller Helm install failed: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "agent-certificate" namespace: "" from "": no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "agent-issuer" namespace: "" from "": no matches for kind "Issuer" in version "cert-manager.io/v1"
ensure CRDs are installed first]
Last Helm logs:
checking 2 resources for changes
Created a new CustomResourceDefinition called "policies.pac.weave.works" in
Created a new CustomResourceDefinition called "policysets.pac.weave.works" in
Clearing discovery cache
beginning wait for 2 resources with timeout of 1m0s
Warning error 17s helm-controller reconciliation failed: Helm install failed: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "agent-certificate" namespace: "" from "": no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "agent-issuer" namespace: "" from "": no matches for kind "Issuer" in version "cert-manager.io/v1"
ensure CRDs are installed first]
Warning error 6s (x4 over 16s) helm-controller reconciliation failed: install retries exhausted