Skip to content

Commit cd8dcff

Browse files
committed
Use CI binaries on windows
1 parent 0be8d24 commit cd8dcff

12 files changed

+2842
-3
lines changed

templates/addons/windows/kube-proxy-windows.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ data:
55
mkdir -force /host/var/lib/kube-proxy/var/run/secrets/kubernetes.io/serviceaccount
66
mkdir -force /host/k/kube-proxy
77
8+
if($env:CI_VERSION && Test-Path -Path "/host/k/kube-proxy.exe")
9+
{
10+
cp -force /host/k/kube-proxy.exe /k/kube-proxy/kube-proxy.exe
11+
}
12+
813
cp -force /k/kube-proxy/* /host/k/kube-proxy
914
cp -force /var/lib/kube-proxy/* /host/var/lib/kube-proxy
1015
cp -force /var/run/secrets/kubernetes.io/serviceaccount/* /host/var/lib/kube-proxy/var/run/secrets/kubernetes.io/serviceaccount #FIXME?
@@ -57,7 +62,7 @@ spec:
5762
valueFrom:
5863
fieldRef:
5964
fieldPath: status.podIP
60-
image: sigwindowstools/kube-proxy:${KUBERNETES_VERSION}-nanoserver
65+
image: sigwindowstools/kube-proxy:${KUBERNETES_VERSION/+/_}-nanoserver
6166
name: kube-proxy
6267
volumeMounts:
6368
- name: wins

0 commit comments

Comments
 (0)