Somtochi Onyekwere
daeb41c31b
Uses path instead of filepath
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Somtochi Onyekwere
dd0b807fe4
Validates components set
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@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
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
6280fbce17
Update kustomize/api to v0.7.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
ee1f70841c
Use path rel to working dir for kustomize build
...
Work around for a bug in kustomize causing it to not properly
handle absolute paths on Windows.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Sylvain Rabot
dd65e9b89d
Fix typo
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
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
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
Stefan Prodan
9bc250d027
Refactor manifests generation
...
- introduce manifestgen pkg, to be consumed by the CLI and Terraform provider
- consolidate defaults in manifestgen/install pkg
- introduce Manifest as the returning type of manifest generation
- add helper function to Manifest for writing multi-doc YAMLs on disk
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Philip Laine
b0d2a38ff6
Refactor manifest generation
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
4 years ago
Stefan Prodan
0e67b76b57
Change copyright to Flux authors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
5672646278
Use install pkg in CLI
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan
c4d3fa7a48
init install pkg
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
stefanprodan
4621afcb31
Migrate to fluxcd/pkg
5 years ago
Hidde Beydals
329e21fd78
Create logger interface
5 years ago
Hidde Beydals
98cf176c81
Improve Git provider error messages
5 years ago
Hidde Beydals
1df5a36f84
Copyright headers
5 years ago
stefanprodan
d0a79c2b4c
Use git package for bootstrap
5 years ago
stefanprodan
bd781bbcfb
Extract git operations
5 years ago
Hidde Beydals
ba7a11d0e5
Add Go license to forked package
5 years ago
Hidde Beydals
134d819bdf
ssh: add in-memory knownhosts utilities
5 years ago
Hidde Beydals
43876b5ab9
Make SSH host key utilities publicly accessible
5 years ago
Hidde Beydals
6017946144
Improve host key scanner, add Ed25519 generator
5 years ago
Hidde Beydals
2dfe88b82d
Move ssh package from internal to pkg
5 years ago