diff --git a/cluster-scope/base/operator.openshift.io/networks/cluster/kustomization.yaml b/cluster-scope/base/operator.openshift.io/networks/cluster/kustomization.yaml new file mode 100644 index 00000000..b807ccc6 --- /dev/null +++ b/cluster-scope/base/operator.openshift.io/networks/cluster/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - network.yaml diff --git a/cluster-scope/base/operator.openshift.io/networks/cluster/network.yaml b/cluster-scope/base/operator.openshift.io/networks/cluster/network.yaml new file mode 100644 index 00000000..b3af309f --- /dev/null +++ b/cluster-scope/base/operator.openshift.io/networks/cluster/network.yaml @@ -0,0 +1,9 @@ +apiVersion: operator.openshift.io/v1 +kind: Network +metadata: + name: cluster +spec: + defaultNetwork: + ovnKubernetesConfig: + gatewayConfig: + routingViaHost: true diff --git a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml index 4368e80f..7a6c7e73 100644 --- a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml @@ -7,6 +7,7 @@ resources: - ../../bundles/openshift-gitops - ../../bundles/acm - ../../bundles/odf +- ../../base/operator.openshift.io/networks/cluster - clusterversion.yaml - machineconfigs/disable-net-ifnames.yaml - machineconfigs/mellanox-udev-rules