From 8a3e5790f5198ce2077adcc20e6e7a0e6e1bef7c Mon Sep 17 00:00:00 2001
From: Stefan Prodan <stefan.prodan@gmail.com>
Date: Thu, 30 Sep 2021 11:04:04 +0300
Subject: [PATCH] Use multi-arch image for kubectl

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
---
 .../eventhub-credentials-sync/_base/kubectl-patch.yaml          | 2 +-
 .../_cronjobs/_base/kubectl-patch.yaml                          | 2 +-
 .../registry-credentials-sync/_base/kubectl-patch.yaml          | 2 +-
 .../_cronjobs/_base/kubectl-patch.yaml                          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/manifests/integrations/eventhub-credentials-sync/_base/kubectl-patch.yaml b/manifests/integrations/eventhub-credentials-sync/_base/kubectl-patch.yaml
index 65226a0f..552c16de 100644
--- a/manifests/integrations/eventhub-credentials-sync/_base/kubectl-patch.yaml
+++ b/manifests/integrations/eventhub-credentials-sync/_base/kubectl-patch.yaml
@@ -7,7 +7,7 @@ spec:
   template:
     spec:
       initContainers:
-        - image: bitnami/kubectl
+        - image: ghcr.io/fluxcd/flux-cli:v0.17.2
           securityContext:
             privileged: false
             readOnlyRootFilesystem: true
diff --git a/manifests/integrations/eventhub-credentials-sync/_cronjobs/_base/kubectl-patch.yaml b/manifests/integrations/eventhub-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
index 8d2164b1..e9d07a71 100644
--- a/manifests/integrations/eventhub-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
+++ b/manifests/integrations/eventhub-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
@@ -9,7 +9,7 @@ spec:
       template:
         spec:
           initContainers:
-          - image: bitnami/kubectl
+          - image: ghcr.io/fluxcd/flux-cli:v0.17.2
             name: copy-kubectl
             # it's okay to do this because kubectl is a statically linked binary
             command:
diff --git a/manifests/integrations/registry-credentials-sync/_base/kubectl-patch.yaml b/manifests/integrations/registry-credentials-sync/_base/kubectl-patch.yaml
index b054d7ce..501e940e 100644
--- a/manifests/integrations/registry-credentials-sync/_base/kubectl-patch.yaml
+++ b/manifests/integrations/registry-credentials-sync/_base/kubectl-patch.yaml
@@ -7,7 +7,7 @@ spec:
   template:
     spec:
       initContainers:
-      - image: bitnami/kubectl
+      - image: ghcr.io/fluxcd/flux-cli:v0.17.2
         name: copy-kubectl
         # it's okay to do this because kubectl is a statically linked binary
         command:
diff --git a/manifests/integrations/registry-credentials-sync/_cronjobs/_base/kubectl-patch.yaml b/manifests/integrations/registry-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
index b4d83e22..ad4e6404 100644
--- a/manifests/integrations/registry-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
+++ b/manifests/integrations/registry-credentials-sync/_cronjobs/_base/kubectl-patch.yaml
@@ -9,7 +9,7 @@ spec:
       template:
         spec:
           initContainers:
-          - image: bitnami/kubectl
+          - image: ghcr.io/fluxcd/flux-cli:v0.17.2
             name: copy-kubectl
             # it's okay to do this because kubectl is a statically linked binary
             command:
-- 
GitLab