Skip to content

Support for custom dns settings - #522

Merged
jetstack-bot merged 4 commits into
cert-manager:masterfrom
fgrehm:support-for-custom-dns-settings
Jun 5, 2018
Merged

jetstack-bot merged 4 commits into
cert-manager:masterfrom
fgrehm:support-for-custom-dns-settings

Conversation

@fgrehm

@fgrehm fgrehm commented Apr 29, 2018 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Add support for custom DNS settings for the cert-manager pod

This allows HTTP / DNS challenges to be self checked in AWS setups in which both a public and private DNS zone are present for the same domains. Without this the pod will never see the challenge that is going to be presented to LE because they'll be added to public ingresses / DNS zones, failing with something along these lines:

I0427 13:23:33.027444       1 sync.go:241] Error preparing issuer for certificate frehm/testing: http-01 self check failed for domain "testing.dev.k8s.cafe

Which issue this PR fixes:

I remember seeing some comments / issues related to this but haven't had a chance to look around again.

Special notes for your reviewer:

This is my first ever contribution to a Helm chart. LMK if it should be done in a different way.

Add support for custom DNS settings for the cert-manager pod (Kubernetes 1.10+)

@jetstack-bot

Copy link
Copy Markdown
Contributor

@fgrehm: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

Details

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed.

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.

@jetstack-bot jetstack-bot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 29, 2018
@jetstack-bot
jetstack-bot requested a review from kragniz April 29, 2018 22:09
@jetstack-bot jetstack-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 24, 2018
@fgrehm

fgrehm commented May 28, 2018

Copy link
Copy Markdown
Contributor Author

Hey @kragniz! Is this something you guys are really interested in? I can rebase if you are!

Thanks in advance.

@munnerz

munnerz commented Jun 4, 2018

Copy link
Copy Markdown
Member

Sorry for the delay getting back to you -

Thanks very much for the contribution, there's been quite a few requests for this!

This looks good to me - would you mind rebasing so I can add the lgtm labels?

You'll also need to bump the version number in the Helm chart, and afterward run ./hack/update-deploy-gen.sh to regenerate the static deployment manifest files.

@munnerz

munnerz commented Jun 4, 2018

Copy link
Copy Markdown
Member

/ok-to-test

@jetstack-bot jetstack-bot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 4, 2018
fgrehm added 3 commits June 4, 2018 16:32
This allows HTTP / DNS challenges to be self checked in AWS setups in
which both a public and private DNS zone are present for the same
domains. Without this the pod will never see the challenge that is going
to be presented to LE because they'll be added to public ingresses / DNS
zones
@fgrehm
fgrehm force-pushed the support-for-custom-dns-settings branch from cb2156d to b39ab09 Compare June 4, 2018 19:37
@jetstack-bot jetstack-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 4, 2018
@fgrehm

fgrehm commented Jun 4, 2018 •

Copy link
Copy Markdown
Contributor Author

@munnerz

Sorry for the delay getting back to you -

All good :)

This looks good to me - would you mind rebasing so I can add the lgtm labels?

Done!

You'll also need to bump the version number in the Helm chart, and afterward run ./hack/update-deploy-gen.sh to regenerate the static deployment manifest files.

Also done, I bumped the chart to 0.3.2, I was thinking about going 0.4.0 but looking at the chart's history I think you guys keep the chart version "more or less in sync" with the app version right? LMK if I should tag as 0.4.0!


EDIT Looks like the script removed some empty lines on my machine which caused the build to fail. I removed those lines in this other commit and I think it worked

@fgrehm
fgrehm force-pushed the support-for-custom-dns-settings branch from b39ab09 to e90fb5a Compare June 4, 2018 19:43
@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Jun 5, 2018
@munnerz

munnerz commented Jun 5, 2018

Copy link
Copy Markdown
Member

Thanks! 😄

I'll make a PR to cherry pick this change into release-0.3 shortly 😄

/lgtm
/approve

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 5, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2018
@jetstack-bot
jetstack-bot merged commit 2f69555 into cert-manager:master Jun 5, 2018
jetstack-bot added a commit that referenced this pull request Jun 5, 2018
…stream-release-0.3

Automated cherry pick of #522
munnerz added a commit to munnerz/charts-1 that referenced this pull request Jul 12, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
k8s-ci-robot pushed a commit to helm/charts that referenced this pull request Jul 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)

Signed-off-by: Jakob Niggel <[email protected]>
gsemet pushed a commit to gsemet/charts that referenced this pull request Nov 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants