mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 10:28:36 +00:00
Issue forms and PR template adjustment (#3213)
* add cherry pick requirement Signed-off-by: Chip Zoller <chipzoller@gmail.com> * adopt github issue forms Signed-off-by: Chip Zoller <chipzoller@gmail.com>
This commit is contained in:
parent
9ec53af295
commit
3dcf165d77
9 changed files with 307 additions and 88 deletions
91
.github/ISSUE_TEMPLATE/bug-cli.yaml
vendored
Normal file
91
.github/ISSUE_TEMPLATE/bug-cli.yaml
vendored
Normal file
|
@ -0,0 +1,91 @@
|
|||
name: "Bug Report: CLI"
|
||||
description: Report a bug in the Kyverno CLI.
|
||||
title: "[Bug] [CLI] "
|
||||
labels: ["bug", "type:cli"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Please tell us about the bug, but before doing so ensure you have read the documentation on the CLI functionality found [here](https://kyverno.io/docs/kyverno-cli/).
|
||||
- type: dropdown
|
||||
id: kyverno-version
|
||||
attributes:
|
||||
label: Kyverno CLI Version
|
||||
description: >-
|
||||
What version of the Kyverno CLI are you running (`kyverno version`)?
|
||||
options:
|
||||
- 1.4.x
|
||||
- 1.5.x
|
||||
- 1.6.x
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Description
|
||||
description: Describe what happened.
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-reproduce-steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: >-
|
||||
What are the exact steps needed to reproduce the bug you experienced? Please provide any and all manifests needed to reproduce your issue, including Kyverno policies and test Kubernetes resources.
|
||||
GitHub supports [syntax highlighting](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) with code blocks.
|
||||
# placeholder: Tell us what you see!
|
||||
value: |-
|
||||
1.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-expectations
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What did you expect to happen?
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-screenshots
|
||||
attributes:
|
||||
label: Screenshots
|
||||
description: >-
|
||||
If you have any screenshots that would help, please paste them below.
|
||||
GitHub allows you to copy-and-paste directly from the clipboard into the text area.
|
||||
**Please avoid taking screenshots of either log or terminal output**; paste any textual output in the logs section below.
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Kyverno logs
|
||||
description: >-
|
||||
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
||||
Kyverno CLI logs may be found by passing the -v flag to any command.
|
||||
render: shell
|
||||
- type: input
|
||||
id: slack
|
||||
attributes:
|
||||
label: Slack discussion
|
||||
description: >-
|
||||
If this issue is the result of a discussion thread on Slack, please provide the link to the discussion for reference.
|
||||
# placeholder: ex. email@example.com
|
||||
validations:
|
||||
required: false
|
||||
- type: checkboxes
|
||||
id: troubleshooting
|
||||
attributes:
|
||||
label: Troubleshooting
|
||||
description: >-
|
||||
By submitting this issue, you agree that you have performed some basic attempts at researching and solving your problem.
|
||||
options:
|
||||
- label: I have read and followed the [troubleshooting guide](https://kyverno.io/docs/troubleshooting/).
|
||||
required: true
|
||||
- label: I have searched other issues in this repository and mine is not recorded.
|
||||
required: true
|
136
.github/ISSUE_TEMPLATE/bug-webhook.yaml
vendored
Normal file
136
.github/ISSUE_TEMPLATE/bug-webhook.yaml
vendored
Normal file
|
@ -0,0 +1,136 @@
|
|||
name: "Bug Report: Webhook"
|
||||
description: Report a bug with the Kyverno webhook.
|
||||
title: "[Bug] "
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Please tell us about the bug, but before doing so ensure you have read the [documentation](https://kyverno.io/docs/).
|
||||
- type: dropdown
|
||||
id: kyverno-version
|
||||
attributes:
|
||||
label: Kyverno Version
|
||||
description: What version of Kyverno are you running?
|
||||
options:
|
||||
- 1.4.x
|
||||
- 1.5.x
|
||||
- 1.6.x
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: k8s-version
|
||||
attributes:
|
||||
label: Kubernetes Version
|
||||
description: What version of Kubernetes are you running?
|
||||
options:
|
||||
- 1.20.x
|
||||
- 1.21.x
|
||||
- 1.22.x
|
||||
- 1.23.x
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: k8s-platform
|
||||
attributes:
|
||||
label: Kubernetes Platform
|
||||
description: What Kubernetes platform are you using?
|
||||
options:
|
||||
- EKS
|
||||
- GKE
|
||||
- AKS
|
||||
- KinD
|
||||
- Minikube
|
||||
- K3d
|
||||
- OpenShift
|
||||
- VMware Tanzu (specify in description)
|
||||
- Bare metal
|
||||
- Other (specify in description)
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: kyverno-rule
|
||||
attributes:
|
||||
label: Kyverno Rule Type
|
||||
description: What Kyverno rule type?
|
||||
options:
|
||||
- Validate
|
||||
- Mutate
|
||||
- Generate
|
||||
- imageVerify
|
||||
- Other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Description
|
||||
description: Describe what happened.
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-reproduce-steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: >-
|
||||
What are the exact steps needed to reproduce the bug you experienced?
|
||||
Please provide any and all manifests needed to reproduce your issue, including Kyverno policies and test Kubernetes resources.
|
||||
GitHub supports [syntax highlighting](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) with code blocks.
|
||||
# placeholder: Tell us what you see!
|
||||
value: |-
|
||||
1.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-expectations
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What did you expect to happen?
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: bug-screenshots
|
||||
attributes:
|
||||
label: Screenshots
|
||||
description: >-
|
||||
If you have any screenshots that would help, please paste them below.
|
||||
GitHub allows you to copy-and-paste directly from the clipboard into the text area.
|
||||
**Please avoid taking screenshots of either log or terminal output**; paste any textual output in the logs section below.
|
||||
# placeholder: Tell us what you see!
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Kyverno logs
|
||||
description: >-
|
||||
Please copy and paste any relevant log output.
|
||||
This will be automatically formatted into code, so no need for backticks.
|
||||
For help on how to view Pod logs in Kubernetes, see [here](https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/#examine-pod-logs).
|
||||
For guidance on how to enable more verbose log output in Kyverno, see [the documentation](https://kyverno.io/docs/troubleshooting/#policies-are-partially-applied).
|
||||
render: shell
|
||||
- type: input
|
||||
id: slack
|
||||
attributes:
|
||||
label: Slack discussion
|
||||
description: >-
|
||||
If this issue is the result of a discussion thread on Slack, please provide the link to the discussion for reference.
|
||||
# placeholder: ex. email@example.com
|
||||
validations:
|
||||
required: false
|
||||
- type: checkboxes
|
||||
id: troubleshooting
|
||||
attributes:
|
||||
label: Troubleshooting
|
||||
description: >-
|
||||
By submitting this issue, you agree that you have performed some basic attempts at researching and solving your problem.
|
||||
options:
|
||||
- label: I have read and followed the documentation AND the [troubleshooting guide](https://kyverno.io/docs/troubleshooting/).
|
||||
required: true
|
||||
- label: I have searched other issues in this repository and mine is not recorded.
|
||||
required: true
|
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve.
|
||||
title: "[BUG]"
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Software version numbers**
|
||||
State the version numbers of applications involved in the bug.
|
||||
|
||||
* Kubernetes version:
|
||||
* Kubernetes platform (if applicable; ex., EKS, GKE, OpenShift):
|
||||
* Kyverno version:
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
11
.github/ISSUE_TEMPLATE/config.yml
vendored
11
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -1,9 +1,14 @@
|
|||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Kyverno Community Support (#kyverno channel on the Kubernetes Slack)
|
||||
- name: Kyverno Documentation Issues
|
||||
url: https://github.com/kyverno/website/issues/new/choose
|
||||
about: For any feedback or bug reports on the Kyverno documentation, follow the link.
|
||||
- name: Kyverno Policy Issues
|
||||
url: https://github.com/kyverno/policies/issues/new/choose
|
||||
about: For issues with a sample policy or to request a new one, follow the link.
|
||||
- name: Kyverno Community Support (#kyverno channel on Kubernetes Slack)
|
||||
url: https://kubernetes.slack.com/archives/CLGR9BJU9
|
||||
about: Please ask and answer any Kyverno usage questions here.
|
||||
- name: Kyverno Contributor Discussions
|
||||
url: https://github.com/kyverno/kyverno/discussions
|
||||
about: Please ask and answer questions Kyverno internals questions here.
|
||||
|
||||
about: Please ask and answer questions related to Kyverno internals here.
|
||||
|
|
63
.github/ISSUE_TEMPLATE/feature.yaml
vendored
Normal file
63
.github/ISSUE_TEMPLATE/feature.yaml
vendored
Normal file
|
@ -0,0 +1,63 @@
|
|||
name: "Feature Request"
|
||||
description: Suggest a new feature for Kyverno to support.
|
||||
title: "[Feature] "
|
||||
labels: ["enhancement"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Please explain the new feature.
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem Statement
|
||||
description: Describe the problem.
|
||||
placeholder: A clear and concise description of the problem statement.
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Solution Description
|
||||
description: Describe the solution you'd like.
|
||||
placeholder: A clear and concise description of what you want to happen.
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives
|
||||
description: Describe alternatives you've considered.
|
||||
placeholder: A clear and concise description of any alternative solutions or features you've considered.
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: context
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Any additional context to this enhancement request.
|
||||
placeholder: Add any other context or screenshots about the feature request here.
|
||||
# value: "asdf"
|
||||
validations:
|
||||
required: false
|
||||
- type: input
|
||||
id: slack
|
||||
attributes:
|
||||
label: Slack discussion
|
||||
description: If this feature request is the result of a discussion thread on Slack, please provide the link to the discussion for reference.
|
||||
# placeholder: ex. email@example.com
|
||||
validations:
|
||||
required: false
|
||||
- type: checkboxes
|
||||
id: research
|
||||
attributes:
|
||||
label: Research
|
||||
description: By submitting this issue, you agree that you have performed some basic attempts at researching your problem and solution.
|
||||
options:
|
||||
- label: I have read and followed the documentation AND the [troubleshooting guide](https://kyverno.io/docs/troubleshooting/).
|
||||
required: true
|
||||
- label: I have searched other issues in this repository and mine is not recorded.
|
||||
required: true
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -1,20 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
28
.github/ISSUE_TEMPLATE/sample-policy.md
vendored
28
.github/ISSUE_TEMPLATE/sample-policy.md
vendored
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Sample Policy
|
||||
about: Suggest a policy that you would like Kyverno to support.
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!-- Please use this template to describe a new policy that you would like Kyverno to support-->
|
||||
|
||||
**Checklist**
|
||||
|
||||
<!-- Put an `x` in the boxes that apply to indicate you have done these things. -->
|
||||
|
||||
- [x] I have verified the policy does not exist in the [samples library](https://kyverno.io/policies/).
|
||||
|
||||
**Is your policy request related to a problem? Please describe.**
|
||||
|
||||
A clear and concise description of what the problem is.
|
||||
|
||||
**Describe the ideal solution you'd like**
|
||||
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Additional context**
|
||||
|
||||
Add any other context or screenshots about the feature request here.
|
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -16,6 +16,7 @@ You can discuss changes with maintainers in the [Kyverno Slack Channel](https://
|
|||
Add the milestone label by commenting `/milestone 1.2.3`.
|
||||
|
||||
-->
|
||||
|
||||
## What type of PR is this
|
||||
|
||||
<!--
|
||||
|
@ -86,12 +87,13 @@ them, don't hesitate to ask. We're here to help! This is simply a reminder of wh
|
|||
- [ ] I have read the [contributing guidelines](https://github.com/kyverno/kyverno/blob/main/CONTRIBUTING.md).
|
||||
- [ ] I have read the [PR documentation guide](https://github.com/kyverno/kyverno/blob/main/.github/pr_documentation.md) and followed the process including adding proof manifests to this PR.
|
||||
- [ ] I have added tests that prove my fix is effective or that my feature works.
|
||||
- [ ] My PR needs to be cherry picked to a specific release branch which is <replace>.
|
||||
- [ ] My PR contains new or altered behavior to Kyverno and
|
||||
- [ ] CLI support should be added my PR doesn't contain that functionality.
|
||||
- [ ] CLI support should be added and my PR doesn't contain that functionality.
|
||||
- [ ] I have added or changed [the documentation](https://github.com/kyverno/website) myself in an existing PR and the link is:
|
||||
<!-- Uncomment to link to the PR -->
|
||||
<!-- https://github.com/kyverno/website/pull/123 -->
|
||||
- [ ] I have raised an issue in [kyverno/website](https://github.com/kyverno/website) to track the doc update and the link is:
|
||||
- [ ] I have raised an issue in [kyverno/website](https://github.com/kyverno/website) to track the documentation update and the link is:
|
||||
<!-- Uncomment to link to the issue -->
|
||||
<!-- https://github.com/kyverno/website/issues/1 -->
|
||||
|
||||
|
|
6
.github/pr_documentation.md
vendored
6
.github/pr_documentation.md
vendored
|
@ -142,4 +142,8 @@ See that the Deployment fails now that Kyverno can read from multi-line YAML str
|
|||
|
||||
## CLI Support
|
||||
|
||||
A new feature which has been implemented for the webhook may often need to be available in the [Kyverno CLI](https://kyverno.io/docs/kyverno-cli/) simultaneously. Please ensure your tests and Proof Manifests include one for the `test` command allowing validation of the CLI functionality. If the provided functionality does not work in the CLI, a separate issue may need to be raised.
|
||||
A new feature which has been implemented for the webhook may often need to be available in the [Kyverno CLI](https://kyverno.io/docs/kyverno-cli/) simultaneously. Please ensure your tests and Proof Manifests include one for the `test` command allowing validation of the CLI functionality. If the provided functionality does not work in the CLI, a separate issue may need to be raised.
|
||||
|
||||
## Cherry Picking for Releases
|
||||
|
||||
Kyverno releases are generated from release branches. When the release branch is created, if there's any change that needs to be back ported for patches we cherry-pick commits to include them in the release. To assist in the cherry-pick process, please check the box that this PR is targeting a specific release branch as reviewers wants to make sure current PR has the right milestone and cherry-pick PR targets to the same release branch.
|
||||
|
|
Loading…
Add table
Reference in a new issue