From fcc7927ffb5cbae8db0223efda90debe36574760 Mon Sep 17 00:00:00 2001 From: CatherineF-dev Date: Mon, 20 Nov 2023 22:27:39 -0500 Subject: [PATCH 1/4] Add reproduce example in bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7ed72ebd13..04333b5d38 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -26,3 +26,11 @@ If the matter is security related, please disclose it privately see https://gith * Kubernetes version (use `kubectl version`): * Cloud provider or hardware configuration: * Other info: + +**Reproduce example**: +```bash +# https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276 +minikube start +... +go run main.go --custom-resource-state-only --custom-resource-state-config-file ksm-2223/custom-resource-config-file.yaml --kubeconfig ~/.kube/config +``` From be0082792a1ce9542019bf619684d1a091a82819 Mon Sep 17 00:00:00 2001 From: CatherineF-dev Date: Mon, 20 Nov 2023 22:31:18 -0500 Subject: [PATCH 2/4] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 04333b5d38..6817cc37d1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -28,6 +28,7 @@ If the matter is security related, please disclose it privately see https://gith * Other info: **Reproduce example**: + ```bash # https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276 minikube start From f25f840a55efbcac738e6c6eb2a741ab6002357d Mon Sep 17 00:00:00 2001 From: CatherineF-dev Date: Wed, 22 Nov 2023 09:17:13 -0500 Subject: [PATCH 3/4] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6817cc37d1..0f9e8628d8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,6 +17,12 @@ If the matter is security related, please disclose it privately see https://gith **What you expected to happen**: **How to reproduce it (as minimally and precisely as possible)**: +```bash +# An example: https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276 +minikube start +... +go run main.go --custom-resource-state-only --custom-resource-state-config-file ksm-2223/custom-resource-config-file.yaml --kubeconfig ~/.kube/config +``` **Anything else we need to know?**: @@ -26,12 +32,3 @@ If the matter is security related, please disclose it privately see https://gith * Kubernetes version (use `kubectl version`): * Cloud provider or hardware configuration: * Other info: - -**Reproduce example**: - -```bash -# https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276 -minikube start -... -go run main.go --custom-resource-state-only --custom-resource-state-config-file ksm-2223/custom-resource-config-file.yaml --kubeconfig ~/.kube/config -``` From d3fe638cab9a0d20f7db4ad691762f20b2fe8f88 Mon Sep 17 00:00:00 2001 From: CatherineF-dev Date: Thu, 23 Nov 2023 08:07:46 -0500 Subject: [PATCH 4/4] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0f9e8628d8..bd631d23a8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,6 +17,7 @@ If the matter is security related, please disclose it privately see https://gith **What you expected to happen**: **How to reproduce it (as minimally and precisely as possible)**: + ```bash # An example: https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276 minikube start