From 6b2a02bf40cdd1ce7a54d10aea7bec6e21e45a6a Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Wed, 6 Jun 2018 01:33:52 +0000 Subject: [PATCH] sidecars not sideCars --- manifests/minimal-postgres-manifest.yaml | 11 ----------- pkg/spec/postgresql.go | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/manifests/minimal-postgres-manifest.yaml b/manifests/minimal-postgres-manifest.yaml index 771b3ff7c..c8f486201 100644 --- a/manifests/minimal-postgres-manifest.yaml +++ b/manifests/minimal-postgres-manifest.yaml @@ -21,14 +21,3 @@ spec: foo: zalando postgresql: version: "10" - - sideCars: - - name: "pghero" - dockerImage: "ankane/pghero" - resources: - requests: - cpu: 10m - memory: 100Mi - limits: - cpu: 300m - memory: 3000Mi diff --git a/pkg/spec/postgresql.go b/pkg/spec/postgresql.go index 76999c673..d59ccd22c 100644 --- a/pkg/spec/postgresql.go +++ b/pkg/spec/postgresql.go @@ -133,7 +133,7 @@ type PostgresSpec struct { ClusterName string `json:"-"` Databases map[string]string `json:"databases,omitempty"` Tolerations []v1.Toleration `json:"tolerations,omitempty"` - Sidecars []Sidecar `json:"sideCars,omitempty"` + Sidecars []Sidecar `json:"sidecars,omitempty"` } // PostgresqlList defines a list of PostgreSQL clusters.