Skip to content

Commit f772adf

Browse files
committed
install cert-manager in ci-workflow
Signed-off-by: Kagaya <[email protected]>
1 parent 075e159 commit f772adf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/e2e-kruise.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
KIND_VERSION: 'v0.18.0'
1818
KIND_VERSION_FOR_HIGHER: 'v0.22.0'
1919
KIND_CLUSTER_NAME: 'ci-testing'
20+
CERT_MANAGER_VERSION: 'v1.18.2'
2021
# todo: add kruise e2e here
2122
jobs:
2223
# 1.27-
@@ -36,6 +37,10 @@ jobs:
3637
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
3738
config: ./test/kind-conf.yaml
3839
version: ${{ env.KIND_VERSION }}
40+
- name: Install Cert-Manager
41+
run: |
42+
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/${{ env.CERT_MANAGER_VERSION }}/cert-manager.yaml
43+
kubectl -n cert-manager rollout status deploy/cert-manager-webhook --timeout=180s
3944
- name: Install Kruise
4045
run: |
4146
make install-kruise-from-local
@@ -67,6 +72,10 @@ jobs:
6772
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
6873
config: ./test/kind-conf-with-vpa.yaml
6974
version: ${{ env.KIND_VERSION_FOR_HIGHER }}
75+
- name: Install Cert-Manager
76+
run: |
77+
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/${{ env.CERT_MANAGER_VERSION }}/cert-manager.yaml
78+
kubectl -n cert-manager rollout status deploy/cert-manager-webhook --timeout=180s
7079
- name: Install Kruise
7180
run: |
7281
make install-kruise-from-local

0 commit comments

Comments
 (0)