...
1# Copyright 2022 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15name: 'Bug'
16description: "Report something that doesn't work how it should. Whenever possible, please open a ticket with [GCP support](https://cloud.google.com/support-hub) instead."
17labels: ['bug']
18body:
19- type: checkboxes
20 id: checklist
21 attributes:
22 label: Checklist
23 options:
24 - label: I did not find a related open issue.
25 required: true
26 - label: 'I did not find a solution in the troubleshooting guide: (https://cloud.google.com/config-connector/docs/troubleshooting)'
27 required: true
28 - label: 'If this issue is time-sensitive, I have submitted a corresponding issue with [GCP support](https://cloud.google.com/support-hub).'
29 required: true
30- type: 'markdown'
31 attributes:
32 value: |-
33 Thank you for filing a bug. Please complete the form below so we can triage, reproduce, and fix your issue.
34
35- id: 'bug-desc'
36 type: 'textarea'
37 attributes:
38 label: 'Bug Description'
39 description: 'A clear and concise description of the bug.'
40 validations:
41 required: true
42
43- id: 'optional-diag'
44 type: 'textarea'
45 attributes:
46 label: 'Additional Diagnostic Information'
47 description: 'Any additional diagnostic info'
48 validations:
49 required: true
50
51- type: input
52 id: k8s-version
53 attributes:
54 label: Kubernetes Cluster Version
55 description: kubectl version --short
56 validations:
57 required: true
58
59- type: input
60 id: kcc-version
61 attributes:
62 label: Config Connector Version
63 description: |
64 kubectl get ns cnrm-system -o jsonpath='{.metadata.annotations.cnrm\\.cloud\\.google\\.com/version}'
65 validations:
66 required: true
67
68- type: dropdown
69 id: kcc-mode
70 attributes:
71 label: Config Connector Mode
72 description: 'kubectl get ConfigConnector "configconnector.core.cnrm.cloud.google.com" -o=jsonpath="{@.spec.mode}"'
73 options:
74 - namespaced mode (default)
75 - cluster mode
76 validations:
77 required: true
78
79- id: 'logs'
80 type: 'textarea'
81 attributes:
82 label: 'Log Output'
83 description: |
84 Include any relevant log output.
85 See https://cloud.google.com/config-connector/docs/troubleshooting#logging.
86 If the issue is for a specific resource, please include those logs.
87
88- id: 'repro'
89 type: 'textarea'
90 attributes:
91 label: 'Steps to reproduce the issue'
92 description: 'Steps needed to reproduce the issue.'
93 validations:
94 required: true
95
96- id: 'repro-yaml'
97 type: 'textarea'
98 attributes:
99 label: 'YAML snippets'
100 description: 'YAML snippets needed to reproduce the issue. See the following as an example.'
101 render: 'YAML'
102 placeholder: |
103 apiVersion: pubsub.cnrm.cloud.google.com/v1beta1
104 kind: PubSubTopic
105 metadata:
106 labels:
107 label-one: "value-one"
108 name: pubsubtopic-sample
View as plain text