Commit Graph

49 Commits

Author SHA1 Message Date
iwilltry42
6c94d7db3d
overall/license: update to year range -2021 2021-05-21 13:07:59 +02:00
Thorsten Klein
0b7de65ebd
fix/workaround: add workaround for cgroupv2 until fixed in k3s (#579)
special thanks to @AkihiroSuda for the support on this!
2021-04-29 09:17:49 +02:00
Thorsten Klein
f2af514929
[Enhancement] docs: add automatic command tree generation via cobra (#562) 2021-04-14 14:14:07 +02:00
Thorsten Klein
239adeb864
[Feature] Runtime Info (#553) 2021-04-07 19:20:58 +02:00
iwilltry42
dbe32704a5
root: add goos/goarch debug log 2021-03-11 10:57:21 +01:00
iwilltry42
98a48a0fc6
enable buildkit and timestamped logging 2021-02-04 19:33:19 +01:00
Thorsten Klein
092f26a4e2
[FEATURE/FIX] Viper Configuration and JSON Schema (#472) 2021-02-03 11:31:21 +01:00
iwilltry42
608f24a6e3
completion/zsh: explicitly source zsh completion
Thanks for the hint @konradmalik, fixes #390
2021-01-18 08:52:47 +01:00
Thorsten Klein
ecc025b35e
[Feature] Registry for v4 & Restructure Cluster Creation (#334) 2020-12-09 15:59:20 +01:00
Thorsten Klein
778f80d8fd
[FEATURE] Config File (#351) 2020-12-04 16:02:37 +01:00
iwilltry42
d7b25ac6ab
v3 -> v4 2020-12-04 13:45:57 +01:00
iwilltry42
11cc797922
overall/logging: new trace log level
- new root flag '--trace' with precedence over '--verbose'
- some new trace logs
- migrated some debug logs to trace logs to reduce debug verbosity
2020-10-07 08:58:03 +02:00
Thorsten Klein
ddbf01917b
Merge pull request #333 from rancher/feature/plugin-system
[Feature] Basic Plugin System - SubGoal: callables
2020-09-14 08:42:08 +02:00
Tadeu Andrade
cc222ef67a (feature) Add fish shell completions 2020-08-28 11:00:35 -03:00
iwilltry42
fb0d09545b
plugin: finish handling and executing plugins 2020-08-13 09:05:26 +02:00
iwilltry42
a746e4f2db
init plugin system 2020-08-13 07:55:45 +02:00
iwilltry42
9f76db2d4a
root: same help text for version and --version 2020-07-17 10:02:32 +02:00
iwilltry42
594ead1428
remove old subcommands 2020-07-14 12:41:55 +02:00
iwilltry42
7d384d8347
add image command 2020-07-13 09:02:03 +02:00
iwilltry42
2aecabb8ca
add node commands 2020-07-13 08:55:29 +02:00
iwilltry42
08f7a47119
new syntax for cluster creation and kubeconfig manipulation 2020-07-08 15:03:28 +02:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility 2020-06-18 07:58:36 +02:00
iwilltry42
2d6a67822c
remove fixed FIXME :) 2020-06-05 14:29:01 +02:00
iwilltry42
76b7450b02
remove --runtime root flag and make docker the default 2020-06-05 08:50:47 +02:00
Antoine
e3bf18660e
👌 PR review
Use `log.Fatalln(err)` instead of `log.Errorln(err)` + `os.Exit(1)`
Use Label prefix instead of LabelName suffix
Rename all secret occurence with token
2020-06-04 00:49:12 +02:00
Antoine
07be211bca
💚 fix ci review unchecked function error 2020-06-04 00:49:12 +02:00
Antoine
f6eaf25a2e
♻️ Some side effect refactoring
Print usage When no k3d verb was specify
Replace fake Cluster object create into getKubeConfig by realy complete object obtain thanks to cluster.GetCluster() function
Use constant variable for node Label name use into populateClusterFieldsFromLabels() function, in forecast to rename label `k3d.cluster.secret` to `k3d.cluster.token`
2020-06-04 00:49:08 +02:00
iwilltry42
e788614ff1
rootCmd: add back --version flag 2020-05-11 13:28:18 +02:00
iwilltry42
ecea154735
docs: add website link 2020-05-04 18:27:35 +02:00
iwilltry42
5121ef80a5
create/start/stop cluster: fix how Master-LoadBalancer is treated
- always include the k3d.role label and use LoadBalancerRole for
masterlb
- start masterlb last when starting a stopped cluster so it won't fail
2020-04-22 13:18:26 +02:00
Jacob Weinstock
3548642cb3
Merge branch 'master-v3' into master-v3 2020-04-19 09:36:17 -06:00
Jacob Weinstock
fdd5e5a57a log to stdout or stderr depending on the log level 2020-04-19 15:32:40 +00:00
iwilltry42
cc8399ba63
Cleanup: Todos in cmd/ 2020-04-08 13:28:10 +02:00
iwilltry42
7005f8182a
validate clustername on create and use global runtime variable 2020-03-29 19:39:41 +02:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d 2020-01-05 21:16:31 +01:00
iwilltry42
f571ff3143
getk3sversion 2020-01-02 14:32:25 +01:00
iwilltry42
4929915717
add completion 2019-12-19 22:11:14 +01:00
iwilltry42
7c63c34609
init completion 2019-12-19 13:12:07 +01:00
iwilltry42
744b01a2d1 init loadImages command 2019-11-26 17:20:19 +01:00
iwilltry42
098fe0803c implement start/stop for nodes and clusters 2019-11-13 13:43:56 +01:00
iwilltry42
6b148ae755 add version command 2019-10-16 14:46:02 +02:00
iwilltry42
2217048daf comment cleanup 2019-09-30 10:57:56 +02:00
iwilltry42
5f5c516ba2 adapt new way of choosing runtime 2019-09-25 10:04:40 +02:00
iwilltry42
e9a620caf3 add most important flags to create cluster 2019-09-03 15:17:36 +02:00
iwilltry42
f92b0f115c reorder imports 2019-09-03 14:06:38 +02:00
iwilltry42
937f422b51 fix package name 2019-09-03 14:05:26 +02:00
iwilltry42
95c28f298c add subcommands 2019-09-03 14:04:32 +02:00
iwilltry42
dcda1bbeec initialize logging 2019-09-03 12:30:53 +02:00
iwilltry42
bdcdbd817a init cobra 2019-09-03 12:04:02 +02:00