From fa4c0536cd39dedfd5e1c55a3d096468689b96a8 Mon Sep 17 00:00:00 2001 From: Andras Jaky Date: Thu, 31 Mar 2022 14:39:52 +0200 Subject: [PATCH 1/3] feat: use banzai fork of kubelet-csr-approver --- .../kubeadm/controlplane/certificate_auto_approver.yaml.go | 4 ++-- .../kubeadm/controlplane/certificate_auto_approver.yaml.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.go b/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.go index 3858ad6..4d26586 100644 --- a/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.go +++ b/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.go @@ -86,9 +86,9 @@ func certificateAutoApproverTemplate() string { " containers:\n" + " - name: kubelet-csr-approver\n" + " {{ if ne .ImageRepository \"\" }}\n" + - " image: \"{{ .ImageRepository }}/kubelet-csr-approver:v0.1.2\"\n" + + " image: \"{{ .ImageRepository }}/kubelet-csr-approver:v0.1.3\"\n" + " {{ else }}\n" + - " image: \"postfinance/kubelet-csr-approver:v0.1.2\"\n" + + " image: \"ghcr.io/banzaicloud/kubelet-csr-approver:v0.1.3\"\n" + " {{ end }}\n" + " resources:\n" + " limits:\n" + diff --git a/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.tmpl b/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.tmpl index f2f7e23..3629312 100644 --- a/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.tmpl +++ b/cmd/pke/app/phases/kubeadm/controlplane/certificate_auto_approver.yaml.tmpl @@ -68,9 +68,9 @@ spec: containers: - name: kubelet-csr-approver {{ if ne .ImageRepository "" }} - image: "{{ .ImageRepository }}/kubelet-csr-approver:v0.1.2" + image: "{{ .ImageRepository }}/kubelet-csr-approver:v0.1.3" {{ else }} - image: "postfinance/kubelet-csr-approver:v0.1.2" + image: "ghcr.io/banzaicloud/kubelet-csr-approver:v0.1.3" {{ end }} resources: limits: From 6a1c8801318192c31ae32c31b5c1d02776fdbe33 Mon Sep 17 00:00:00 2001 From: Peter Balogh Date: Thu, 31 Mar 2022 14:55:28 +0200 Subject: [PATCH 2/3] test Signed-off-by: Peter Balogh --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1af9e22..ae6c102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release PKE on: push: tags: - - "[0-9]+.[0-9]+.[0-9]+" + - "*" jobs: release: From cb81b4a4e4c4327e5b0afbf139ed1b1ac20806a5 Mon Sep 17 00:00:00 2001 From: Peter Balogh Date: Thu, 31 Mar 2022 14:59:24 +0200 Subject: [PATCH 3/3] use tag regex again --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae6c102..1af9e22 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release PKE on: push: tags: - - "*" + - "[0-9]+.[0-9]+.[0-9]+" jobs: release: