From 313ed4845855c349e6c5a78f813105898d7d4b38 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Wed, 20 Nov 2024 09:58:50 +0800 Subject: [PATCH] fix Signed-off-by: bobz965 --- .../kube-ovn/templates/cni-kube-ovn.yml.j2 | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/roles/network_plugin/kube-ovn/templates/cni-kube-ovn.yml.j2 b/roles/network_plugin/kube-ovn/templates/cni-kube-ovn.yml.j2 index 8324ec2f3..d72ddd929 100644 --- a/roles/network_plugin/kube-ovn/templates/cni-kube-ovn.yml.j2 +++ b/roles/network_plugin/kube-ovn/templates/cni-kube-ovn.yml.j2 @@ -1,21 +1,21 @@ --- -kind: ConfigMap -apiVersion: v1 -metadata: - name: ovn-vpc-nat-config - namespace: kube-system - annotations: - kubernetes.io/description: | - kube-ovn vpc-nat common config -data: - image: {{ kube_ovn_vpc_container_image_repo }}:{{ kube_ovn_vpc_container_image_tag }} ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: ovn-vpc-nat-gw-config - namespace: kube-system -data: +kind: ConfigMap +apiVersion: v1 +metadata: + name: ovn-vpc-nat-config + namespace: kube-system + annotations: + kubernetes.io/description: | + kube-ovn vpc-nat common config +data: + image: {{ kube_ovn_vpc_container_image_repo }}:{{ kube_ovn_vpc_container_image_tag }} +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: ovn-vpc-nat-gw-config + namespace: kube-system +data: enable-vpc-nat-gw: "true" --- kind: Deployment