Skip to content

Commit

Permalink
chore: update kind and kube-ovn-cni updateStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Sep 21, 2020
1 parent 7af1f4f commit 98bb751
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 13 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions dist/images/install-pre-1.16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1107,8 +1107,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
Expand Down
2 changes: 0 additions & 2 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1224,8 +1224,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
Expand Down
10 changes: 5 additions & 5 deletions yamls/kind.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
apiVersion: kind.x-k8s.io/v1alpha4
networking:
disableDefaultCNI: true
ipFamily: {{ ip_family }}
Expand All @@ -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 %}
2 changes: 0 additions & 2 deletions yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
Expand Down
2 changes: 0 additions & 2 deletions yamls/kube-ovn-pre17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ spec:
selector:
matchLabels:
app: kube-ovn-cni
updateStrategy:
type: OnDelete
template:
metadata:
labels:
Expand Down

0 comments on commit 98bb751

Please sign in to comment.