diff --git a/api/v1/ytsaurus_types.go b/api/v1/ytsaurus_types.go index cd179d97..3802a3e1 100644 --- a/api/v1/ytsaurus_types.go +++ b/api/v1/ytsaurus_types.go @@ -250,6 +250,9 @@ type InstanceSpec struct { RuntimeClassName *string `json:"runtimeClassName,omitempty"` // Deprecated: use Affinity.PodAntiAffinity instead. EnableAntiAffinity *bool `json:"enableAntiAffinity,omitempty"` + // Use the host's network namespace, this overrides global option. + //+optional + HostNetwork *bool `json:"hostNetwork,omitempty"` //+optional MonitoringPort *int32 `json:"monitoringPort,omitempty"` Loggers []TextLoggerSpec `json:"loggers,omitempty"` @@ -543,12 +546,14 @@ type CommonSpec struct { //+kubebuilder:default:=true //+optional UseShortNames bool `json:"useShortNames"` + // Use the host's network namespace for all components. //+kubebuilder:default:=false //+optional - UsePorto bool `json:"usePorto"` + HostNetwork bool `json:"hostNetwork"` + //+kubebuilder:default:=false //+optional - HostNetwork bool `json:"hostNetwork"` + UsePorto bool `json:"usePorto"` ExtraPodAnnotations map[string]string `json:"extraPodAnnotations,omitempty"` diff --git a/api/v1/ytsaurus_webhook.go b/api/v1/ytsaurus_webhook.go index c01cfe1b..74bc2904 100644 --- a/api/v1/ytsaurus_webhook.go +++ b/api/v1/ytsaurus_webhook.go @@ -27,6 +27,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apimachinery/pkg/util/yaml" + ptr "k8s.io/utils/pointer" ctrl "sigs.k8s.io/controller-runtime" logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/webhook" @@ -127,7 +128,7 @@ func (r *Ytsaurus) validateHostAddresses(masterSpec MastersSpec, fieldPath *fiel var allErrors field.ErrorList hostAddressesFieldPath := fieldPath.Child("hostAddresses") - if !r.Spec.HostNetwork && len(masterSpec.HostAddresses) != 0 { + if !ptr.BoolDeref(masterSpec.HostNetwork, r.Spec.HostNetwork) && len(masterSpec.HostAddresses) != 0 { allErrors = append( allErrors, field.Required( diff --git a/api/v1/zz_generated.deepcopy.go b/api/v1/zz_generated.deepcopy.go index c19fb5f9..a8cbe676 100644 --- a/api/v1/zz_generated.deepcopy.go +++ b/api/v1/zz_generated.deepcopy.go @@ -648,6 +648,11 @@ func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { *out = new(bool) **out = **in } + if in.HostNetwork != nil { + in, out := &in.HostNetwork, &out.HostNetwork + *out = new(bool) + **out = **in + } if in.MonitoringPort != nil { in, out := &in.MonitoringPort, &out.MonitoringPort *out = new(int32) diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml index 62ac5856..8fc4fe9a 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml @@ -672,6 +672,7 @@ spec: type: object hostNetwork: default: false + description: Use the host's network namespace for all components. type: boolean image: description: Overrides coreImage for component. diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml index 8190be84..9f51fd1d 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml @@ -647,6 +647,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string diff --git a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml index 8f37d121..d3a98ebd 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml @@ -760,6 +760,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -3109,6 +3113,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -5470,6 +5478,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -7824,6 +7836,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -9767,6 +9783,7 @@ spec: type: object hostNetwork: default: false + description: Use the host's network namespace for all components. type: boolean httpProxies: items: @@ -10381,6 +10398,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean httpNodePort: format: int32 type: integer @@ -12788,6 +12809,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -15185,6 +15210,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -17535,6 +17564,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -19875,6 +19908,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -22222,6 +22259,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -24605,6 +24646,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -26960,6 +27005,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -29379,6 +29428,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -31746,6 +31799,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -34315,6 +34372,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string diff --git a/docs/api.md b/docs/api.md index 9ee977be..9a16fbba 100644 --- a/docs/api.md +++ b/docs/api.md @@ -240,8 +240,8 @@ _Appears in:_ | `useIpv6` _boolean_ | | false | | | `useIpv4` _boolean_ | | false | | | `useShortNames` _boolean_ | | true | | +| `hostNetwork` _boolean_ | Use the host's network namespace for all components. | false | | | `usePorto` _boolean_ | | false | | -| `hostNetwork` _boolean_ | | false | | | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | @@ -272,6 +272,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -308,6 +309,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -364,6 +366,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -454,6 +457,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -498,6 +502,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -607,6 +612,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -810,6 +816,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -867,6 +874,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -946,6 +954,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -982,6 +991,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1018,6 +1028,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1110,8 +1121,8 @@ _Appears in:_ | `useIpv6` _boolean_ | | false | | | `useIpv4` _boolean_ | | false | | | `useShortNames` _boolean_ | | true | | +| `hostNetwork` _boolean_ | Use the host's network namespace for all components. | false | | | `usePorto` _boolean_ | | false | | -| `hostNetwork` _boolean_ | | false | | | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | @@ -1127,6 +1138,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1193,6 +1205,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1234,6 +1247,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1363,6 +1377,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1420,6 +1435,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1585,6 +1601,7 @@ _Appears in:_ | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | | `enableAntiAffinity` _boolean_ | Deprecated: use Affinity.PodAntiAffinity instead. | | | +| `hostNetwork` _boolean_ | Use the host's network namespace, this overrides global option. | | | | `monitoringPort` _integer_ | | | | | `loggers` _[TextLoggerSpec](#textloggerspec) array_ | | | | | `structuredLoggers` _[StructuredLoggerSpec](#structuredloggerspec) array_ | | | | @@ -1635,8 +1652,8 @@ _Appears in:_ | `useIpv6` _boolean_ | | false | | | `useIpv4` _boolean_ | | false | | | `useShortNames` _boolean_ | | true | | +| `hostNetwork` _boolean_ | Use the host's network namespace for all components. | false | | | `usePorto` _boolean_ | | false | | -| `hostNetwork` _boolean_ | | false | | | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | diff --git a/pkg/components/server.go b/pkg/components/server.go index 35549f3b..182c9730 100644 --- a/pkg/components/server.go +++ b/pkg/components/server.go @@ -347,7 +347,7 @@ func (s *serverImpl) rebuildStatefulSet() *appsv1.StatefulSet { NodeSelector: s.instanceSpec.NodeSelector, Tolerations: s.instanceSpec.Tolerations, } - if s.commonSpec.HostNetwork { + if ptr.BoolDeref(s.instanceSpec.HostNetwork, s.commonSpec.HostNetwork) { statefulSet.Spec.Template.Spec.HostNetwork = true statefulSet.Spec.Template.Spec.DNSPolicy = corev1.DNSClusterFirstWithHostNet } diff --git a/pkg/ytconfig/generator.go b/pkg/ytconfig/generator.go index 8f300473..212dff42 100644 --- a/pkg/ytconfig/generator.go +++ b/pkg/ytconfig/generator.go @@ -336,7 +336,7 @@ func (g *Generator) getMasterConfigImpl(spec *ytv1.MastersSpec) (MasterServer, e configureMasterServerCypressManager(g.GetMaxReplicationFactor(), &c.CypressManager) // COMPAT(l0kix2): remove that after we drop support for specifying host network without master host addresses. - if g.ytsaurus.Spec.HostNetwork && len(spec.HostAddresses) == 0 { + if ptr.BoolDeref(spec.HostNetwork, g.ytsaurus.Spec.HostNetwork) && len(spec.HostAddresses) == 0 { // Each master deduces its index within cell by looking up his FQDN in the // list of all master peers. Master peers are specified using their pod addresses, // therefore we must also switch masters from identifying themselves by FQDN addresses diff --git a/ytop-chart/templates/remoteexecnodes-crd.yaml b/ytop-chart/templates/remoteexecnodes-crd.yaml index fdbce08d..b3afaba5 100644 --- a/ytop-chart/templates/remoteexecnodes-crd.yaml +++ b/ytop-chart/templates/remoteexecnodes-crd.yaml @@ -656,6 +656,7 @@ spec: type: object hostNetwork: default: false + description: Use the host's network namespace for all components. type: boolean image: description: Overrides coreImage for component. diff --git a/ytop-chart/templates/remoteytsaurus-crd.yaml b/ytop-chart/templates/remoteytsaurus-crd.yaml index 17c165f9..86d4228b 100644 --- a/ytop-chart/templates/remoteytsaurus-crd.yaml +++ b/ytop-chart/templates/remoteytsaurus-crd.yaml @@ -631,6 +631,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string diff --git a/ytop-chart/templates/ytsaurus-crd.yaml b/ytop-chart/templates/ytsaurus-crd.yaml index ba2b28ed..78b33a7e 100644 --- a/ytop-chart/templates/ytsaurus-crd.yaml +++ b/ytop-chart/templates/ytsaurus-crd.yaml @@ -770,6 +770,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -3097,6 +3101,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -5448,6 +5456,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -7780,6 +7792,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -9716,6 +9732,7 @@ spec: type: object hostNetwork: default: false + description: Use the host's network namespace for all components. type: boolean httpProxies: items: @@ -10324,6 +10341,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean httpNodePort: format: int32 type: integer @@ -12721,6 +12742,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -15099,6 +15124,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -17430,6 +17459,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -19751,6 +19784,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -22076,6 +22113,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -24449,6 +24490,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -26782,6 +26827,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -29188,6 +29237,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -31542,6 +31595,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides + global option. + type: boolean image: description: Overrides coreImage for component. type: string @@ -34099,6 +34156,10 @@ spec: items: type: string type: array + hostNetwork: + description: Use the host's network namespace, this overrides global + option. + type: boolean image: description: Overrides coreImage for component. type: string