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
Stefan Prodan
1a7f253767
Fix Azure DevOps SSH URL in docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
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
7ae3dee900
Add image automation guide
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
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
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
d55d185044
Implement suspend, resume, reconcile image-update
...
.. and refactor. These are all amenable to the adapter refactoring
that has served well so far.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
f316aff2d3
Add delete, export, get image-update
...
This uses the established abstractions to implement the usual
subcommands for the ImageUpdateAutomation type.
I've called the sub-subcommand in each case `image-update`, as a
fairly safe shorthand for the much longer `image-update-automation`.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
433628791b
Add create auto image-update command
...
This adds the create subcommand, without attempting any refactoring.
NB the TODO: the image/v1alpha1 API does not yet export a const for
the name of the kind. The field `RunInterval` will likely be changed
to `Interval` (with a value field), at some point, too.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
52145c045d
Add delete image-policy and refactor
...
This adds a command for deleting ImagePolicy objects. Since the
control flow for the command needs only a runtime.Object (and a name
for the type), it can be factored out.
I have made the argument (field in the deleteCommand struct) an
interface `objectContainer`, through which the command code gets a
`runtime.Object` to deserialise into (and delete). It could be simply
a `runtime.Object` here; however things like `getCommand` require
other methods, so it's convenient to have an interface for it.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
512761080e
Add get auto image-policy and refactor
...
This factors the get command implementation so that the control flow
is generic and relies on a handful of methods, then uses that to add
`get auto image-policy` and to rewrite `get auto image-repository`.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
037a5b71fd
Add {create,export} auto image-policy
...
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
b66bdec61a
Add subcommands for image-repository
...
This adds all the standard subcommands for the ImageRepository type.
Following `source`, I have put them under a namespace: `auto`,
referring to automation.
NB For `create` I use controllerutil.CreateOrUpdate, which looks to me
like a slightly more rounded version of the upsert* funcs.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
4abe69f90a
Give flux bootstrap the extra components flag
...
This commit adds a flag for supplying extra components to bootstrap
(and its subcommands), to match the one for `flux install`.
Since the bootstrapComponents global is used in a few places, I made
it a func and renamed the variable. For consistency, I also renamed
the var used in install.go.
Lastly, so that the flag sorts next to `--components`, I changed it to
`--components-extra` in both commands.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
75023011d3
Add argument for adding to default install
...
If you want to install the default set of controllers and the image-*
controllers, at present you have to list every single one of them.
An improvement on this is to let people specify what they want _in
addition_ to the default controllers. This commit adds an argument
`--extra-components` which appends to the (most likely, default value)
slice of `--components`.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Stefan Prodan
9b62f01b53
Rearrange Azure DevOps docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Philip Laine
82b74d8689
Add git implementation flag and note about Azure DevOps
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
4 years ago
Stefan Prodan
4618998792
Add Kustomize FAQ to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
32e949598e
Publish install manifest to GitHub releases
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
9867c4baf0
Add create secret git command
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Aurel Canciu
d15b0107e4
Fix list parsing issue in the docs
...
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
4 years ago
Aurel Canciu
c1f209c7a5
Add information about the AUR packages to docs
...
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
4 years ago
Michael Bridgen
001d37567c
Provide pointers to the install guides in roadmap
...
This gives people a way into the software, alongside the idea of how
ready it is.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
af82ce31a6
Bring image automation roadmap up to date
...
Specifically,
- using credentials from a secret is done
- the CLI integration is underway
I gave the %-complete a decent bump to reflect those, and all the work
on making the image-* controllers have all the GOTK dials and knobs
e.g., suspend.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
12ad4908fa
Separate out "scans at all" from authentication
...
This makes it a clearer that the component does something worthwhile,
and is lacking mainly in platform-specific support.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Viktor Farcic
8834ab0210
Video
...
Signed-off-by: Viktor Farcic <viktor@farcic.com>
4 years ago
Stefan Prodan
90f4891ca9
Automate Flux upgrades with GitHub Actions
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
bd05a8173c
Specify where to place Kubernetes manifests after bootstrap
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
d2df9ccf33
Add service account arg to create commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
2c044a27e4
Add upgrade docs to install guide
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
567ce7f987
Add suspend status to get sources commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
e7ff319685
Add resume source commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
072138deff
Add suspend source commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Chanwit Kaewkasi
99f5dbf16b
add a note not to apply encrypted secrets directly
...
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
4 years ago
Stefan Prodan
a8e5876b2e
Add create tenant to CLI docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
George Tseres
5e47c16099
Update docs/guides/flux-v1-migration.md
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: gtseres <george.tseres@gmail.com>
4 years ago
George Tseres
902db4c732
Add reference to the bootstrap migration
...
Signed-off-by: gtseres <george.tseres@gmail.com>
4 years ago
Stefan Prodan
48bed79439
Add values-from arg to create helmrelease cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
3b2253ddc0
Add docs on how to use Kustomize to generate Helm values
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
59adef5bcc
Add AWS IAM role example to SOPS docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Aurel Canciu
53a1db0703
Adjustments to support new sa name in kustomize
...
Supporting changes in fluxcd/kustomize-controller#180
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
4 years ago
Stefan Prodan
bed48ada82
Fix cluster path in install docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
17468cb5f5
Add the Terraform provider to install docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
7792cd6a10
Add token authentication option to bootstrap
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
cedb33b2b9
Add values file example to Helm docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
3fadc94711
docs: include releaseName in HelmRelease example
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
61d02bf5e4
docs: fix typo
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
nguyenductoan
f0517906b7
docs: fix typo
...
Signed-off-by: nguyenductoan <ductoan593@gmail.com>
4 years ago
Philip Laine
b036999b8c
Update authentication hint for Azure
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
4 years ago
Stefan Prodan
9f7835d818
Add target namespace to create ks cmd
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
47a1743965
Add customize Flux manifests section to install docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Daniel Morgan
ba4df070cf
fixing command for expected output
...
The \ before the comment here means the subsequent lines end up getting commented out (and then not exported), see: https://stackoverflow.com/questions/9522631/how-to-put-a-line-comment-for-a-multi-line-command
Signed-off-by: Daniel Morgan <daniel@morgan.cymru>
4 years ago
Hidde Beydals
e6006e0833
Update Helm v3 feature parity roadmap
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Michael Bridgen
71995b4f83
Refine description of Sources
...
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
932c91d022
Move gitops toolkit index under components/
...
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
107e7424d1
Explain more up-front in website homepage
...
This commit
- adds a brief explanation of what Flux does
- makes the target features a little more self-explanatory
- gives GitOps Toolkit its own index page
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
c93181c0ad
Add section on target users
...
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Stefan Prodan
b2b64e7283
Update tag line and featured talks
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
e5bb3d5645
Add Helm Operator migration guide
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Sylvain Rabot
78d7dca985
Add a --context option
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
4 years ago
Stefan Prodan
427b107d0e
Add release procedure documentation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
e4c701864a
Update bootstrap docs to match v0.2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
300c3dd578
Update talks section
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
bb6a61a313
Add migration guide for Flux v1 users
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
mewzherder
65244e3b8d
Community section: add link to GH Discussions
...
Signed-off-by: mewzherder <tamao@weave.works>
4 years ago
Michael Bridgen
031c09d8dc
Link to specific guide
...
In the absence of a dev-guides index or other GitOps Toolkit specific
home page, link to the dev guide that exists, for now.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
5209d9cf75
Add GOTK section to index
...
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
5e96cec95b
Replace GitOps Toolkit in docs
...
This replaces most mentions of "GitOps Toolkit" and "toolkit" with
"Flux". I have adopted the style of using "Flux v2" in the first
mention, and thereafter just "Flux".
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Hidde Beydals
0bf52f4746
Change `fluxcd/toolkit` to `fluxcd/flux2`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
345707e6cc
Incorporate name and metric changes in Grafana cfg
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
e2752e4508
Rename `gotk` binary to `flux`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
9916a53761
Rename `gotk-system` namespace to `flux-system`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
c3fdc41a91
Update HelmRelease documentation
...
* Remove mention of dependency download limitation
* Include bucket sources in HelmRelease guide
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Philip Laine
b0d2a38ff6
Refactor manifest generation
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
4 years ago
Stefan Prodan
db17cacbf4
Update the stable Helm repository in docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
06434464bb
Add monitoring guide
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Ally Parker
2d67ea5f7f
Add secret-ref flag to git source
...
Add secret-ref flag to Helm source
Add secret-ref to bucket source
4 years ago
“Anton
95ef3c1782
Update docs
4 years ago
“Anton
a58c18e992
Refresh bootstrap and install docs
4 years ago
Stefan Prodan
a8b667780a
Add Windows OS to CLI install docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
d0eb55fb86
Merge branch 'gitlab-https-auth' of https://github.com/fluxcd/toolkit into gitlab-https-auth
4 years ago
Stefan Prodan
b041dbd14f
Add GitLab HTTPS auth to bootstrap options
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
19918cd342
Refactor create, reconcile and resume cmds
...
* Take ObservedGeneration into account in readiness checks where
applicable
* Reduce amount of code (and duplicate GETs) by working with pointers
where possible
* Improve logged messages to properly take resource names into account
and better describe processes
4 years ago
Stefan Prodan
16f0ed548e
Add GitLab HTTPS auth to bootstrap options
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stacey Potter
18bdd26be8
updated with featured talks + upcoming meetups
4 years ago
Michael Bridgen
7a2eae0699
Mark the design tasks for image automation as done
...
This leaves the implementation tasks as not done -- a bit of a
simplification, since there's some implementation done, and some
design left to do, but it's close enough at this level.
I estimated that having the design basics figured out is worth 30%
overall.
4 years ago
Stefan Prodan
ca8cf44200
Add cluster stats dashboard to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
90591e852d
Update docs website
...
- add notification-controller/api commands to index
- move diagrams to docs website
- update CRDs docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Nanik
7dc8aa66a6
Add ARM instruction under staging and production bootstrap
4 years ago
Philip Laine
d32e8c6e98
Remove aliases
4 years ago
Philip Laine
55cee488bc
Update docs
4 years ago
Philip Laine
94cf7c329c
Update docs
4 years ago
Stefan Prodan
ca970b4ffb
docs: Install the monitoring stack with gotk
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Jared Rieger
bfd6d14bf3
Update api versions in guides
4 years ago
Daniel Holbach
2ce9823b3a
close parentheses, make link to guide more obvious
4 years ago
Hidde Beydals
c0623334ee
Update guide to include column output commands
4 years ago
Hidde Beydals
d41bd6b6b1
Merge pull request #299 from circa10a/main
...
Switch get commands to use tables for output
4 years ago
circa10a
3619cb8bd1
Switch get commands to use tables for output
...
Signed-off-by: circa10a <caleblemoine@gmail.com>
4 years ago
Yiannis
5372dd633e
Update api versions in docs
4 years ago
stefanprodan
07677ed4a7
Add option to disable the network policy at install time
4 years ago
stefanprodan
0e52065893
Change the bootstrap default branch to main
4 years ago
stefanprodan
536630cbcd
Update roadmap after v0.1 release
4 years ago
Philip Laine
edddf65d0e
Update docs for git notifiers
4 years ago
Hidde Beydals
ff6a1c14be
Rename 'gitops-system' namespace to 'gotk-system'
...
To align with the project name, and the group introduced in #236 .
4 years ago
stefanprodan
d902c71a6f
Update components to v0.1
4 years ago
stefanprodan
393be92632
Add support for multi-namespace tenant ownership
4 years ago
stefanprodan
d11fa476e1
Refactor object kind/name parsing
4 years ago
stefanprodan
bd2994f9ab
Add support for Bucket sources to Kustomizations/HRs
4 years ago
stefanprodan
83bd245bfd
Add Bucket API spec to docs
4 years ago
stefanprodan
a02452ccb9
Implement bucket CRUD commands
4 years ago
Hidde Beydals
6e7b311696
Add community section to `README.md`
4 years ago
Daniel Holbach
c2661fb79e
Add community section
...
fixes : #261
4 years ago
Daniel Holbach
4e70fd704b
remove superfluous spaces
4 years ago
stefanprodan
1c7994a353
Add support for namespace/name format in depends-on
4 years ago
stefanprodan
85801f18ae
Add uninstall section to install guide
4 years ago
stefanprodan
f93a40a18b
Suspend bootstrap kustomization on uninstall
4 years ago
stefanprodan
101e7bbce0
Add support for ARMv7
4 years ago
Stefan Prodan
8ca6e44de7
Merge pull request #236 from fluxcd/tenant-cmd
...
Add create tenant command
4 years ago
stefanprodan
fafcf09570
Add -n shorthand for namespace flag
4 years ago
Hidde Beydals
346d8f7583
docs: add more content to the README.md
4 years ago
stefanprodan
2096532f5d
Add create tenant command
4 years ago
Stefan Prodan
67e0acd044
Merge pull request #235 from stealthybox/shell-completions
...
Support bash, fish, zsh, and powershell shell completions as separate sub-commands
4 years ago
leigh capili
cbcdfc5f6c
Support bash, fish, zsh, and powershell shell completions as separate sub-commands
4 years ago
stefanprodan
2bac5aabee
Add log level flag
4 years ago
stefanprodan
d5e78b9f80
Add watch all namespaces flag
4 years ago
Hidde Beydals
ea010895a0
docs: update Helm roadmap
4 years ago
stefanprodan
a7b1b04920
Add bootstrap reinstall e2e test
4 years ago
stefanprodan
1218d6abe8
Add branch flag to bootstrap cmd
4 years ago
stefanprodan
797cd9bea2
Add label arg to create commands
4 years ago
stefanprodan
ca1f84d22b
Publish Homebrew formula
4 years ago
stefanprodan
ee33702463
Add Mozilla SOPS guide to docs
4 years ago
stefanprodan
8b6995e9ec
Add decryption flags to create kustomization cmd
4 years ago
stefanprodan
5c8d00665f
Use GitHub Container Registry for AMD64/ARM64 images
4 years ago
Stefan Prodan
f4d78cc08e
Merge pull request #202 from fluxcd/arch
...
Add ARM64 support to install/bootstrap
4 years ago
stefanprodan
1b55ead16e
Add ARM64 to install docs and script
4 years ago
stefanprodan
3f07bd6471
Add arch flag to install/bootstrap
4 years ago
Hidde Beydals
2f861f19c0
Update `gotk create helmrelease` examples
...
To better reflect optional fields and highlight specific configuration
options.
4 years ago
Scott Rigby
44a3cf86d3
Docs: fix gotk create helmrelease examples
...
Signed-off-by: Scott Rigby <scott@r6by.com>
4 years ago
Hidde Beydals
7719dd378b
docs: GitRepository source in HelmRelease guide
4 years ago
Philip Laine
496abc3a98
Add documentation for github commit status
4 years ago
Hidde Beydals
8b9abfb26e
Merge pull request #196 from fluxcd/docs/helmrelease-guide-changes
4 years ago
Hidde Beydals
e53d0dadbf
Support GitRepository source in HelmRelease cmds
4 years ago
Hidde Beydals
2727f4b92d
docs: update helm-controller doc
4 years ago
Hidde Beydals
0f74f65af8
docs: update FAQ differences Helm integration
4 years ago
Hidde Beydals
8e03968370
docs: incorporate HelmRelease API changes in guide
4 years ago
Daniel Holbach
cc18077192
update roadmap
4 years ago
Daniel Holbach
a96bb72fb8
Roadmap for Flux v2 is settled for now, remove note
4 years ago
Hidde Beydals
22624ae4d5
Rename `tk` binary to `gotk`
...
To avoid conflicts with the `tk` binary from the Tanka project.
4 years ago
Stefan Prodan
35d6172d06
Merge pull request #172 from fluxcd/ssh-host
...
Add SSH hostname arg to GitLab bootstrap
4 years ago
stefanprodan
b5ed8f0183
Add SSH hostname arg to GitLab bootstrap
4 years ago