Commit Graph

223 Commits (2bb09697ce766f37cd4131eb8240d3fdad364cfb)

Author SHA1 Message Date
“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
stefanprodan f93a40a18b Suspend bootstrap kustomization on uninstall 4 years ago
stefanprodan 9b0c44162a Validate bootstrap required components 4 years ago
stefanprodan 101e7bbce0 Add support for ARMv7 4 years ago
stefanprodan fafcf09570 Add -n shorthand for namespace flag 4 years ago
stefanprodan 0b14328024 Use the group version for HR APIVersion 4 years ago
stefanprodan 2096532f5d Add create tenant command 4 years ago
stefanprodan 4136eb1444 Add export resource helper function 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 c36e02bba9 Update kustomize-controller to v0.0.12 4 years ago
stefanprodan 2bac5aabee Add log level flag 4 years ago
stefanprodan d5e78b9f80 Add watch all namespaces flag 4 years ago
stefanprodan 531c2bcf00 Import fluxcd/pkg/runtime 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 afef6960b9 Cleanup GitHub e2e repo 4 years ago
stefanprodan b1e66f81ab Add label validation 4 years ago
stefanprodan 797cd9bea2 Add label arg to create commands 4 years ago
Hidde Beydals f18d1efdcb Refactor HelmRelease chart source kind validation 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 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
Hidde Beydals e53d0dadbf Support GitRepository source in HelmRelease cmds 4 years ago
Hidde Beydals fa56685767 Upgrade Toolkit components and K8S deps
* github.com/fluxcd/helm-controller/api to v0.0.6
* github.com/fluxcd/source-controller/api to v0.0.13

* k8s.io/api to v0.18.8
* k8s.io/apiextensions-apiserver to v0.18.8
* k8s.io/apimachinery to v0.18.8
* k8s.io/client-go to v0.18.8
* sigs.k8s.io/controller-runtime to v0.6.2
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
Hidde Beydals e751bdc8a9 Change readiness check for HelmRelease
As the HelmRelease injects its own HelmChart, the first reconciliation
will always trigger a `Ready==False` condition while it waits for the
chart to become ready. Given this, we should only take this condition
into account when the `status.LastAttemptedRevision` has been recorded,
as this marks the fact that the chart is available and an action was
attempted.
4 years ago
Hidde Beydals 2078d048a1 Fix: change v1.JSON for HelmRelease to pointer 4 years ago
stefanprodan b5ed8f0183 Add SSH hostname arg to GitLab bootstrap 4 years ago
stefanprodan 17df7a46e2 Make export work offline 4 years ago
Hidde Beydals 123433c4ea Support providing TLS certs for helm source 5 years ago
Manuel Morejon ffd4784916
Replace tab by space 5 years ago
Manuel Morejon 750830c302
Replace tk sync example by tk reconcile 5 years ago
Manuel Morejon d245ef9b39
Remove tk sync example from help command
Signed-off-by: Manuel Morejon <manuel@mmorejon.io>
5 years ago
stefanprodan c2ff169c08 Add image pull secret arg to install/bootstrap 5 years ago
stefanprodan 57a1dbfc6d Add container registry option to install/bootstrap 5 years ago
Stefan Prodan efb39d6fc6
Merge pull request #127 from fluxcd/node-selector
Add linux/amd64 node selector to controllers
5 years ago
stefanprodan aebad92426 Add linux/amd64 node selector to controllers
Set nodeSelector to linux/amd64 for clusters with mixed nodes (linux, windows, amd64, arm).
5 years ago
stefanprodan 8e67cfd5c9 Delete custom resources during uninstall
Remove Kustomizations, GitRepositories and HelmRepositories before deleting the toolkit controllers and CRDs.
5 years ago
stefanprodan 3620b76139 Make notification component optional 5 years ago
stefanprodan 0b2bc7ab3f Implement get/export HelmRelease for Helm releases 5 years ago
stefanprodan 797aec5528 Add create/delete HelmRelease e2e tests 5 years ago
stefanprodan 5f0b95dc59 Implement create/delete for Helm releases 5 years ago
stefanprodan 8534ccbf37 Implement Helm repository commands 5 years ago
stefanprodan 9af874d810 Add examples to all tk commands 5 years ago
stefanprodan aaad618e20 Rename kustomization arg from validate to validation
Fix `tk create kustomization` command args inconsistency with the Kustomize API
5 years ago
stefanprodan 670070a879 Drop support for Kubernetes <1.16 5 years ago
stefanprodan b92cbcd7e7 Use semver manifests as kustomize base
Instead of cloning the components repositories to download the base manifests, we build them in CI at release time and download them in tk install/bootstrap based on the provided semver. This speeds up the manifests generation from minutes to milliseconds.
5 years ago
stefanprodan 499ba15004 Add export option to tk install 5 years ago
stefanprodan c664484fda Update controllers and go modules
- update source-controller to v0.0.5
- update kustomize-controller to v0.0.4
- update notification-controller to v0.0.4
- update helm-controller to v0.0.1-alpha.2
5 years ago
stefanprodan 8dc5db17ac Add helm suspend/resume commands 5 years ago
stefanprodan 7a68c4ccf3 Add reconcile helm commands 5 years ago
stefanprodan 394227571f Rename sync cmd to reconcile 5 years ago
stefanprodan e180611024 Refactor defaults
- add dedicated components flag for bootstrap/install/check
- extract defaults to vars
- update CLI docs
5 years ago
stefanprodan 02521b6964 Add helm-controller to installer 5 years ago
stefanprodan e594350307 Add notification controller to tk components 5 years ago
stefanprodan 4621afcb31 Migrate to fluxcd/pkg 5 years ago
Hidde Beydals 329e21fd78 Create logger interface 5 years ago
Hidde Beydals d7f8a05612 Sort supported ECDSA curves names
To ensure options are always printed in the same order.
5 years ago
Hidde Beydals 21fd436621 Add descriptions to all CLI commands 5 years ago
stefanprodan 892230280c Honour KUBECONFIG environment variable 5 years ago
Hidde Beydals 0e81f6c3af docs: disable autogen footer CLI docs 5 years ago
Hidde Beydals cf45401250
Merge pull request #59 from fluxcd/git/author-email
Use owner in Git author email
5 years ago