Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions api/v4/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ type Spec struct {

// TopologySpreadConstraint https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`

// FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
// before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
// Default is "OnRootMismatch" for improved performance.
// Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
// +kubebuilder:validation:Enum=Always;OnRootMismatch
// +optional
FSGroupChangePolicy *corev1.PodFSGroupChangePolicy `json:"fsGroupChangePolicy,omitempty"`
}

// Phase is used to represent the current phase of a custom resource
Expand Down
5 changes: 5 additions & 0 deletions api/v4/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions config/crd/bases/enterprise.splunk.com_clustermanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/enterprise.splunk.com_clustermasters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
20 changes: 20 additions & 0 deletions config/crd/bases/enterprise.splunk.com_indexerclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down Expand Up @@ -5405,6 +5415,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/enterprise.splunk.com_licensemanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
10 changes: 10 additions & 0 deletions config/crd/bases/enterprise.splunk.com_licensemasters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1370,6 +1370,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
20 changes: 20 additions & 0 deletions config/crd/bases/enterprise.splunk.com_monitoringconsoles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down Expand Up @@ -5894,6 +5904,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
20 changes: 20 additions & 0 deletions config/crd/bases/enterprise.splunk.com_searchheadclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1383,6 +1383,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down Expand Up @@ -6244,6 +6254,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
20 changes: 20 additions & 0 deletions config/crd/bases/enterprise.splunk.com_standalones.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down Expand Up @@ -6139,6 +6149,16 @@ spec:
- name
type: object
type: array
fsGroupChangePolicy:
description: |-
FSGroupChangePolicy defines the policy for changing ownership and permission of the volume
before being exposed inside the Pod. Valid values are "Always" and "OnRootMismatch".
Default is "OnRootMismatch" for improved performance.
Can be overridden by the operator.splunk.com/fs-group-change-policy annotation.
enum:
- Always
- OnRootMismatch
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
Expand Down
Loading