mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 20:08:17 +02:00
Merge branch 'master' into delete-volume-on-scale-down
This commit is contained in:
@@ -12,6 +12,29 @@ spec:
|
||||
volume:
|
||||
size: 1Gi
|
||||
# storageClass: my-sc
|
||||
additionalVolumes:
|
||||
- name: data
|
||||
mountPath: /home/postgres/pgdata/partitions
|
||||
targetContainers:
|
||||
- postgres
|
||||
volumeSource:
|
||||
PersistentVolumeClaim:
|
||||
claimName: pvc-postgresql-data-partitions
|
||||
readyOnly: false
|
||||
- name: conf
|
||||
mountPath: /etc/telegraf
|
||||
subPath: telegraf.conf
|
||||
targetContainers:
|
||||
- telegraf-sidecar
|
||||
volumeSource:
|
||||
configMap:
|
||||
name: my-config-map
|
||||
- name: empty
|
||||
mountPath: /opt/empty
|
||||
targetContainers:
|
||||
- all
|
||||
volumeSource:
|
||||
emptyDir: {}
|
||||
numberOfInstances: 2
|
||||
users: # Application/Robot users
|
||||
zalando:
|
||||
@@ -125,5 +148,8 @@ spec:
|
||||
certificateFile: "tls.crt"
|
||||
privateKeyFile: "tls.key"
|
||||
caFile: "" # optionally configure Postgres with a CA certificate
|
||||
# file names can be also defined with absolute path, and will no longer be relative
|
||||
# to the "/tls/" path where the secret is being mounted by default.
|
||||
# When TLS is enabled, also set spiloFSGroup parameter above to the relevant value.
|
||||
# if unknown, set it to 103 which is the usual value in the default spilo images.
|
||||
# In Openshift, there is no need to set spiloFSGroup/spilo_fsgroup.
|
||||
|
||||
@@ -38,6 +38,28 @@ spec:
|
||||
- teamId
|
||||
- postgresql
|
||||
properties:
|
||||
additionalVolumes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
- mountPath
|
||||
- volumeSource
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
targetContainers:
|
||||
type: array
|
||||
nullable: true
|
||||
items:
|
||||
type: string
|
||||
volumeSource:
|
||||
type: object
|
||||
subPath:
|
||||
type: string
|
||||
allowedSourceRanges:
|
||||
type: array
|
||||
nullable: true
|
||||
|
||||
Reference in New Issue
Block a user