diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 016064e275..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "" -labels: - - kind/bug -assignees: "" ---- - - - - - -**Describe the bug** - - - -**Files that can reproduce the issue** - - - -**Expected output** - - - -**Actual output** - - - -**Kustomize version** - - - -**Platform** - - - -**Additional context** - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 0000000000..4a6cef6dd4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,87 @@ +name: Bug report +description: File a bug report +labels: ["kind/bug"] +body: + - type: textarea + id: problem + attributes: + label: What happened? + description: | + Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. + If this matter is security related, please disclose it privately via https://kubernetes.io/security + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What did you expect to happen? + validations: + required: true + + - type: textarea + id: repro-files + attributes: + label: How can we reproduce it (as minimally and precisely as possible)? + description: Please provide a minimum set of files that can reproduce the issue. You can paste the file contents here or provide a link to a tarball or git repo. Even better, submit a tests case in the api/krusty package! For more information on how to do that, see https://kubectl.docs.kubernetes.io/contributing/kustomize/bugs/. + value: | + ```yaml + # kustomization.yaml + apiVersion: kustomize.config.k8s.io/v1beta1 + kind: Kustomization + resources: + - resources.yaml + ``` + + ```yaml + # resources.yaml + apiVersion: v1 + kind: ConfigMap + metadata: + name: test-object + data: + placeholder: data + ``` + validations: + required: true + - type: textarea + id: expected-output + attributes: + label: Expected output + description: If you are able to provide reproduction files, please include the output you expect here. + value: | + ```yaml + + ``` + validations: + required: false + - type: textarea + id: actual-output + attributes: + label: Actual output + description: If you are able to provide reproduction files, please include the output they currently produce here. + value: | + ```yaml + + ``` + validations: + required: false + - type: input + id: kustomize-version + attributes: + label: Kustomize version + description: Please use the latest version whenever possible. + placeholder: What version of Kustomize are you using? + validations: + required: true + - type: dropdown + id: os + attributes: + label: Operating system + options: + - Linux + - MacOS + - Windows + - Other + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml deleted file mode 100644 index 0086358db1..0000000000 --- a/.github/ISSUE_TEMPLATE/config.yaml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..570f2b726e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ +contact_links: + - name: Support request + url: https://discuss.kubernetes.io + about: | + Please do not submit support requests or questions as issues. + Ask your question in the Kubernetes Community Forums, or in the #kustomize channel on Kubernetes Slack (https://slack.k8s.io). diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 02af903d75..0000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "" -labels: - - kind/feature -assignees: "" ---- - - - -**Is your feature request related to a problem? Please describe.** - - - -**Describe the solution you'd like** - - - -**Describe alternatives you've considered** - - - -**Additional context** - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 0000000000..98df85fa74 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,64 @@ +name: Feature request +description: Propose an enhancement to Kustomize +labels: kind/feature +body: + - type: markdown + attributes: + value: | + Small, straightforward enhancements can be proposed in regular GitHub issues using the template below. As a rule of thumb, the enhancement should be resolvable in a single PR that is at most size L. Anything more involved requires a mini (in-repo) enhancement proposal, and features with implications for kubectl require a full [KEP](https://github.com/kubernetes/enhancements). + + For more information on the Kustomize enhancement process, see: https://github.com/kubernetes-sigs/kustomize/tree/master/proposals. + + When in doubt, go ahead and fill out the template below; the maintainers will let you know if a KEP is required. + + - type: checkboxes + attributes: + label: Eschewed features + description: Some features are out of scope for Kustomize because they are incompatible with its foundational design principles. Please review the [Eschewed Features](https://kubectl.docs.kubernetes.io/faq/kustomize/eschewedfeatures/) documentation before submitting your feature request. + options: + - label: This issue is not requesting templating, unstuctured edits, build-time side-effects from args or env vars, or any other eschewed feature. + required: true + + - type: textarea + id: feature-description + attributes: + label: What would you like to have added? + validations: + required: true + + - type: textarea + id: rationale + attributes: + label: Why is this needed? + validations: + required: true + + - type: textarea + id: current-alternatives + attributes: + label: Can you accomplish the motivating task without this feature, and if so, how? + validations: + required: true + + + - type: textarea + id: design-alternatives + attributes: + label: What other solutions have you considered? + validations: + required: true + + - type: textarea + id: additional-info + attributes: + label: Anything else we should know? + validations: + required: false + + - type: checkboxes + attributes: + label: Feature ownership + description: The Kustomize project, like many areas of Kubernetes, currently lacks enough contributors to adequately respond to all proposals that have merit. Offering to build and support the feature yourself can help get traction for your request. + options: + - label: I am interested in contributing this feature myself! 🎉 + required: false diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index a4eef3559f..0000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Question -about: Ask a question about the kustomize -title: "[Question]" -labels: "" -assignees: "" ---- - -