Commit Graph

1757 Commits (948e050d607f913be2062ce286c7857ed35f2bbb)
 

Author SHA1 Message Date
Somtochi Onyekwere 0beab87f5b Add gpg key path and passphrase as args
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan b9ceceada4
Merge pull request #1881 from philnichol/add-git-ref-options-to-manifestgen
Add tag, semver and commit args to manifestgen
3 years ago
Phil Nichol ac7ccf7b94 added tag,semver,commit to manifestgen
Signed-off-by: Phil Nichol <35630607+philnichol@users.noreply.github.com>
3 years ago
Stefan Prodan 5aa9ae511f
Merge pull request #1898 from superbrothers/stdout
Fix "get" commands to use stdout instead of stderr
3 years ago
Kazuki Suda dd81ed896b
Fix "get" subcommands to use stdout instead of stderr
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
3 years ago
Stefan Prodan e6bbed162d
Merge pull request #1893 from SomtochiAma/flux-version
Add flux version command
3 years ago
Somtochi Onyekwere 3ee8747fdc Add flux version command
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan 0651064999
Merge pull request #1855 from darklore/shell-completion-homebrew
Add shell completion installation to homebrew formula
3 years ago
darklore 4661e4519d
Add shell completion installation to homebrew formulae
Signed-off-by: Katsunori Tanaka <zodiac.brave.story@gmail.com>
3 years ago
Stefan Prodan 19caeb178f
Merge pull request #1816 from fluxcd/azure/e2e
Add Azure E2E tests
3 years ago
Philip Laine d8235ea21b Add Azure E2E tests
Signed-off-by: Philip Laine <philip.laine@xenit.se>
3 years ago
Stefan Prodan 5067df179e
Merge pull request #1886 from SomtochiAma/fix-flux-logs
Filter pods from each deployment for flux logs
3 years ago
Somtochi Onyekwere 50a1e32da3 Sort pods from each deployment to get first and ready pod
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan fb85cafcc5
Merge pull request #1874 from SomtochiAma/helm-reconcile
Add better checks for reconciliation in reconcile run command
3 years ago
Somtochi Onyekwere d06a2936cc Better checks for reconciliation in reconcile run command
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan 7c77a9723a
Merge pull request #1877 from fluxcd/multi-arch-kubectl
Use multi-arch image for kubectl
3 years ago
Stefan Prodan 8a3e5790f5
Use multi-arch image for kubectl
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Hidde Beydals dd093a775a
Merge pull request #1869 from SomtochiAma/team-access-github 3 years ago
Somtochi Onyekwere a096bd2d71 Allow users to define team roles
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Hidde Beydals 2eddcde609
Merge pull request #1849 from SomtochiAma/bootstrap-git
Set username only when it isn't default
3 years ago
Somtochi Onyekwere 1849e1768a Set username when it isn't default
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Hidde Beydals bbe62d029c
Merge pull request #1846 from SomtochiAma/crd-panic-0.17.2 3 years ago
Somtochi Onyekwere 68a89d3cd4 Check for nil pointer before setting createNamespace in helmrelease
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Jakub Baron b16f1fc260 feature: let user specify what version of flux-cli they want to install
Signed-off-by: Jakub Baron <jakub.baron@oaknorth.com>
3 years ago
Somtochi Onyekwere 64f39e160b Check if helmRelease.Spec.Install is nil
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Stefan Prodan 3a76c26822
Merge pull request #1844 from fluxcd/fail-manifests-build-properly
Update Makefile target in release workflow
3 years ago
Michael Bridgen 9d9fff5796 Update Makefile target in release workflow
There's another location which uses the "manifests directory" target
directly, but isn't run when testing a PR: the release workflow.

Signed-off-by: Michael Bridgen <michael@weave.works>
3 years ago
Stefan Prodan 0a92c61b09
Merge pull request #1830 from makkes/fix-create-hr
fix: don't set 'Install' field by default in 'create hr'
3 years ago
Max Jonas Werner 546be76f55
fix: don't set 'Install' field by default in 'create hr'
This fixes the case where you create a HelmRelease with `--export` and
the `install: {}` field being there, adding no value to the manifest.

Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Stefan Prodan d770f3f53f
Merge pull request #1838 from superbrothers/dynamic-completions
Add dynamic completion suppport
3 years ago
Kazuki Suda 254cc131ae
Add dynamic completion suppport
This commit adds dynamic completion support for the following commands
and flags:

- `flux delete ...` command
- `flux export ...` command
- `flux get ...` command
- `flux reconcile ...` command
- `flux resume ...` command
- `flux suspend ...` command
- `--namespace` flag
- `--context` flag

Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
3 years ago
Stefan Prodan 70509ffcb4
Merge pull request #1833 from superbrothers/fix-971
Fix `flux completion zsh` to work with `source` only
3 years ago
Kazuki Suda 4cc2326c7f
Fix `flux completion zsh` to work with `source` only
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
3 years ago
Michael Bridgen 0133caaec4
Merge pull request #1828 from fluxcd/fail-manifests-build-properly
Use a file to record successful manifests build
3 years ago
Michael Bridgen 7ae4f28920 Use a file to record successful manifests build
Using the directory cmd/flux/manifests as a prerequisite causes a
problem: if the script that creates the files within fails, the next
invocation of make will see the directory and assume it
succeeded. Since the executable expects certain files to be present,
but they are not explicit prerequisites of the recipe for building the
binary, this results in a successful build but a broken `flux`
executable.

Instead, depend on a file that's explicitly updated when the script
has succeeded, and which itself depends on the inputs.

A couple of the CI workflows run

    make cmd/flux/manifests

before doing other things, presumably as a way to avoid running the
whole test suite in a CI pipeline for some purpose other than testing,
so these needed changing as well.

Signed-off-by: Michael Bridgen <michael@weave.works>
3 years ago
Stefan Prodan b1eb0270e9
Merge pull request #1811 from fluxcd/replace-promptui-lgpl
Replace promptui pkg with a fork free of LGPL
3 years ago
Stefan Prodan 03b6de1169
Replace promptui pkg with a fork free of LGPL
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan 9d3f75d111
Merge pull request #1810 from fluxcd/pass-version-to-build
Add version arg to make build
3 years ago
Stefan Prodan 5c41924b2f
Add version arg to make build
Allow specifying the version when building the CLI binary with Make. This is useful for projects that distribute their own Flux CLI binary.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Stefan Prodan 7cf7cf2f1e
Merge pull request #1801 from fluxcd/update-components
Update toolkit components
3 years ago
fluxcdbot 2679731bde Update toolkit components
- kustomize-controller to v0.14.1
  https://github.com/fluxcd/kustomize-controller/blob/v0.14.1/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
3 years ago
Stefan Prodan ad73370cd7
Merge pull request #1791 from 23technologies/feat/fix-secretRef-bucket-creation
Fix Bucket SecretRef mapping
3 years ago
Fynn Späker 18acae57bd Fix SecretRef
Signed-off-by: Fynn Späker <spaeker@23technologies.cloud>
3 years ago
Hidde Beydals b427356eca
Merge pull request #1782 from makkes/bootstrap-with-custom-ca
feat: enable bootstrap with custom CA locally
3 years ago
Max Jonas Werner 2e6ca16a4a
chore: use os.ReadFile instead of deprecated ioutil.ReadFile
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Max Jonas Werner e98f1142a6
feat: enable bootstrap with custom CA locally
When a user provided the `--ca-file` flag to the `bootstrap` command,
the given CA file wasn't taken into account for cloning the repository
locally. It was just passed along to the CR that is created so Flux
can make use of it when cloning the repository in-cluster.

However, users may not want to add a custom CA to their local host's
trust chain and may expect the `--ca-file` flag to be respected also
for cloning the repository locally. This is what this commit
accomplishes.

closes #1775

Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Hidde Beydals 06fa8f75c9
Merge pull request #1696 from allenporter/flux-cmd-create
Add tests for create source git
3 years ago
Allen Porter 8cbd4e8172 Add test for "flux create source git"
The create source tests are more interesting than the existing tests as they
create objects then wit for the flux source reconciler to complete. The tests
simulate this with a background goroutine that waits for an object to be
created then uses a test specific function to update it.

The tests set a timeout so that if there is a failure they timeout somewhat
quickly rather than hanging for a longer period of time.

Signed-off-by: Allen Porter <allen@thebends.org>
3 years ago
Stefan Prodan 83c7994266
Merge pull request #1761 from fluxcd/improve-readme
Simplify readme
3 years ago
Stefan Prodan 43843581b6
Simplify readme
- remove install instruction as they get out of sync with the docs website
- make the get started guide the first link under docs

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago