From c3f70abc9922e2eb211e2cd521252b6c1e8127c4 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Mon, 13 Oct 2025 17:33:00 +0200 Subject: [PATCH] Update Kube-OVN v1.14.11 Signed-off-by: Andrei Kvapil --- .../system/kubeovn/charts/kube-ovn/Chart.yaml | 4 +-- .../kube-ovn/templates/kube-ovn-crd.yaml | 32 ++++++++++++------- .../charts/kube-ovn/templates/ovncni-ds.yaml | 2 +- .../kubeovn/charts/kube-ovn/values.yaml | 3 +- .../system/kubeovn/images/kubeovn/Dockerfile | 6 ++-- 5 files changed, 28 insertions(+), 19 deletions(-) diff --git a/packages/system/kubeovn/charts/kube-ovn/Chart.yaml b/packages/system/kubeovn/charts/kube-ovn/Chart.yaml index 44744459..f7be2d3b 100644 --- a/packages/system/kubeovn/charts/kube-ovn/Chart.yaml +++ b/packages/system/kubeovn/charts/kube-ovn/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: v1.14.5 +version: v1.14.11 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.14.5" +appVersion: "1.14.11" kubeVersion: ">= 1.29.0-0" diff --git a/packages/system/kubeovn/charts/kube-ovn/templates/kube-ovn-crd.yaml b/packages/system/kubeovn/charts/kube-ovn/templates/kube-ovn-crd.yaml index 1f45c50c..3bddfbe1 100644 --- a/packages/system/kubeovn/charts/kube-ovn/templates/kube-ovn-crd.yaml +++ b/packages/system/kubeovn/charts/kube-ovn/templates/kube-ovn-crd.yaml @@ -257,8 +257,9 @@ spec: type: array type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - preference - weight @@ -349,8 +350,9 @@ spec: - topologyKey type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - podAffinityTerm - weight @@ -437,8 +439,9 @@ spec: - topologyKey type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - podAffinityTerm - weight @@ -593,8 +596,9 @@ spec: type: array type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - preference - weight @@ -685,8 +689,9 @@ spec: - topologyKey type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - podAffinityTerm - weight @@ -773,8 +778,9 @@ spec: - topologyKey type: object weight: - format: int32 type: integer + minimum: 1 + maximum: 100 required: - podAffinityTerm - weight @@ -891,7 +897,8 @@ spec: properties: replicas: type: integer - format: int32 + minimum: 0 + maximum: 10 labelSelector: type: string conditions: @@ -907,7 +914,6 @@ spec: maxLength: 32768 type: string observedGeneration: - format: int64 minimum: 0 type: integer reason: @@ -988,7 +994,6 @@ spec: properties: replicas: type: integer - format: int32 default: 1 minimum: 0 maximum: 10 @@ -1036,16 +1041,19 @@ spec: default: false minRX: type: integer - format: int32 default: 1000 + minimum: 1 + maximum: 3600000 minTX: type: integer - format: int32 default: 1000 + minimum: 1 + maximum: 3600000 multiplier: type: integer - format: int32 default: 3 + minimum: 1 + maximum: 3600000 selectors: type: array items: diff --git a/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml b/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml index 3a749f84..947ec454 100644 --- a/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml +++ b/packages/system/kubeovn/charts/kube-ovn/templates/ovncni-ds.yaml @@ -272,5 +272,5 @@ spec: {{- if .Values.func.ENABLE_OVN_IPSEC }} - name: ovs-ipsec-keys hostPath: - path: {{ .Values.OPENVSWITCH_DIR }} + path: {{ .Values.OVN_IPSEC_KEY_DIR }} {{- end }} diff --git a/packages/system/kubeovn/charts/kube-ovn/values.yaml b/packages/system/kubeovn/charts/kube-ovn/values.yaml index 74a69133..3652386d 100644 --- a/packages/system/kubeovn/charts/kube-ovn/values.yaml +++ b/packages/system/kubeovn/charts/kube-ovn/values.yaml @@ -9,7 +9,7 @@ global: kubeovn: repository: kube-ovn vpcRepository: vpc-nat-gateway - tag: v1.14.5 + tag: v1.14.11 support_arm: true thirdparty: true @@ -123,6 +123,7 @@ log_conf: LOG_DIR: "/var/log" OPENVSWITCH_DIR: "/etc/origin/openvswitch" +OVN_IPSEC_KEY_DIR: "/etc/origin/ovs_ipsec_keys" OVN_DIR: "/etc/origin/ovn" DISABLE_MODULES_MANAGEMENT: false diff --git a/packages/system/kubeovn/images/kubeovn/Dockerfile b/packages/system/kubeovn/images/kubeovn/Dockerfile index f4d1267c..5ea19c93 100644 --- a/packages/system/kubeovn/images/kubeovn/Dockerfile +++ b/packages/system/kubeovn/images/kubeovn/Dockerfile @@ -1,10 +1,10 @@ # syntax = docker/dockerfile:experimental -ARG VERSION=v1.14.5 +ARG VERSION=v1.14.11 ARG BASE_TAG=$VERSION -FROM golang:1.24-bookworm as builder +FROM golang:1.25-bookworm as builder -ARG TAG=v1.14.5 +ARG TAG=v1.14.11 RUN git clone --branch ${TAG} --depth 1 https://github.com/kubeovn/kube-ovn /source WORKDIR /source