You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the namespace from the provided object "kube-system" does not match the namespace "cert-manager". You must pass '--namespace=kube-system' to perform this operation.
Expected behaviour: I expected it to deploy successfully because I created a namespace called cert-manager but unfortunately that was not the case.
I downloaded the YAML file to my local computer and I can see the code to create a namespace called cert-manager but I noticed the namespace was not specified in all the play. But I didn't think it should matter when the command I am using has instructed kubectl to deploy in the cert-manager
The last two plays in the YAML files are named mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created and validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
I don't understand these error messages coming after they were successfully created
mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
the namespace from the provided object "kube-system" does not match the namespace "cert-manager". You must pass '--namespace=kube-system' to perform this operation.
the namespace from the provided object "kube-system" does not match the namespace "cert-manager". You must pass '--namespace=kube-system' to perform this operation.
validatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
the namespace from the provided object "kube-system" does not match the namespace "cert-manager". You must pass '--namespace=kube-system' to perform this operation.
the namespace from the provided object "kube-system" does not match the namespace "cert-manager". You must pass '--namespace=kube-system' to perform this operation.
Please I need help. What can I do to solve this?
The text was updated successfully, but these errors were encountered:
Leader election uses kube-system by default, that is why you are seeing that error message.
This PR actually wants to change the default leader election namespace: #6766, which would fix the issue you were seeing.
Describe the bug:
I am trying to install cert-manager on my EKS cluster using the command below.
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.4/cert-manager.yaml --namespace cert-manager
The Error Message:
Expected behaviour: I expected it to deploy successfully because I created a namespace called
cert-manager
but unfortunately that was not the case.I downloaded the YAML file to my local computer and I can see the code to create a namespace called
cert-manager
but I noticed the namespace was not specified in all the play. But I didn't think it should matter when the command I am using has instructed kubectl to deploy in thecert-manager
The last two plays in the YAML files are named
mutatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
andvalidatingwebhookconfiguration.admissionregistration.k8s.io/cert-manager-webhook created
I don't understand these error messages coming after they were successfully created
Please I need help. What can I do to solve this?
The text was updated successfully, but these errors were encountered: