Skip to content

Commit 4590560

Browse files
authored
Merge pull request #111 from cybertec-postgresql/Issue_template
update templates & developer doc
2 parents a063b96 + 2862760 commit 4590560

3 files changed

Lines changed: 444 additions & 22 deletions

File tree

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,70 @@
11
---
2-
name: Postgres Operator issue template
2+
name: CYBERTEC-PG-Operator issue template
33
about: How are you using the operator?
4-
title: ''
4+
title: '[BUG] Brief description of the problem'
55
labels: ''
66
assignees: ''
77

88
---
99

10-
Please, answer some short questions which should help us to understand your problem / question better?
10+
To quickly narrow down the problem, we need details about your infrastructure.
1111

12-
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.10.1
13-
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
14-
- **Are you running Postgres Operator in production?** [yes | no]
15-
- **Type of issue?** [Bug report, question, feature request, etc.]
12+
- **Operator version / image:** [e.g. docker.io/cybertecpostgresql/cybertec-pg-operator:v0.9.0-1]
13+
- **Postgres Docker Image:** [e.g., containers.cybertec.at/cybertec-pg-container/postgres:rocky9-18.1-1]
14+
- **Kubernetes Platform:** [Please check or add]
15+
- [ ] Vanilla Kubernetes (Bare Metal / VM)
16+
- [ ] OpenShift
17+
- [ ] Rancher / RKE / RKE2
18+
- [ ] AWS EKS
19+
- [ ] Google GKE
20+
- [ ] Azure AKS
21+
- [ ] Minikube / Kind / K3s
22+
- [ ] Other: ________
23+
- **Kubernetes version:** [Output of `kubectl version`, e.g. v1.28.3]
24+
- **Storage Class:** [e.g., standard, gp2, longhorn, ceph-rbd]
25+
- **Is the operator running in production?** [Yes / No]
1626

17-
Some general remarks when posting a bug report:
18-
- Please, check the operator, pod (Patroni) and postgresql logs first. When copy-pasting many log lines please do it in a separate GitHub gist together with your Postgres CRD and configuration manifest.
19-
- If you feel this issue might be more related to the [Spilo](https://github.com/zalando/spilo/issues) docker image or [Patroni](https://github.com/zalando/patroni/issues), consider opening issues in the respective repos.
27+
---
28+
29+
### Problem Description
30+
31+
**What happened?**
32+
Describe the unexpected behavior.
33+
34+
**What did you expect?**
35+
Describe what should have happened.
36+
37+
---
38+
39+
### Steps to reproduce
40+
41+
How can we reproduce the problem?
42+
1. Applied Postgres cluster manifest (see below)
43+
2. Executed command: `...`
44+
3. Error occurs when ...
45+
46+
---
47+
48+
### Relevant logs and manifests
49+
50+
**IMPORTANT:** Please use code blocks (```) to format logs and YAML files in a readable way.
51+
52+
**1. Operator logs:**
53+
(Please check the logs of the operator pod for errors)
54+
```text
55+
Insert logs here...
56+
```
57+
58+
**2. Postgres / Patroni /pgBackRest logs: (If the pod starts but the DB is not running):**
59+
(Please check the logs of the postgres or pgbackrest pod for errors)
60+
```text
61+
Insert logs here...
62+
```
63+
64+
**3. Postgres Cluster Manifest (YAML): (Please remove passwords or sensitive data!)**
65+
```yaml
66+
Insert Manifest here...
67+
```
68+
69+
**Additional information**
70+
Are there any special circumstances in your setup? (e.g., service mesh such as Istio/Linkerd, special network policies, air-gapped environment?)
Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
## Problem description
2-
3-
4-
5-
## Linked issues
1+
## Description
2+
## Type of Change
3+
- [ ] Bug fix (non-breaking change which fixes an issue)
4+
- [ ] New feature (non-breaking change which adds functionality)
5+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
6+
- [ ] Documentation update
67

78

9+
## Linked Issues
10+
---
811

912
## Checklist
1013

11-
Thanks for submitting a pull request to the Postgres Operator project.
12-
Please, ensure your contribution matches the following items:
14+
Thanks for submitting a pull request to the CYBERTEC-pg-operator project!
15+
Please ensure your contribution matches the following items:
16+
17+
- [ ] **Code Formatting:** My code follows the Go formatting standards. (Your IDE should do this automatically, or run `go fmt`).
18+
- [ ] **Generated Code:** I have updated [generated code](https://cybertec-postgresql.github.io/CYBERTEC-pg-operator/contribution#code-generation) (clientset, deepcopy) when introducing new fields to the `cpo.opensource.cybertec.at` API package.
19+
- [ ] **Configuration & CRDs:** New [configuration options](https://cybertec-postgresql.github.io/CYBERTEC-pg-operator/contribution#introduce-additional-configuration-parameters) are reflected in:
20+
- [ ] The Go struct definitions
21+
- [ ] The CRD validation manifests (YAML)
22+
- [ ] The Helm Charts
23+
- [ ] The sample manifests
24+
- [ ] **Tests:** New functionality is covered by [unit tests](https://cybertec-postgresql.github.io/CYBERTEC-pg-operator/contribution#unit-tests) and/or [e2e tests](https://cybertec-postgresql.github.io/CYBERTEC-pg-operator/contribution#end-to-end-tests).
25+
- [ ] **Existing PRs:** I have checked existing open PRs to ensure there are no duplicates or conflicts.
1326

14-
- [ ] Your go code is [formatted](https://blog.golang.org/gofmt). Your IDE should do it automatically for you.
15-
- [ ] You have updated [generated code](https://github.com/zalando/postgres-operator/blob/master/docs/developer.md#code-generation) when introducing new fields to the `acid.zalan.do` api package.
16-
- [ ] New [configuration options](https://github.com/zalando/postgres-operator/blob/master/docs/developer.md#introduce-additional-configuration-parameters) are reflected in CRD validation, helm charts and sample manifests.
17-
- [ ] New functionality is covered by [unit](https://github.com/zalando/postgres-operator/blob/master/docs/developer.md#unit-tests) and/or [e2e](https://github.com/zalando/postgres-operator/blob/master/docs/developer.md#end-to-end-tests) tests.
18-
- [ ] You have checked existing open PRs for possible overlay and referenced them.
27+
## How has this been tested?

0 commit comments

Comments
 (0)