Commit Graph

187 Commits (e2752e450864f92b9899bcc844f43af085bd263f)

Author SHA1 Message Date
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 8dfbc35e60
Ignore missing kinds when uninstalling
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 b3ef410fb7 Add source bucket provider flag 4 years ago
“Anton 0c55bca218 Add helm chart source flag 4 years ago
“Anton 5fd28439dc Add kustomization source and decryption provider flags 4 years ago
“Anton 058dfdfcd6 Move flags and utils to internal packages 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 7718c6a2a5
Merge pull request #340 from fluxcd/bootstrap-validate-manifests
Enable client side validation on bootstrap
4 years ago
“Anton 4989826124 Get rid of shell-out and invoke kubetcl directly via exec 4 years ago
Stefan Prodan f23a551ae3
Enable client side validation on bootstrap
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan 880ef303e8
Set alert provider secretRef only if specified
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Stefan Prodan d2d494e079
Uninstall improvements
- ignore not found errors when deleting objects
- remove the CR/CRDs before deleting the cluster role binding
- capture kubectl exist code

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Philip Laine d32e8c6e98 Remove aliases 4 years ago
Philip Laine 65b8942416 Fix minor issues 4 years ago
Philip Laine 8eac7d6b4d Implement table output 4 years ago
Philip Laine 7ebb34de80 Add receiver command 4 years ago
Philip Laine 6ea84906ac Add alert commands 4 years ago
Philip Laine f7971a871a Add alert provider commands 4 years ago
Stefan Prodan 5672646278
Use install pkg in CLI
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
stefanprodan f613c01803 Update blang/semver to v4
Signed-off-by: stefanprodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals f3cab6e177 Display proper revision for sources
Includes a change to an empty revision string if the reconciler has not
produced an artifact yet, as this will otherwise result in a nil
pointer dereference.
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
Hidde Beydals 8e2316ba62 Support multi-path KUBECONFIG
Ref:
https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable
4 years ago
stefanprodan 07677ed4a7 Add option to disable the network policy at install time 4 years ago
Hidde Beydals 7b2227bfac Remove faulty `break` from get commands 4 years ago
stefanprodan 1427b1537e Fix Kusomization depends-on mapping 4 years ago
stefanprodan 29c1cf1237 Retry setting annotation on conflict 4 years ago
stefanprodan 0e52065893 Change the bootstrap default branch to main 4 years ago
Hidde Beydals 1a679ee05d Remove creationTimestamp leading spaces 4 years ago
Hidde Beydals 84e36ed847 Use `LastHandledReconcileAt` in reconcile commands 4 years ago
Hidde Beydals f216273008 Make use of `GetCondition` from `pkg/apis/meta` 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
Stefan Prodan cf080330ba
Merge pull request #276 from fluxcd/kustomize-bootstrap-dir
Generate a kustomize package for the bootstrap manifests
4 years ago
stefanprodan 2373bacb0c Generate a kustomize package for the bootstrap manifests 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 34147d7694 Add validation for bucket providers 4 years ago
stefanprodan a02452ccb9 Implement bucket CRUD commands 4 years ago
stefanprodan 1c7994a353 Add support for namespace/name format in depends-on 4 years ago
stefanprodan 7b4e815a8d Always apply sync manifests on bootstrap 4 years ago
Stefan Prodan b0e407bf30
Merge pull request #254 from fluxcd/uninstall-fix
Suspend bootstrap kustomization on uninstall
4 years ago