Commit 98bb7510 authored by Mengxin Liu's avatar Mengxin Liu Committed by oilbeater
Browse files

chore: update kind and kube-ovn-cni updateStrategy

parent 7af1f4f9
No related merge requests found
Showing with 29 additions and 13 deletions
+29 -13
......@@ -83,6 +83,14 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Kind
env:
KIND_VERSION: v0.9.0
run: |
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64
chmod +x ./kind
sudo mv kind /usr/local/bin
- name: Init Kind
run: |
pip install j2cli --user
......@@ -121,6 +129,14 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Kind
env:
KIND_VERSION: v0.9.0
run: |
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64
chmod +x ./kind
sudo mv kind /usr/local/bin
- name: Init Kind
run: |
pip install j2cli --user
......@@ -160,6 +176,14 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Kind
env:
KIND_VERSION: v0.9.0
run: |
curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64
chmod +x ./kind
sudo mv kind /usr/local/bin
- name: Init Kind
run: |
pip install j2cli --user
......
......@@ -1107,8 +1107,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
......
......@@ -1224,8 +1224,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
......
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
apiVersion: kind.x-k8s.io/v1alpha4
networking:
disableDefaultCNI: true
ipFamily: {{ ip_family }}
......@@ -17,13 +17,13 @@ kubeadmConfigPatches:
dataDir: "/tmp/lib/etcd"
nodes:
- role: control-plane
image: kindest/node:v1.18.2
image: kindest/node:v1.19.1
{%- if ha is equalto "true" %}
- role: control-plane
image: kindest/node:v1.18.2
image: kindest/node:v1.19.1
- role: control-plane
image: kindest/node:v1.18.2
image: kindest/node:v1.19.1
{%- else %}
- role: worker
image: kindest/node:v1.18.2
image: kindest/node:v1.19.1
{%- endif %}
......@@ -93,8 +93,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
......
......@@ -90,8 +90,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment