Commit Graph

1478 Commits (9dc10ef7d1389df531d98cc1e874e3401adfce48)
 

Author SHA1 Message Date
Lucas Servén Marín 065d0b2c06
cmd/flux/export_source*: fix typo in comment
This commit fixes a small typo in the comments for the export source
commands.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
4 years ago
Stefan Prodan ed4718205a
Merge pull request #1065 from fluxcd/build-prerequisites
Add Go 1.16 to prerequisites (contributing doc)
4 years ago
Stefan Prodan a29d0c536d
Add Go 1.16 to prerequisites (contributing doc)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals eaeb8ca5c1
Merge pull request #1025 from gliptak/patch-1
Correct ineffassign
4 years ago
Gábor Lipták 2092c14aca Correct ineffassign
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
4 years ago
Stefan Prodan 69f38b8c77
Merge pull request #1027 from stealthybox/sops-gpg-batch
Improve SOPS GPG guide key management
4 years ago
leigh capili d2cdd02a57
Parameterize GPG key input and fingerprint
Signed-off-by: leigh capili <leigh@null.net>
4 years ago
leigh capili 095c8323a1
Capitalize SOPS, K8s, and Git
Signed-off-by: leigh capili <leigh@null.net>
4 years ago
leigh capili accb4c915e
Improve SOPS GPG guide key management
- Switch to batch GPG key creation
- Accurately name the cluster's decryption key
- Suggest password-manager backup
- Optionally cleanup secret key from generating machine
- Optionally commit the public key to the repo for team members
- Document SOPS limitations decryption required for editing / appending fields

Signed-off-by: leigh capili <leigh@null.net>
4 years ago
Hidde Beydals 242809f61d
Merge pull request #1069 from fluxcd/doc-link-fix
docs: fix link to source-controller documentation
4 years ago
Hidde Beydals c4907cf6c6 docs: fix link to source-controller documentation
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals a4b9191fa3
Merge pull request #1066 from fluxcd/manifest-bundle-tweaks 4 years ago
Hidde Beydals 5fd3d0bd41 Generate manifests in `flux-{go,scm}` AUR packages
This commit makes a couple of changes to the `flux-{go,scm}` packages
so that they properly build again:

- The manifests are generated before the compilation of the `flux`
  binary.
- The `makedepends` have been updated to require a version of Go
  `>=1.16` (which is a requirement for `embed`).
- The `makedepends` have been updated to require a `kustomize` version
  `>=3.0` (as we use `transformers`).

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals ba6da23323 Make manifests dir `bundle.sh` configurable
There was an assumption in this script that it is always executed in Git
repository/directory, this is however not always true, for example when
one downloads the `.tar.gz` that is made available for every release
by GitHub (and used in one of our AUR packages).

This commit changes this, and makes the first argument of `bundle.sh`
configurable, so a custom manifests directory can always be defined
_without_ relying on Git.

Omitting it, or passing an empty string, will still fall back to the
previous behavior of using `git rev-parse --show-toplevel`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 0328bb14ce
Merge pull request #1062 from fluxcd/improve-embedded-manifests-build
Improve build process embedded manifests
4 years ago
Hidde Beydals 2b7a0f3fd4 Improve build process embedded manifests
This commit changes the way the build of manifests is triggered by
making smarter use of the capabilities of Make. The result should be
that the manifests are only regenerated if:

1. There is no `cmd/flux/manifests/` directory.
2. There have been made changes to the YAML files in the `manifests/`
   directory that are newer than the files in `cmd/flux/manifests/`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 527886bea0
Merge pull request #1060 from fluxcd/aur-pkg-autocomplete-install
Install Bash, Fish, ZSH auto complete in AUR pkgs
4 years ago
Hidde Beydals 98078a0c65 Install Bash, Fish, ZSH auto complete in AUR pkgs
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan ca660b7ba5
Merge pull request #1048 from fluxcd/restore-key-algorithm-default
Restore default key algorithm flag create source
4 years ago
Hidde Beydals ed93e93b81 Restore default key algorithm flag create source
This was removed by accident in the PR that introduced the new
`manifestgen` packages, and now restored in full glory.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan 80419f00db
Merge pull request #1043 from fluxcd/update-components
Update toolkit components
4 years ago
fluxcdbot 01946facb3 Update toolkit components
- helm-controller to v0.8.1
  https://github.com/fluxcd/helm-controller/blob/v0.8.1/CHANGELOG.md
- kustomize-controller to v0.9.2
  https://github.com/fluxcd/kustomize-controller/blob/v0.9.2/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
4 years ago
Stefan Prodan 08c1bd7653
Merge pull request #1034 from stealthybox/fix-migration-link
Fix anchor on kustomize migration link
4 years ago
leigh capili ebf9188c6a
Fix anchor on kustomize migration link
Signed-off-by: leigh capili <leigh@null.net>
4 years ago
Stefan Prodan 382c6d5885
Merge pull request #1033 from fluxcd/docs-migration-faq
Move the v1 vs v2 FAQ to the migration section
4 years ago
Stefan Prodan 384c60a988
Move the v1 vs v2 FAQ to the migration section
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals 0078147587
Merge pull request #1022 from fluxcd/create-kustomization-path-fix
Use path with '/' slashes in created Kustomization
4 years ago
Hidde Beydals d79bedf2bc Use path with '/' slashes in created Kustomization
This fixes a bug on Windows where the safe relative path would contain
'\' slashes, which are not compatible with the controller.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 14b31b321c
Merge pull request #1008 from fluxcd/helm-faq 4 years ago
Stefan Prodan 309b9b52f8 Add Helm Controller standalone FAQ to migration guide
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 5d063e7390 faq: Can I use Flux HelmReleases without GitOps?
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals e7ba9b5624
Merge pull request #1018 from tvories/docs/fish_completions 4 years ago
tvories 81f6fa598f Updated godocs to match readme
Signed-off-by: tvories <taylor@tmtech.me>
4 years ago
tvories d9eabcdbf7 Removed posix style loading for flux and added .fish filetype to completions file
Signed-off-by: tvories <taylor@tmtech.me>
4 years ago
Hidde Beydals bb3562427b
Merge pull request #1001 from fluxcd/manifestgen-deploysecret-kustomization
Add `sourcesecret` and `kustomization` manifestgen
4 years ago
Hidde Beydals 8a5bba80bf Add `sourcesecret` and `kustomization` manifestgen
This includes a change to the `sync` generator to make the deploy
secret name configurable.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan ff2833c4d1
Merge pull request #993 from fluxcd/air-gapped-install
Document air-gapped install procedure
4 years ago
Stefan Prodan 45ba845f23
Document air-gapped install procedure
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals 771a14fcf6
Merge pull request #998 from fluxcd/update-components
Update image-automation-controller to v0.6.1
4 years ago
fluxcdbot c8ff861d00 Update toolkit components
- image-automation-controller to v0.6.1
  https://github.com/fluxcd/image-automation-controller/blob/v0.6.1/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
4 years ago
Hidde Beydals 0f05ce3605
Merge pull request #994 from fluxcd/update-components
Update toolkit components
4 years ago
fluxcdbot 38a3f3ba11 Update toolkit components
- kustomize-controller to v0.9.1
  https://github.com/fluxcd/kustomize-controller/blob/v0.9.1/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
4 years ago
Hidde Beydals 659a19cd80
Merge pull request #992 from fluxcd/status-poller-fix
Update sigs.k8s.io/cli-utils to v0.22.2
4 years ago
Hidde Beydals baaa466c0f Update sigs.k8s.io/cli-utils to v0.22.2
This is the first release that includes a patch of the
`CachingClusterReader` so that it continues on all list errors.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan 168c65bb6e
Merge pull request #987 from fluxcd/embed-install-manifests
Embed the Kubernetes manifests in flux binary
4 years ago
Stefan Prodan 6003d11156
Embed the install manifests in flux binary
- add make target for generating the install manifests using kustomize
- embed the generated manifests in flux binary
- the install and bootstrap commands default to using the embedded manifests
- download the install manifests from GitHub only if the install/bootstrap version arg is set

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 1f16b6d639
Merge pull request #988 from fluxcd/setup-go-update-ci
Properly setup Go version in update workflow
4 years ago
Hidde Beydals 54bb4b2efd Properly setup Go version in update workflow
To prevent false `go.mod` modifications.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan f54770c21a
Merge pull request #984 from fluxcd/darwin-arm64-build
Publish flux binary for Apple Silicon
4 years ago
Stefan Prodan 1244a62deb
Publish flux binary for Apple Silicon
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago