Add support for ARMv7

pull/247/head
stefanprodan 4 years ago
parent 0e969bbaad
commit 101e7bbce0

@ -9,6 +9,9 @@ builds:
goarch: goarch:
- amd64 - amd64
- arm64 - arm64
- arm
goarm:
- 7
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
archives: archives:

@ -275,7 +275,7 @@ images:
{{- if eq $arch "amd64" }} {{- if eq $arch "amd64" }}
newName: {{$registry}}/{{$component}} newName: {{$registry}}/{{$component}}
{{- else }} {{- else }}
newName: {{$registry}}/{{$component}}-{{$arch}} newName: {{$registry}}/{{$component}}-arm64
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

@ -110,7 +110,7 @@ var (
defaultVersion = "latest" defaultVersion = "latest"
defaultNamespace = "gitops-system" defaultNamespace = "gitops-system"
defaultNotification = "notification-controller" defaultNotification = "notification-controller"
supportedArch = []string{"arm64", "amd64"} supportedArch = []string{"amd64", "arm", "arm64"}
supportedDecryptionProviders = []string{"sops"} supportedDecryptionProviders = []string{"sops"}
supportedHelmChartSourceKinds = []string{sourcev1.HelmRepositoryKind, sourcev1.GitRepositoryKind} supportedHelmChartSourceKinds = []string{sourcev1.HelmRepositoryKind, sourcev1.GitRepositoryKind}
supportedLogLevels = []string{"debug", "info", "error"} supportedLogLevels = []string{"debug", "info", "error"}

@ -34,7 +34,7 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
``` ```
The install script downloads the gotk binary to `/usr/local/bin`. The install script downloads the gotk binary to `/usr/local/bin`.
Binaries for macOS and Linux AMD64/ARM64 are available for download on the Binaries for macOS and Linux AMD64/ARM are available for download on the
[release page](https://github.com/fluxcd/toolkit/releases). [release page](https://github.com/fluxcd/toolkit/releases).
To configure your shell to load gotk completions add to your Bash profile: To configure your shell to load gotk completions add to your Bash profile:

@ -23,10 +23,13 @@ With Bash:
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
# enable completions in ~/.bash_profile # enable completions in ~/.bash_profile
. <(gotk completion) . <(gotk completion bash)
``` ```
Binaries for macOS and Linux AMD64/ARM64 are available for download on the Command-line completion for `zsh`, `fish`, and `powershell`
are also supported with their own sub-commands.
Binaries for macOS and Linux AMD64/ARM are available for download on the
[release page](https://github.com/fluxcd/toolkit/releases). [release page](https://github.com/fluxcd/toolkit/releases).
Verify that your cluster satisfies the prerequisites with: Verify that your cluster satisfies the prerequisites with:
@ -58,9 +61,10 @@ gotk bootstrap <GIT-PROVIDER> \
--version=latest --version=latest
``` ```
!!! hint "ARM64" !!! hint "ARM"
When deploying to a Kubernetes cluster with ARM 64-bit architecture, When deploying to a Kubernetes cluster with ARM architecture,
you can use `--arch=arm64` to pull the linux/arm64 toolkit container images. you can use `--arch=arm` for ARMv7 32-bit container images
and `--arch=arm64` for ARMv8 64-bit container images.
If you wish to install a specific version, use the toolkit If you wish to install a specific version, use the toolkit
[release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`. [release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`.

Loading…
Cancel
Save