lets not break things for now
This commit is contained in:
parent
993c10387a
commit
01258740c2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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" ]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ apiVersion: "acid.zalan.do/v1"
|
|||
kind: postgresql
|
||||
metadata:
|
||||
name: acid-minimal-cluster
|
||||
namespace: default
|
||||
namespace: default
|
||||
spec:
|
||||
teamId: "ACID"
|
||||
volume:
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue