From d590b1cbe32968aaf91e2037ba201ff2c28f0f59 Mon Sep 17 00:00:00 2001
From: Felix Kunde <felix-kunde@gmx.de>
Date: Fri, 16 Aug 2019 12:13:33 +0200
Subject: [PATCH] print numberOfInstances as Pods

---
 .../templates/customrresourcedefinition.yaml                  | 4 ++--
 pkg/apis/acid.zalan.do/v1/crds.go                             | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/charts/postgres-operator/templates/customrresourcedefinition.yaml b/charts/postgres-operator/templates/customrresourcedefinition.yaml
index 9215ead9..1c6f1564 100644
--- a/charts/postgres-operator/templates/customrresourcedefinition.yaml
+++ b/charts/postgres-operator/templates/customrresourcedefinition.yaml
@@ -27,9 +27,9 @@ spec:
     type: string
     description: PostgreSQL version
     JSONPath: .spec.postgresql.version
-  - name: Instances
+  - name: Pods
     type: integer
-    description: Number of instances per Postgres cluster
+    description: Number of Pods per Postgres cluster
     JSONPath: .spec.numberOfInstances
   - name: Volume
     type: string
diff --git a/pkg/apis/acid.zalan.do/v1/crds.go b/pkg/apis/acid.zalan.do/v1/crds.go
index dd9307dd..50833db2 100644
--- a/pkg/apis/acid.zalan.do/v1/crds.go
+++ b/pkg/apis/acid.zalan.do/v1/crds.go
@@ -34,9 +34,9 @@ var PostgresCRDResourceColumns = []apiextv1beta1.CustomResourceColumnDefinition{
 		JSONPath:    ".spec.postgresql.version",
 	},
 	apiextv1beta1.CustomResourceColumnDefinition{
-		Name:        "Instances",
+		Name:        "Pods",
 		Type:        "integer",
-		Description: "Number of instances per Postgres cluster",
+		Description: "Number of Pods per Postgres cluster",
 		JSONPath:    ".spec.numberOfInstances",
 	},
 	apiextv1beta1.CustomResourceColumnDefinition{
-- 
GitLab