lets not break things for now

This commit is contained in:
Felix Kunde 2019-06-26 09:19:11 +02:00
parent 993c10387a
commit 01258740c2
5 changed files with 8 additions and 7 deletions

View File

@ -108,7 +108,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
for details on tolerations and possible values of those keys. When set, this
value overrides the `pod_toleration` setting from the operator. Optional.
* **podPriorityClassName**
* **pod_priority_class_name**
a name of the [priority
class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
that should be assigned to the cluster pods. When not specified, the value

View File

@ -351,7 +351,7 @@ metadata:
name: acid-minimal-cluster
spec:
...
initContainers:
init_containers:
- name: "container-name"
image: "company/image:tag"
env:
@ -359,7 +359,7 @@ spec:
value: "any-k8s-env-things"
```
`initContainers` accepts full `v1.Container` definition.
`init_containers` accepts full `v1.Container` definition.
## Increase volume size

View File

@ -4,7 +4,8 @@ kind: postgresql
metadata:
name: acid-test-cluster
spec:
initContainers:
dockerImage: registry.opensource.zalan.do/acid/spilo-11:1.5-p8
init_containers:
- name: date
image: busybox
command: [ "/bin/date" ]

View File

@ -53,8 +53,8 @@ type PostgresSpec struct {
Databases map[string]string `json:"databases,omitempty"`
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
Sidecars []Sidecar `json:"sidecars,omitempty"`
InitContainers []v1.Container `json:"initContainers,omitempty"`
PodPriorityClassName string `json:"podPriorityClassName,omitempty"`
InitContainers []v1.Container `json:"init_containers,omitempty"`
PodPriorityClassName string `json:"pod_priority_class_name,omitempty"`
ShmVolume *bool `json:"enableShmVolume,omitempty"`
EnableLogicalBackup bool `json:"enableLogicalBackup,omitempty"`
LogicalBackupSchedule string `json:"logicalBackupSchedule,omitempty"`