mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 06:15:18 +02:00
sidecars not sideCars
This commit is contained in:
@@ -21,14 +21,3 @@ spec:
|
|||||||
foo: zalando
|
foo: zalando
|
||||||
postgresql:
|
postgresql:
|
||||||
version: "10"
|
version: "10"
|
||||||
|
|
||||||
sideCars:
|
|
||||||
- name: "pghero"
|
|
||||||
dockerImage: "ankane/pghero"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 100Mi
|
|
||||||
limits:
|
|
||||||
cpu: 300m
|
|
||||||
memory: 3000Mi
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ type PostgresSpec struct {
|
|||||||
ClusterName string `json:"-"`
|
ClusterName string `json:"-"`
|
||||||
Databases map[string]string `json:"databases,omitempty"`
|
Databases map[string]string `json:"databases,omitempty"`
|
||||||
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
|
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
|
||||||
Sidecars []Sidecar `json:"sideCars,omitempty"`
|
Sidecars []Sidecar `json:"sidecars,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PostgresqlList defines a list of PostgreSQL clusters.
|
// PostgresqlList defines a list of PostgreSQL clusters.
|
||||||
|
|||||||
Reference in New Issue
Block a user