1
0
mirror of synced 2026-02-06 19:05:55 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Hidde Beydals
2b7a0f3fd4 Improve build process embedded manifests
This commit changes the way the build of manifests is triggered by
making smarter use of the capabilities of Make. The result should be
that the manifests are only regenerated if:

1. There is no `cmd/flux/manifests/` directory.
2. There have been made changes to the YAML files in the `manifests/`
   directory that are newer than the files in `cmd/flux/manifests/`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-08 16:06:44 +01:00
Stefan Prodan
6003d11156 Embed the install manifests in flux binary
- add make target for generating the install manifests using kustomize
- embed the generated manifests in flux binary
- the install and bootstrap commands default to using the embedded manifests
- download the install manifests from GitHub only if the install/bootstrap version arg is set

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-25 12:53:04 +02:00
Hidde Beydals
56024de6cc Delete generated docs before regenerating them
This ensures no stray files are kept when for example a command name
changes.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 17:58:48 +01:00
Hidde Beydals
e2752e4508 Rename gotk binary to flux
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 16:25:16 +01:00
Hidde Beydals
22624ae4d5 Rename tk binary to gotk
To avoid conflicts with the `tk` binary from the Tanka project.
2020-09-01 11:33:49 +02:00
Hidde Beydals
9a6d48d038 docs: run doc gen as part of test target 2020-06-23 16:25:55 +02:00
stefanprodan
afcb41c59b Add bash completion cmd 2020-05-01 22:06:44 +03:00
stefanprodan
3bcc2ae992 Format commands examples 2020-04-28 21:01:20 +03:00
stefanprodan
4a872836e3 Generate tk docs with cobra/doc 2020-04-25 20:07:48 +03:00
stefanprodan
35163fa9eb Add e2e tests for install command 2020-04-24 20:32:06 +03:00
stefanprodan
c8fdf76084 Init toolkit CLI 2020-04-24 14:30:27 +03:00