Merge pull request #1877 from fluxcd/multi-arch-kubectl
Use multi-arch image for kubectl
This commit is contained in:
@@ -7,7 +7,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- image: bitnami/kubectl
|
- image: ghcr.io/fluxcd/flux-cli:v0.17.2
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: false
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- image: bitnami/kubectl
|
- image: ghcr.io/fluxcd/flux-cli:v0.17.2
|
||||||
name: copy-kubectl
|
name: copy-kubectl
|
||||||
# it's okay to do this because kubectl is a statically linked binary
|
# it's okay to do this because kubectl is a statically linked binary
|
||||||
command:
|
command:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- image: bitnami/kubectl
|
- image: ghcr.io/fluxcd/flux-cli:v0.17.2
|
||||||
name: copy-kubectl
|
name: copy-kubectl
|
||||||
# it's okay to do this because kubectl is a statically linked binary
|
# it's okay to do this because kubectl is a statically linked binary
|
||||||
command:
|
command:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- image: bitnami/kubectl
|
- image: ghcr.io/fluxcd/flux-cli:v0.17.2
|
||||||
name: copy-kubectl
|
name: copy-kubectl
|
||||||
# it's okay to do this because kubectl is a statically linked binary
|
# it's okay to do this because kubectl is a statically linked binary
|
||||||
command:
|
command:
|
||||||
|
|||||||
Reference in New Issue
Block a user