fix typo in additionalVolume struct (#933)
* fix typo in additionalVolume struct Co-authored-by: siku4 <sk@sik-net.de>
This commit is contained in:
parent
21b9b6fcbe
commit
f32c615a53
|
|
@ -31,28 +31,28 @@ spec:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
# storageClass: my-sc
|
# storageClass: my-sc
|
||||||
additionalVolumes:
|
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
|
- name: empty
|
||||||
mountPath: /opt/empty
|
mountPath: /opt/empty
|
||||||
targetContainers:
|
targetContainers:
|
||||||
- all
|
- all
|
||||||
volumeSource:
|
volumeSource:
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
# - 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
|
||||||
|
|
||||||
enableShmVolume: true
|
enableShmVolume: true
|
||||||
# spiloFSGroup: 103
|
# spiloFSGroup: 103
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ type AdditionalVolume struct {
|
||||||
MountPath string `json:"mountPath"`
|
MountPath string `json:"mountPath"`
|
||||||
SubPath string `json:"subPath"`
|
SubPath string `json:"subPath"`
|
||||||
TargetContainers []string `json:"targetContainers"`
|
TargetContainers []string `json:"targetContainers"`
|
||||||
VolumeSource v1.VolumeSource `json:"volume"`
|
VolumeSource v1.VolumeSource `json:"volumeSource"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PostgresqlParam describes PostgreSQL version and pairs of configuration parameter name - values.
|
// PostgresqlParam describes PostgreSQL version and pairs of configuration parameter name - values.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue