-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add config to disable auto-creation of domain claims #330
Conversation
Codecov Report
@@ Coverage Diff @@
## master #330 +/- ##
==========================================
+ Coverage 95.09% 95.30% +0.21%
==========================================
Files 38 37 -1
Lines 815 767 -48
==========================================
- Hits 775 731 -44
+ Misses 29 25 -4
Partials 11 11
Continue to review full report at Codecov.
|
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.
/lgtm
/approve
@@ -116,6 +116,10 @@ const ( | |||
// constructing the Knative Route's tag names. | |||
DefaultTagTemplate = "{{.Tag}}-{{.Name}}" | |||
|
|||
// AutocreateClusterDomainClaimsKey is the key for the | |||
// AutocreateClusterDomainClaims property. | |||
AutocreateClusterDomainClaimsKey = "autocreateClusterDomainClaims" |
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 don't like this name, but I don't have a better suggestion. 🤔
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.
same :(. If we can come up with something better before we make this "beta", that'd be nice.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: julz, mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
🎁 Adds
autocreateClusterDomainClaims
flag to network configmap.Used to disable automatic claiming of domain names in favour of explicit delegation of domain name ownership to namespaces via the spec.Namespace field of
ClusterDomainClaim
(this is important for multi-tenant environments which need to prevent 'squatting' or 'intercepting' domain names used in other namespaces but exposed via the shared ingress)./kind enhancement
Release Note
/assign @mattmoor @tcnghia