Commit Graph

889 Commits (714f9df3cfb8750d875697df2808dee54b321808)
 

Author SHA1 Message Date
Jonas Kello 714f9df3cf Link docs how to get zsh completion to work in getting-started
I tried to make completions work in zsh by just adding the same code as for the bash example but of course switching bash for zsh but it did not work. When I googled and dug deeper I finally found the answer in the deeper docs here:

https://github.com/fluxcd/flux2/blob/main/docs/cmd/flux_completion_zsh.md

The command in there works if I add it to my .zshrc file. I think linking to these specific docs may prevent others from just assuming it will work the same in zsh.

Signed-off-by: Jonas Kello <jonas.kello@gmail.com>
4 years ago
Hidde Beydals dd5165dcbf
Merge pull request #624 from fluxcd/update-components
Update toolkit components
4 years ago
fluxcdbot 6da22613fe Update toolkit components 4 years ago
Hidde Beydals d0926776a5
Merge pull request #627 from fluxcd/doc-targetpath-escape-note
docs: add note about `TargetPath` and JSON values
4 years ago
Hidde Beydals 14dc39e8d2 docs: add note about `TargetPath` and JSON values
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals f0f2a79384
Merge pull request #622 from vterdunov/patch-1 4 years ago
Hidde Beydals 7b6f875920 docs: 'like so' -> 'as in the following example'
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Terdunov Vyacheslav 52cec044b8 Fix typo
Signed-off-by: Terdunov Vyacheslav <mail2slick@gmail.com>
4 years ago
Hidde Beydals 07dd59892f
Merge pull request #623 from fluxcd/e2e-timeout
Set e2e uninstall timeout to 10m
4 years ago
Stefan Prodan ffeaa683c5 Set e2e uninstall timeout to 10m
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals 1301bf7c15
Merge pull request #617 from alexei-led/main
Support check command with multiple config files
4 years ago
Alexei Ledenev 69387fd2a4 Support check command with multiple config files
Resolves: #472
Signed-off-by: Alexei Ledenev <alexei.led@gmail.com>
4 years ago
Stefan Prodan 12a0ebe3ba
Merge pull request #619 from fluxcd/pat-hint
Add note about deploy key linked to pat
4 years ago
Philip Laine 3de81827eb Move hint to github guide
Signed-off-by: Philip Laine <philip.laine@xenit.se>
4 years ago
Philip Laine a7362b60e7 Add note about deploy key linked to pat
Signed-off-by: Philip Laine <philip.laine@xenit.se>
4 years ago
Stefan Prodan 5d4bb3a43f
Merge pull request #618 from fluxcd/kustomize-helm-e2e
Add e2e test for flux2-kustomize-helm-example
4 years ago
Stefan Prodan d02d507812
Add e2e test for flux2-kustomize-helm-example
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 554de7ba6f
Merge pull request #616 from fluxcd/fix-action-binary
Move flux binary to GitHub workspace
4 years ago
Stefan Prodan 5d9ccc973d
Move flux binary to GitHub workspace
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 53ffb8aa00
Merge pull request #615 from fluxcd/flux-action-docs-ignore
Add note about ignoring flux action binary
4 years ago
Stefan Prodan c4da4a81aa
Add note about ignoring flux action binary
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals b824ea8858
Merge pull request #612 from fluxcd/docs/zsh-completion-example
Fix zsh completion command example
4 years ago
Hidde Beydals 22e26efec1 Fix zsh completion command example
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 679490e8f4
Merge pull request #610 from fluxcd/update-components
Update toolkit components
4 years ago
fluxcdbot 15f17ed36d Update toolkit components 4 years ago
Hidde Beydals c8265fb80c
Merge pull request #607 from fluxcd/docs-fix-image-updates-branch
Add branch to image automation docs
4 years ago
Stefan Prodan 3883e92631
Add branch to image automation docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan aa9bc4ce8b
Merge pull request #606 from fluxcd/update-components
Update kustomize-controller to v0.5.1
4 years ago
fluxcdbot 37c14e8088 Update toolkit components 4 years ago
Hidde Beydals 439fbafc01
Merge pull request #605 from fluxcd/case-insensitive-selector-args
Make resource selector args case insensitive
4 years ago
Hidde Beydals 1b8e980519 Make resource selector args case insensitive
So that `<kind>/<name>` flags can be supplied as:

* `secret/foo`
* `Secret/foo`
* `SeCrEt/foo`

But result in: `Secret/foo`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 567acb6291
Merge pull request #604 from fluxcd/flags-tests
Add tests for CLI flags
4 years ago
Hidde Beydals 996bfe87ff Add tests for CLI flags
This includes various bug fixes, especially around the area of missing
names for `<kind>/<name>` formats.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals 3c1793b6c5
Merge pull request #603 from fluxcd/fix-azure-devops-docs 4 years ago
Stefan Prodan 1a7f253767
Fix Azure DevOps SSH URL in docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals f188e59b21
Merge pull request #602 from fluxcd/safe-rel-path
Add safe guards for relative paths
4 years ago
Hidde Beydals 5ea4e814f5 Add safe guards for relative paths
This commit adds multiple safe guards for relative paths, ensuring they
never traverse outside the working directory.

The `SafeRelativePath` flag calculates the safe relative path based on a
relative base dir, which results in a flattened path.

The write methods of `manifestgen` make use of the `SecureJoin` as well,
to ensure writes are never outside of the given directory when used as
a lib outside of the CLI.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Stefan Prodan 008b3b8408
Merge pull request #599 from fluxcd/docs-image-updates
Add image automation guide
4 years ago
Stefan Prodan 7ae3dee900
Add image automation guide
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 2395ab6e14
Merge pull request #597 from fluxcd/fix-cluster-domain
Fix cluster domain mapping
4 years ago
Stefan Prodan 8efe053ffa
Fix cluster domain mapping
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 612600b88c
Merge pull request #595 from L3o-pold/add-cluster-domain-bootstrap-option
Add cluster-domain option for bootstrap command
4 years ago
Léopold Jacquot 4d7df52dbe Add cluster-domain option for bootstrap command
Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>
4 years ago
Stefan Prodan b6c63a1aa4
Merge pull request #594 from fluxcd/update-components
Update source-controller to v0.5.4
4 years ago
fluxcdbot a4788ce6bb Update toolkit components 4 years ago
Michael Bridgen 0ba6fc1b36
Merge pull request #538 from fluxcd/image-controller-commands
Add commands for image automation API
4 years ago
Michael Bridgen 0e35c209d9 Factor out upsert and upsertAndWait
It's a common pattern in the create commands to construct a value,
then (if not exporting it) upsert it and wait for it to
reconcile. This commit factors `upsert`, which does the update/insert
bit, and `upsertAndWait`, which does the whole thing.

Since these output messages, they are methods of `apiType` (previously
`names`), so that they have access to the name of the kind they are
operating on.

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen 3b9b2cbe9f Reuse isReady from create_image commands
I implemented the isReady procedure for adapters for resume -- use it
in create too.

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen 45240bdb71 Rename "auto" subcommands to "image"
This means all the sub-subcommands can drop the `image-` prefix,
making them shorter and more fluent.

E.g.,

    flux create image policy

rather than

    flux create auto image-policy

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen 22a5ac7f0f Standardise the names of types
Most commands use either a kind, or a more readable spelling of a
kind, in their output. To make this easier, this centralises the
definition of those names in one place, and lets the command
implementations choose whichever they need.

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago