Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <[email protected]>
  • Loading branch information
bobz965 committed Jul 23, 2024
1 parent c017dcf commit e5d2895
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
5 changes: 0 additions & 5 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ OVS_VSCTL_CONCURRENCY=${OVS_VSCTL_CONCURRENCY:-100}
ENABLE_COMPACT=${ENABLE_COMPACT:-false}
SECURE_SERVING=${SECURE_SERVING:-false}

# ovn version
versionCompatibility=24.03

# debug
DEBUG_WRAPPER=${DEBUG_WRAPPER:-}

Expand Down Expand Up @@ -3465,8 +3462,6 @@ spec:
value: "1"
- name: ENABLE_COMPACT
value: "$ENABLE_COMPACT"
- name: OVN_VERSION_COMPATIBILITY
value: "$versionCompatibility"
resources:
requests:
cpu: 300m
Expand Down
3 changes: 0 additions & 3 deletions dist/images/start-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ function set_nb_version_compatibility() {
if [ "$value" != "_$OVN_VERSION_COMPATIBILITY" ]; then
ovn-nbctl --db=$(gen_conn_str 6641) $SSL_OPTIONS set NB_Global . options:version_compatibility=${OVN_VERSION_COMPATIBILITY}
fi
else
echo "OVN_VERSION_COMPATIBILITY is not set"
return 1
fi
}

Expand Down
8 changes: 3 additions & 5 deletions yamls/kind.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,16 @@ apiVersion: kind.x-k8s.io/v1alpha4
networking:
kubeProxyMode: {{ kube_proxy_mode }}
disableDefaultCNI: true
ipFamily: {{ ip_family }}
apiServerAddress: {{ api_server_address }}
apiServerPort: {{ api_server_port }}
{%- if "ipv4" in ip_family %}
ipFamily: ipv4
{%- if ip_family is equalto "ipv4" %}
podSubnet: {{ pod_cidr_v4 }}
serviceSubnet: {{ svc_cidr_v4 }}
{%- elif "ipv6" in ip_family %}
ipFamily: ipv6
{%- elif ip_family is equalto "ipv6" %}
podSubnet: "fd00:10:16::/112"
serviceSubnet: "fd00:10:96::/108"
{%- else %}
ipFamily: dual
podSubnet: "10.16.0.0/16,fd00:10:16::/112"
serviceSubnet: "10.96.0.0/12,fd00:10:96::/108"
{%- endif %}
Expand Down

0 comments on commit e5d2895

Please sign in to comment.