-
Notifications
You must be signed in to change notification settings - Fork 91
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 ability to disable namespace opt-in #268
base: main
Are you sure you want to change the base?
Conversation
f4c66ce
to
c616289
Compare
73dea8a
to
ae2f67f
Compare
@slimm609 Sorry, could you rebase these changes again ? I think this PR got lost somehow. Happy to help you to get it in. |
- add the ability to disable opt-in support for namespace validation and enforce on across the entire cluster Signed-off-by: slimm609 <[email protected]>
Signed-off-by: slimm609 <[email protected]>
626f470
to
9159806
Compare
Signed-off-by: slimm609 <[email protected]>
9159806
to
13d51cf
Compare
@hectorj2f rebased |
@@ -0,0 +1,115 @@ | |||
{{ template "chart.header" . }} |
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.
Q: Why do we need this file ?
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.
You don't have to do helm-docs --dry-run
then modify the README.md each time. Instead you run helm-docs
and it generates the entire file for you.
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.
Also makes it easy to validate because if helm-docs
generates a diff, then you know it wasn't properly updated.
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.
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.
Sgtm, what do you think @cpanato ?
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.
As mentioned, let's revert this change and keep only the opt-in functionality.
Signed-off-by: slimm609 <[email protected]>
Signed-off-by: slimm609 <[email protected]>
@slimm609 Could we remove the helm docs addition as part of this PR? We want to evaluate it's benefits in a separate PR. |
## More info | ||
|
||
You can find more information about the policy-controller in [here](https://docs.sigstore.dev/policy-controller/overview/). | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) |
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.
Let's move this change to a separate PR, so we can address the issue itself.
@hectorj2f @slimm609 Any chance to promote it? 🥺 |
Description of the change
Existing or Associated Issue(s)
sigstore/policy-controller#66
Additional Information
Checklist
Chart.yaml
according to semver. Where applicable, update and bump the versions in any associated umbrella chartvalues.yaml
and added to the README.md. THe helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-run
to preview the contentct lint
command