-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defaultNamespace field not considered by Fleet #752
Comments
We need to see if this is reproducible in 2.6.x |
@MKlimuszka what about 2.5.x? |
Hi, upgrading to 2.5.13 didn't fix the issue. Also, it seems generalized, as now I'm trying to install cert-manager and I have the same problem:
fleet.yaml file:
|
Same problem in |
Have the same issue... The workaround for me is to remove the value from the 'namespace' field in fleet.yaml and keep value of namespace only in 'defaultNamespace' field |
Bump
However, there's no mention on what to do for the bundle to deploy CRDs |
|
I see the same thing in Rancher 2.7.7. It definitely happens with only specifying defaultNamespace and not namespace as well.
Have also tried a number of combinations of setting defaultNamespace and/or namespace. It seems fleet really doesn't know what to make of the CRDs in every case. EDIT: I got it to work by removing the targetNamespace in the gitrepo object. |
Just a follow up on this one as I think there is some confusion. An error similar to error while running post render on files: invalid cluster scoped object [name=certificaterequests.cert-manager.io kind=CustomResourceDefinition apiVersion=apiextensions.k8s.io/v1] found, consider using "defaultNamespace", not "namespace" in fleet.yaml happens when:
In both cases We're working on changing the wording of the error to hopefully be more concise in this case. |
Problem
As issue title says, seems that Fleet is not considering the
defaultNamespace
field apparently.Heres my fleet.yaml file:
But when deploying is launched via Fleet, this error comes up:
Any tips on this?
Info
Rancher v2.5.11
Fleet rancher/fleet:v0.3.5
The text was updated successfully, but these errors were encountered: