1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Feature] Fix ci-check step (#1765)

This commit is contained in:
Adam Janikowski 2024-11-11 16:36:01 +01:00 committed by GitHub
parent cce50b32d0
commit dedb020a4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 474 additions and 63 deletions

View file

@ -949,4 +949,4 @@ sync: sync-charts
ci-check: ci-check:
@$(MAKE) tidy vendor generate update-generated synchronize-v2alpha1-with-v1 sync fmt yamlfmt license protolint @$(MAKE) tidy vendor generate update-generated synchronize-v2alpha1-with-v1 sync fmt yamlfmt license protolint
@git checkout -- go.sum # ignore changes in go.sum @git checkout -- go.sum # ignore changes in go.sum
@if [ ! -z "$(git status --porcelain)" ]; then echo "There are uncommited changes!"; git status; exit 1; fi @if [ ! -z "$$(git status --porcelain)" ]; then echo "There are uncommited changes!"; git status; exit 1; fi

View file

@ -53,6 +53,7 @@ Flags:
--integration.scheduler.v1.verify-access Verify the CRD Access (Env: INTEGRATION_SCHEDULER_V1_VERIFY_ACCESS) (default true) --integration.scheduler.v1.verify-access Verify the CRD Access (Env: INTEGRATION_SCHEDULER_V1_VERIFY_ACCESS) (default true)
--integration.scheduler.v2 SchedulerV2 Integration (Env: INTEGRATION_SCHEDULER_V2) --integration.scheduler.v2 SchedulerV2 Integration (Env: INTEGRATION_SCHEDULER_V2)
--integration.scheduler.v2.deployment string ArangoDeployment Name (Env: INTEGRATION_SCHEDULER_V2_DEPLOYMENT) --integration.scheduler.v2.deployment string ArangoDeployment Name (Env: INTEGRATION_SCHEDULER_V2_DEPLOYMENT)
--integration.scheduler.v2.driver string Helm Driver (Env: INTEGRATION_SCHEDULER_V2_DRIVER) (default "secret")
--integration.scheduler.v2.external Defones if External access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_EXTERNAL) --integration.scheduler.v2.external Defones if External access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_EXTERNAL)
--integration.scheduler.v2.internal Defones if Internal access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_INTERNAL) (default true) --integration.scheduler.v2.internal Defones if Internal access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_INTERNAL) (default true)
--integration.scheduler.v2.namespace string Kubernetes Namespace (Env: INTEGRATION_SCHEDULER_V2_NAMESPACE) (default "default") --integration.scheduler.v2.namespace string Kubernetes Namespace (Env: INTEGRATION_SCHEDULER_V2_NAMESPACE) (default "default")

View file

@ -58,11 +58,11 @@ func (s ServerGroupSpecVolumeMounts) Validate() error {
type ServerGroupSpecVolumeMount struct { type ServerGroupSpecVolumeMount struct {
// This must match the Name of a Volume. // This must match the Name of a Volume.
Name string `json:"name" protobuf:"bytes,1,opt,name=name"` Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// Mounted read-only if true, read-write otherwise (false or unspecified). // Mounted read-only if true, read-write otherwise (false or unspecified).
// Defaults to false. // Defaults to false.
// +optional
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"` ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"`
// RecursiveReadOnly specifies whether read-only mounts should be handled // RecursiveReadOnly specifies whether read-only mounts should be handled
// recursively. // recursively.
// //
@ -79,34 +79,29 @@ type ServerGroupSpecVolumeMount struct {
// None (or be unspecified, which defaults to None). // None (or be unspecified, which defaults to None).
// //
// If this field is not specified, it is treated as an equivalent of Disabled. // If this field is not specified, it is treated as an equivalent of Disabled.
//
// +featureGate=RecursiveReadOnlyMounts
// +optional
// TODO: Uncomment after upgrade to 1.31.1+ // TODO: Uncomment after upgrade to 1.31.1+
// RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,7,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"` // RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,7,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"`
// Path within the container at which the volume should be mounted. Must // Path within the container at which the volume should be mounted. Must
// not contain ':'. // not contain ':'.
MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"` MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"`
// Path within the volume from which the container's volume should be mounted. // Path within the volume from which the container's volume should be mounted.
// Defaults to "" (volume's root). // Defaults to "" (volume's root).
// +optional
SubPath string `json:"subPath,omitempty" protobuf:"bytes,4,opt,name=subPath"` SubPath string `json:"subPath,omitempty" protobuf:"bytes,4,opt,name=subPath"`
// mountPropagation determines how mounts are propagated from the host // mountPropagation determines how mounts are propagated from the host
// to container and the other way around. // to container and the other way around.
// When not set, MountPropagationNone is used. // When not set, MountPropagationNone is used.
// This field is beta in 1.10. // This field is beta in 1.10.
// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified // When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
// (which defaults to None). // (which defaults to None).
// +optional
MountPropagation *core.MountPropagationMode `json:"mountPropagation,omitempty" protobuf:"bytes,5,opt,name=mountPropagation,casttype=MountPropagationMode"` MountPropagation *core.MountPropagationMode `json:"mountPropagation,omitempty" protobuf:"bytes,5,opt,name=mountPropagation,casttype=MountPropagationMode"`
// Expanded path within the volume from which the container's volume should be mounted. // Expanded path within the volume from which the container's volume should be mounted.
// Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. // Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
// Defaults to "" (volume's root). // Defaults to "" (volume's root).
// SubPathExpr and SubPath are mutually exclusive. // SubPathExpr and SubPath are mutually exclusive.
// +optional
SubPathExpr string `json:"subPathExpr,omitempty" protobuf:"bytes,6,opt,name=subPathExpr"` SubPathExpr string `json:"subPathExpr,omitempty" protobuf:"bytes,6,opt,name=subPathExpr"`
} }

View file

@ -58,11 +58,11 @@ func (s ServerGroupSpecVolumeMounts) Validate() error {
type ServerGroupSpecVolumeMount struct { type ServerGroupSpecVolumeMount struct {
// This must match the Name of a Volume. // This must match the Name of a Volume.
Name string `json:"name" protobuf:"bytes,1,opt,name=name"` Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// Mounted read-only if true, read-write otherwise (false or unspecified). // Mounted read-only if true, read-write otherwise (false or unspecified).
// Defaults to false. // Defaults to false.
// +optional
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"` ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"`
// RecursiveReadOnly specifies whether read-only mounts should be handled // RecursiveReadOnly specifies whether read-only mounts should be handled
// recursively. // recursively.
// //
@ -79,34 +79,29 @@ type ServerGroupSpecVolumeMount struct {
// None (or be unspecified, which defaults to None). // None (or be unspecified, which defaults to None).
// //
// If this field is not specified, it is treated as an equivalent of Disabled. // If this field is not specified, it is treated as an equivalent of Disabled.
//
// +featureGate=RecursiveReadOnlyMounts
// +optional
// TODO: Uncomment after upgrade to 1.31.1+ // TODO: Uncomment after upgrade to 1.31.1+
// RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,7,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"` // RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,7,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"`
// Path within the container at which the volume should be mounted. Must // Path within the container at which the volume should be mounted. Must
// not contain ':'. // not contain ':'.
MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"` MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"`
// Path within the volume from which the container's volume should be mounted. // Path within the volume from which the container's volume should be mounted.
// Defaults to "" (volume's root). // Defaults to "" (volume's root).
// +optional
SubPath string `json:"subPath,omitempty" protobuf:"bytes,4,opt,name=subPath"` SubPath string `json:"subPath,omitempty" protobuf:"bytes,4,opt,name=subPath"`
// mountPropagation determines how mounts are propagated from the host // mountPropagation determines how mounts are propagated from the host
// to container and the other way around. // to container and the other way around.
// When not set, MountPropagationNone is used. // When not set, MountPropagationNone is used.
// This field is beta in 1.10. // This field is beta in 1.10.
// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified // When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
// (which defaults to None). // (which defaults to None).
// +optional
MountPropagation *core.MountPropagationMode `json:"mountPropagation,omitempty" protobuf:"bytes,5,opt,name=mountPropagation,casttype=MountPropagationMode"` MountPropagation *core.MountPropagationMode `json:"mountPropagation,omitempty" protobuf:"bytes,5,opt,name=mountPropagation,casttype=MountPropagationMode"`
// Expanded path within the volume from which the container's volume should be mounted. // Expanded path within the volume from which the container's volume should be mounted.
// Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. // Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
// Defaults to "" (volume's root). // Defaults to "" (volume's root).
// SubPathExpr and SubPath are mutually exclusive. // SubPathExpr and SubPath are mutually exclusive.
// +optional
SubPathExpr string `json:"subPathExpr,omitempty" protobuf:"bytes,6,opt,name=subPathExpr"` SubPathExpr string `json:"subPathExpr,omitempty" protobuf:"bytes,6,opt,name=subPathExpr"`
} }

View file

@ -2069,18 +2069,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -4314,18 +4334,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -6477,18 +6517,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -8722,18 +8782,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -12078,18 +12158,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -14384,18 +14484,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -16540,18 +16660,38 @@ v1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -18796,18 +18936,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -21041,18 +21201,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -23204,18 +23384,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -25449,18 +25649,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -28805,18 +29025,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -31111,18 +31351,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -33267,18 +33527,38 @@ v1alpha:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -35523,18 +35803,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -37768,18 +38068,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -39931,18 +40251,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -42176,18 +42516,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -45532,18 +45892,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -47838,18 +48218,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array
@ -49994,18 +50394,38 @@ v2alpha1:
items: items:
properties: properties:
mountPath: mountPath:
description: |-
Path within the container at which the volume should be mounted. Must
not contain ':'.
type: string type: string
mountPropagation: mountPropagation:
description: |-
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
(which defaults to None).
type: string type: string
name: name:
description: This must match the Name of a Volume.
type: string type: string
readOnly: readOnly:
description: |-
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
type: boolean type: boolean
recursiveReadOnly:
type: string
subPath: subPath:
description: |-
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
type: string type: string
subPathExpr: subPathExpr:
description: |-
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
type: string type: string
type: object type: object
type: array type: array