mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 09:24:46 +02:00
print numberOfInstances as Pods
This commit is contained in:
@@ -27,9 +27,9 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
description: PostgreSQL version
|
description: PostgreSQL version
|
||||||
JSONPath: .spec.postgresql.version
|
JSONPath: .spec.postgresql.version
|
||||||
- name: Instances
|
- name: Pods
|
||||||
type: integer
|
type: integer
|
||||||
description: Number of instances per Postgres cluster
|
description: Number of Pods per Postgres cluster
|
||||||
JSONPath: .spec.numberOfInstances
|
JSONPath: .spec.numberOfInstances
|
||||||
- name: Volume
|
- name: Volume
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ var PostgresCRDResourceColumns = []apiextv1beta1.CustomResourceColumnDefinition{
|
|||||||
JSONPath: ".spec.postgresql.version",
|
JSONPath: ".spec.postgresql.version",
|
||||||
},
|
},
|
||||||
apiextv1beta1.CustomResourceColumnDefinition{
|
apiextv1beta1.CustomResourceColumnDefinition{
|
||||||
Name: "Instances",
|
Name: "Pods",
|
||||||
Type: "integer",
|
Type: "integer",
|
||||||
Description: "Number of instances per Postgres cluster",
|
Description: "Number of Pods per Postgres cluster",
|
||||||
JSONPath: ".spec.numberOfInstances",
|
JSONPath: ".spec.numberOfInstances",
|
||||||
},
|
},
|
||||||
apiextv1beta1.CustomResourceColumnDefinition{
|
apiextv1beta1.CustomResourceColumnDefinition{
|
||||||
|
|||||||
Reference in New Issue
Block a user