Skip to content

Commit 378f27c

Browse files
committed
feat: add fsGroupChangePolicy to persisitentVolume configuration
1 parent f3c6bb7 commit 378f27c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

stackgres-k8s/src/common/src/main/resources/crds/SGCluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ spec:
867867
description: |
868868
Name of an existing StorageClass in the Kubernetes cluster, used to create the PersistentVolumes for the instances of the cluster.
869869
fsGroupChangePolicy: #!jq_placeholder .definitions["io.k8s.api.core.v1.Pod"].properties.spec.properties.securityContext.properties.fsGroupChangePolicy
870-
null
870+
{"description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.","type":"string"}
871871
disableConnectionPooling:
872872
type: boolean
873873
default: false

stackgres-k8s/src/common/src/main/resources/crds/SGShardedCluster.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ spec:
15861586
15871587
If sharding type is `shardingsphere` then this field is ignored.
15881588
fsGroupChangePolicy: #!jq_placeholder .definitions["io.k8s.api.core.v1.Pod"].properties.spec.properties.securityContext.properties.fsGroupChangePolicy
1589-
null
1589+
{"description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.","type":"string"}
15901590
disableConnectionPooling:
15911591
type: boolean
15921592
default: false
@@ -2505,7 +2505,7 @@ spec:
25052505
description: |
25062506
Name of an existing StorageClass in the Kubernetes cluster, used to create the PersistentVolumes for the instances of the cluster.
25072507
fsGroupChangePolicy: #!jq_placeholder .definitions["io.k8s.api.core.v1.Pod"].properties.spec.properties.securityContext.properties.fsGroupChangePolicy
2508-
null
2508+
{"description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.","type":"string"}
25092509
disableConnectionPooling:
25102510
type: boolean
25112511
default: false
@@ -2896,7 +2896,7 @@ spec:
28962896
description: |
28972897
Name of an existing StorageClass in the Kubernetes cluster, used to create the PersistentVolumes for the instances of the cluster.
28982898
fsGroupChangePolicy: #!jq_placeholder .definitions["io.k8s.api.core.v1.Pod"].properties.spec.properties.securityContext.properties.fsGroupChangePolicy
2899-
null
2899+
{"description":"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.","type":"string"}
29002900
disableConnectionPooling:
29012901
type: boolean
29022902
default: false

0 commit comments

Comments
 (0)