Skip to content

Commit d9f33d6

Browse files
Correct the hybrid manifest creation
originally I created the a manifest for the network config instead of the cluster-network operator. This correctly defines the manifest so that it will deploy a hybrid network on installation.
1 parent 5ec720f commit d9f33d6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ci-operator/step-registry/ovn/conf/hybrid-manifest/ovn-conf-hybrid-manifest-commands.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ set -o nounset
44
set -o pipefail
55

66
cat >> "${SHARED_DIR}/manifest_cluster-network-03-config.yml" << EOF
7-
apiVersion: config.openshift.io/v1
7+
apiVersion: operator.openshift.io/v1
88
kind: Network
99
metadata:
10+
creationTimestamp: null
1011
name: cluster
1112
spec:
1213
clusterNetwork:
1314
- cidr: 10.128.0.0/14
1415
hostPrefix: 23
16+
externalIP:
17+
policy: {}
18+
networkType: OVNKubernetes
19+
serviceNetwork:
20+
- 172.30.0.0/16
1521
defaultNetwork:
22+
type: OVNKubernetes
1623
ovnKubernetesConfig:
1724
hybridOverlayConfig:
1825
hybridClusterNetwork:
1926
- cidr: 10.132.0.0/14
2027
hostPrefix: 23
21-
networkType: OVNKubernetes
22-
serviceNetwork:
23-
- 172.30.0.0/16
2428
EOF

0 commit comments

Comments
 (0)