Skip to content
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

Adds docs for projects/trust Namespace Selector feature #1038

Conversation

JoshVanL
Copy link
Contributor

Code PR

/hold
Until code PR is merged an in a release.

@jetstack-bot jetstack-bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 18, 2022
@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2022
@netlify
Copy link

netlify bot commented Jul 18, 2022

Deploy Preview for cert-manager-website ready!

Name Link
🔨 Latest commit 87e460f
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager-website/deploys/62d55b9002d4760009ec8f6f
😎 Deploy Preview https://deploy-preview-1038--cert-manager-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold

Looks good, thanks for being so diligent with documenting this!

Holding so we can choose to merge alongside the code PR and because I made a totally optional suggestion.

Comment on lines +64 to +70
The target `namespaceSelector` can be used for scoping which Namespaces targets
are synced to, supporting the field `matchLabels`. Please see
[here](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)
for more information and how label selectors are configured.

If `namespaceSelector` is empty, a bundle target will be synced to all
Namespaces.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): a rewording which maybe reads a little smoother and voids a link called "here"; what do you think?

Suggested change
The target `namespaceSelector` can be used for scoping which Namespaces targets
are synced to, supporting the field `matchLabels`. Please see
[here](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)
for more information and how label selectors are configured.
If `namespaceSelector` is empty, a bundle target will be synced to all
Namespaces.
The `namespaceSelector` field in a target reduces the set of Kubernetes namespaces to which that target is synced.
Label selectors are detailed in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors).
If `namespaceSelector` is empty, a bundle target will be synced to all namespaces.

# every namespace.
# every namespace that has the label "linkerd.io/inject=enabled".
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: it might be worth adding this to content/next-docs/projects/trust.md as well, but that only matters if this PR goes in before 1.9 and even then it'll be pretty simple for the releaser to fix!

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2022
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoshVanL, SgtCoDFish

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:
  • OWNERS [JoshVanL,SgtCoDFish]

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

@SgtCoDFish
Copy link
Member

/unhold

The feature itself has merged now; no real reason to delay this going in!

@jetstack-bot jetstack-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 21, 2022
@jetstack-bot jetstack-bot merged commit 235d99a into cert-manager:master Jul 21, 2022
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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants