Commit c1f0902
authored
Update Label & Selector for 'pgo show cluster'
This commit updates the label selector utilized to identify the
PostgreSQL pods within a cluster when running the
'pgo show cluster' command. Specifically, the 'pgo-pg-database'
and 'pg-cluster' labels are now utilized to ensure only database
Pods (i.e. PostgreSQL primary and replica Pods) are displayed
when running this command. Additionally, the 'pgo-pg-database'
label has been removed from the cluster bootstrap Job template
to prevent bootstrap Pods from appearing in the output of the
'pgo show cluster' command.1 parent 953e770 commit c1f0902
File tree
3 files changed
+3
-5
lines changed- conf/postgres-operator
- installers/ansible/roles/pgo-operator/files/pgo-configs
- internal/apiserver/clusterservice
3 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
0 commit comments