-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Set default cluster resource namespace to current pod namespace #329
Set default cluster resource namespace to current pod namespace #329
Conversation
@munnerz: GitHub didn't allow me to request PR reviews from the following users: mikebryant. Note that only jetstack members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see anywhere in the diff that we create the cert-manager
namespace.
If it's created elsewhere, should that be using the new constant too?
The 1.8 tests failed with:
I0222 09:02:41.027] NAME DESIRED CURRENT READY AGE
I0222 09:02:41.027] nginx-ingress-controller 1 1 1 2m
W0222 09:02:41.308] The Service "nginx-ingress-controller" is invalid: spec.clusterIP: Invalid value: "10.0.0.15": provided IP is already allocated
Is that a test flake?
The 1.9 e2e tests failed with an actual test error, but I'm not yet familiar enough with the code to understand the failure message.
@wallrj Helm automatically creates the namespace before deploying. For the static manifests, a user will need to run |
Regarding the test - yep that's a flake that can happen when lots of VMs are starting at once 😢 |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
5e9ab61
to
30c2897
Compare
/lgtm cancel //PR changed after LGTM, removing LGTM. @munnerz |
/retest |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
* f117e6e8 Merge branch 'master' into patch-1 * Add Endpoints back into the cert-manager RBAC policy (cert-manager/cert-manager#343) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow. (cert-manager/cert-manager#216)
* f117e6e8 Merge branch 'master' into patch-1 * Add Endpoints back into the cert-manager RBAC policy (cert-manager/cert-manager#343) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow. (cert-manager/cert-manager#216)
* f117e6e8 Merge branch 'master' into patch-1 * Add Endpoints back into the cert-manager RBAC policy (cert-manager/cert-manager#343) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow. (cert-manager/cert-manager#216)
* f117e6e8 Merge branch 'master' into patch-1 * Add Endpoints back into the cert-manager RBAC policy (cert-manager/cert-manager#343) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow. (cert-manager/cert-manager#216)
* f117e6e8 Merge branch 'master' into patch-1 * Add Endpoints back into the cert-manager RBAC policy (cert-manager/cert-manager#343) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * Use cert-manager & boulder installed via helm in e2e tests. Run tests with Prow. (cert-manager/cert-manager#216)
* Bump chart and manifests for v0.3.0 release (cert-manager/cert-manager#575) * add pod labels (cert-manager/cert-manager#563) * Add leaderElection.namespace option to helm chart (cert-manager/cert-manager#548) * Add clusterResourceNamespace option to Helm chart (cert-manager/cert-manager#547) * Fix ingress-shim cli flags (cert-manager/cert-manager#526) * Create chart OWNERS (cert-manager/cert-manager#528) * Link ingress-shim into main controller binary (cert-manager/cert-manager#502) * readthedocs documentation rewrite (cert-manager/cert-manager#428) * add selector, as otherwise it fails on GKE k8s v1.9.x (cert-manager/cert-manager#440) * Add podAnnotations (cert-manager/cert-manager#387) * Document common ingressShim.extraArgs use case in chart (cert-manager/cert-manager#382) * Helm Chart: Add support for affinity and tolerations (cert-manager/cert-manager#350) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Create a Namespace resource as part of the static manifest bundle (cert-manager/cert-manager#340) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * fix: Use ConfigMaps for leaderelection (cert-manager/cert-manager#327)
* Bump chart and manifests for v0.3.0 release (cert-manager/cert-manager#575) * add pod labels (cert-manager/cert-manager#563) * Add leaderElection.namespace option to helm chart (cert-manager/cert-manager#548) * Add clusterResourceNamespace option to Helm chart (cert-manager/cert-manager#547) * Fix ingress-shim cli flags (cert-manager/cert-manager#526) * Create chart OWNERS (cert-manager/cert-manager#528) * Link ingress-shim into main controller binary (cert-manager/cert-manager#502) * readthedocs documentation rewrite (cert-manager/cert-manager#428) * add selector, as otherwise it fails on GKE k8s v1.9.x (cert-manager/cert-manager#440) * Add podAnnotations (cert-manager/cert-manager#387) * Document common ingressShim.extraArgs use case in chart (cert-manager/cert-manager#382) * Helm Chart: Add support for affinity and tolerations (cert-manager/cert-manager#350) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Create a Namespace resource as part of the static manifest bundle (cert-manager/cert-manager#340) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * fix: Use ConfigMaps for leaderelection (cert-manager/cert-manager#327)
* Bump chart and manifests for v0.3.0 release (cert-manager/cert-manager#575) * add pod labels (cert-manager/cert-manager#563) * Add leaderElection.namespace option to helm chart (cert-manager/cert-manager#548) * Add clusterResourceNamespace option to Helm chart (cert-manager/cert-manager#547) * Fix ingress-shim cli flags (cert-manager/cert-manager#526) * Create chart OWNERS (cert-manager/cert-manager#528) * Link ingress-shim into main controller binary (cert-manager/cert-manager#502) * readthedocs documentation rewrite (cert-manager/cert-manager#428) * add selector, as otherwise it fails on GKE k8s v1.9.x (cert-manager/cert-manager#440) * Add podAnnotations (cert-manager/cert-manager#387) * Document common ingressShim.extraArgs use case in chart (cert-manager/cert-manager#382) * Helm Chart: Add support for affinity and tolerations (cert-manager/cert-manager#350) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Create a Namespace resource as part of the static manifest bundle (cert-manager/cert-manager#340) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * fix: Use ConfigMaps for leaderelection (cert-manager/cert-manager#327)
* Bump chart and manifests for v0.3.0 release (cert-manager/cert-manager#575) * add pod labels (cert-manager/cert-manager#563) * Add leaderElection.namespace option to helm chart (cert-manager/cert-manager#548) * Add clusterResourceNamespace option to Helm chart (cert-manager/cert-manager#547) * Fix ingress-shim cli flags (cert-manager/cert-manager#526) * Create chart OWNERS (cert-manager/cert-manager#528) * Link ingress-shim into main controller binary (cert-manager/cert-manager#502) * readthedocs documentation rewrite (cert-manager/cert-manager#428) * add selector, as otherwise it fails on GKE k8s v1.9.x (cert-manager/cert-manager#440) * Add podAnnotations (cert-manager/cert-manager#387) * Document common ingressShim.extraArgs use case in chart (cert-manager/cert-manager#382) * Helm Chart: Add support for affinity and tolerations (cert-manager/cert-manager#350) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Create a Namespace resource as part of the static manifest bundle (cert-manager/cert-manager#340) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * fix: Use ConfigMaps for leaderelection (cert-manager/cert-manager#327)
* Bump chart and manifests for v0.3.0 release (cert-manager/cert-manager#575) * add pod labels (cert-manager/cert-manager#563) * Add leaderElection.namespace option to helm chart (cert-manager/cert-manager#548) * Add clusterResourceNamespace option to Helm chart (cert-manager/cert-manager#547) * Fix ingress-shim cli flags (cert-manager/cert-manager#526) * Create chart OWNERS (cert-manager/cert-manager#528) * Link ingress-shim into main controller binary (cert-manager/cert-manager#502) * readthedocs documentation rewrite (cert-manager/cert-manager#428) * add selector, as otherwise it fails on GKE k8s v1.9.x (cert-manager/cert-manager#440) * Add podAnnotations (cert-manager/cert-manager#387) * Document common ingressShim.extraArgs use case in chart (cert-manager/cert-manager#382) * Helm Chart: Add support for affinity and tolerations (cert-manager/cert-manager#350) * Set default cluster resource namespace to current pod namespace (cert-manager/cert-manager#329) * Create a Namespace resource as part of the static manifest bundle (cert-manager/cert-manager#340) * Add default shortNames to certificates CRD (cert-manager/cert-manager#312) * fix: Use ConfigMaps for leaderelection (cert-manager/cert-manager#327) Signed-off-by: voron <av@arilot.com>
What this PR does / why we need it:
Changes the default cluster resource namespace from kube-system to the current namespace of the cert-manager deployment.
Which issue this PR fixes: fixes #103
Release note:
/cc @mikebryant