2
0
Эх сурвалжийг харах

0.7.0 (#442)

* cut 0.7.0 (#440)

Signed-off-by: squat <lserven@gmail.com>

* fix(CI): correctly name kgctl for Linux amd64 (#441)

Right now, `linux` is missing from the name. This commit fixes the
renaming and consolidates the `sed` script.

Signed-off-by: squat <lserven@gmail.com>

---------

Signed-off-by: squat <lserven@gmail.com>
Lucas Servén Marín 2 сар өмнө
parent
commit
a6cc3fceab

+ 1 - 1
.github/workflows/release.yaml

@@ -12,7 +12,7 @@ jobs:
       - run: |
           nix build .#kgctl-cross-linux-amd64 .#kgctl-cross-linux-arm64 .#kgctl-cross-linux-arm .#kgctl-cross-darwin-amd64 .#kgctl-cross-darwin-arm64 .#kgctl-cross-windows-amd64
           for result in $(find -L . -name 'kgctl*' | grep result); do
-            cp "$result" "$(echo "$result" | sed 's|.*bin/\(.\+\)_\(.\+\)/kgctl\(.*\)|kgctl-\1-\2\3|g' | sed 's|.*bin/kgctl|kgctl-amd64|g')"
+            cp "$result" "$(echo "$result" | sed 's|.*bin/\(.\+\)_\(.\+\)/kgctl\(.*\)|kgctl-\1-\2\3|g; s|.*bin/kgctl|kgctl-linux-amd64|g')"
           done
       - name: Publish Release
         uses: skx/github-action-publish-binaries@master

+ 1 - 1
manifests/kilo-bootkube-flannel.yaml

@@ -67,7 +67,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)

+ 2 - 2
manifests/kilo-bootkube.yaml

@@ -101,7 +101,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -131,7 +131,7 @@ spec:
           readOnly: false
       initContainers:
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c

+ 2 - 2
manifests/kilo-k3s-cilium.yaml

@@ -96,7 +96,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -135,7 +135,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:

+ 2 - 2
manifests/kilo-k3s-flannel.yaml

@@ -96,7 +96,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -132,7 +132,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:

+ 7 - 7
manifests/kilo-k3s-userspace-heterogeneous.yaml

@@ -133,7 +133,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -164,7 +164,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:
@@ -185,7 +185,7 @@ spec:
             fieldRef:
               fieldPath: metadata.namespace
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c
@@ -265,7 +265,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -312,7 +312,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:
@@ -333,7 +333,7 @@ spec:
             fieldRef:
               fieldPath: metadata.namespace
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c
@@ -430,7 +430,7 @@ spec:
           readOnly: true
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:

+ 3 - 3
manifests/kilo-k3s-userspace.yaml

@@ -132,7 +132,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -179,7 +179,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:
@@ -200,7 +200,7 @@ spec:
             fieldRef:
               fieldPath: metadata.namespace
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c

+ 3 - 3
manifests/kilo-k3s.yaml

@@ -130,7 +130,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -160,7 +160,7 @@ spec:
           readOnly: false
       initContainers:
       - name: generate-kubeconfig
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         args:
@@ -181,7 +181,7 @@ spec:
             fieldRef:
               fieldPath: metadata.namespace
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c

+ 1 - 1
manifests/kilo-kubeadm-cilium.yaml

@@ -67,7 +67,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)

+ 1 - 1
manifests/kilo-kubeadm-flannel-userspace.yaml

@@ -79,7 +79,7 @@ spec:
           mountPath: /var/run/wireguard
           readOnly: false
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)

+ 1 - 1
manifests/kilo-kubeadm-flannel.yaml

@@ -67,7 +67,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)

+ 2 - 2
manifests/kilo-kubeadm-userspace.yaml

@@ -114,7 +114,7 @@ spec:
           mountPath: /var/run/wireguard
           readOnly: false
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         imagePullPolicy: IfNotPresent
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
@@ -150,7 +150,7 @@ spec:
           readOnly: false
       initContainers:
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         imagePullPolicy: IfNotPresent
         command:
         - /bin/sh

+ 2 - 2
manifests/kilo-kubeadm.yaml

@@ -101,7 +101,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -131,7 +131,7 @@ spec:
           readOnly: false
       initContainers:
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c

+ 1 - 1
manifests/kilo-typhoon-flannel.yaml

@@ -67,7 +67,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)

+ 2 - 2
manifests/kilo-typhoon.yaml

@@ -101,7 +101,7 @@ spec:
       hostNetwork: true
       containers:
       - name: kilo
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - --kubeconfig=/etc/kubernetes/kubeconfig
         - --hostname=$(NODE_NAME)
@@ -131,7 +131,7 @@ spec:
           readOnly: false
       initContainers:
       - name: install-cni
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         command:
         - /bin/sh
         - -c

+ 1 - 1
manifests/peer-validation.yaml

@@ -46,7 +46,7 @@ spec:
         runAsUser: 1000
       containers:
       - name: server
-        image: squat/kilo:0.6.0
+        image: squat/kilo:0.7.0
         args:
         - webhook
         - --cert-file=/run/secrets/tls/tls.crt