liujian
9c87926929
feat: add web api ( #2591 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-26 09:36:13 +00:00
liujian
8c84ea7a33
doc: defined env by struct ( #2589 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-23 06:55:10 +00:00
liujian
202700fb43
feat: run gather_facts by module ( #2588 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-23 05:56:10 +00:00
liujian
de5cc690e2
doc: Add details to the module comments. ( #2587 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-23 02:30:10 +00:00
liujian
d979c92066
fix: change failed_when execute time ( #2586 )
...
* fix: change failed_when execute time
Signed-off-by: joyceliu <joyceliu@yunify.com>
* doc: move pkg/util to pkg/controllers/util
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-22 18:00:22 +08:00
liujian
4c9256cae4
feat: add ssh auth private_key_content ( #2585 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-22 09:43:09 +00:00
liujian
ecfb0fe2b3
fix: Unexpected error during initial resource listing ( #2579 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-20 02:45:07 +00:00
pixiake
fa2e0f477e
support prometheus tasks ( #2573 )
...
Signed-off-by: pixiake <guofeng@yunify.com>
2025-05-16 08:52:03 +00:00
liujian
e97e538fa2
feat: add delete nodes command ( #2565 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-14 11:26:26 +08:00
liujian
fb474bde50
feat: change builtin defined variable ( #2561 )
...
* feat: change inventory_hosts to hostvars
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: change inventory_hosts to hostvars
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-13 06:40:01 +00:00
liujian
9a672ad646
feat: Support for auto-detecting nodes to add. ( #2560 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-12 09:53:00 +00:00
liujian
13df73e0ea
feat: add gather_facts cache ( #2558 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-12 06:20:01 +00:00
liujian
a876b3c9d7
feat: add command add node ( #2557 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-08 18:00:00 +08:00
liujian
9502ac5391
feat: Parse YAML parameters sequentially. ( #2555 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-07 17:15:52 +08:00
liujian
ea4a19ec9f
feat: add register_type ( #2532 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-16 10:03:30 +08:00
liujian
def153b0bc
feat: Thread-safe reading and writing ( #2531 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-16 09:50:28 +08:00
liujian
7560b29946
feat: add delete cluster command ( #2528 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-11 14:04:47 +08:00
liujian
2c19021fb2
feat: more type to defined playbook file ( #2522 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-03 15:23:00 +08:00
liujian
954579beb5
fix: Remove the error stack from the intermediate layer. ( #2521 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-01 17:13:48 +08:00
liujian
34448781a6
feat: use unstructured to get or set value for config ( #2519 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-31 10:00:11 +08:00
liujian
e5b4505485
feat: change default criSocket to docker ( #2517 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-28 15:40:08 +08:00
liujian
e40c57fb9f
fix: change pipeline to playbook ( #2512 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-24 09:51:03 +08:00
liujian
ccca0edd81
fix: ssh command no need to escape ( #2507 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-18 02:37:28 +00:00
liujian
b27426a604
fix: error parse when ( #2505 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-12 16:57:49 +08:00
liujian
93addfb88e
feat: Adding generic methods to template parsing ( #2503 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-10 19:10:53 +08:00
liujian
6cdcdd31d9
feat: add unit test for variable ( #2502 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-07 17:55:47 +08:00
liujian
86ff6371b6
Uninstall docker interface ( #2478 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-05 18:55:12 +08:00
liujian
3e56b095de
fix: test kk push image to harbor. ( #2457 )
...
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-19 14:23:29 +08:00
liujian
b79482aa05
refactor: move env to _const. ( #2455 )
...
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-13 06:06:59 +00:00
dbb_DingYongliang
a083447d15
Feature capkk controller ( #2419 )
...
* capkk controller
* capkk scope
* feat: update capkk controller
* feat: add secrets reconcile
* feat: update go.mod
* feat: update go.sum
* feat: bug fix and deal with secrets
* fix: remove webhook
* fix: lint error
2024-10-29 17:57:05 +08:00
dbb_DingYongliang
b10dc00c1b
fix: bug fix ( #2427 )
2024-10-10 16:23:16 +08:00
dbb_DingYongliang
87deeac2af
feat: add pipelinetemplate spec for kkcluster ( #2426 )
2024-10-10 13:57:33 +08:00
dbb_DingYongliang
3cbabc539f
Update kkcore crds ( #2425 )
...
* feat: add make command to generate capkk crds
* feat: remove pipelinetemplate crd
2024-10-10 13:47:33 +08:00
dbb_DingYongliang
44c9153074
feat: update kkcore CRDs ( #2410 )
2024-10-10 05:19:53 +00:00
dbb_DingYongliang
2ff308d661
feat: add capkk CRDs ( #2409 )
...
* feat: add capkk CRDs
* feat: add annotations for CRDs
2024-10-10 13:19:33 +08:00
dbb_DingYongliang
fc6c8b5101
bug fix ( #2414 )
2024-09-25 09:33:16 +08:00
dbb_DingYongliang
4261580a60
fix: symbolic bug in GatherFacts function ( #2411 )
...
* fix: replace `bytes.TrimSuffix` with `bytes.TrimSpace` in HostInfo function, to avoid unexpected `\r` symbolic with different os system.
* fix: replace trim function with trimSpace
* fix bug
2024-09-20 11:18:10 +08:00
dbb_DingYongliang
e4957a648b
fix: ssh formatting exception bug when executing commands ( #2406 )
...
* fix: ssh formatting exception bug when executing commands
* Update ssh_connector.go
WARNING: Use `nolint:gosec` annotation
* Update ssh_connector.go
* Update ssh_connector.go
* Update local_connector.go
* Update local_connector.go
* Update init_repository.yaml
2024-09-18 03:33:33 +00:00
liujian
92dd64f227
only use sudo mode to execute command ( #2405 )
...
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: delete not `sudo` mode.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-12 02:03:28 +00:00
liujian
289a6b0659
add `sudo_password` to use sudo mod. ( #2402 )
...
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: add `sudo` and SHELL in connector.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-11 15:38:59 +08:00
liujian
d1026e15a5
add `sudo` and SHELL in connector ( #2398 )
...
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: add `sudo` and SHELL in connector.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-11 03:07:15 +00:00
Xiao Liu
d2ea25dffe
fix: image pull failed ( #2394 )
2024-09-06 16:28:35 +08:00
liujian
48831c7121
fix: graceful delete runtime dir. ( #2393 )
...
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: graceful delete runtime dir.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-06 11:18:52 +08:00
liujian
658023cc8c
fix: error local router. ( #2388 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-04 14:59:23 +08:00
II
865913fea9
feat: add more golangci lint rule. ( #2366 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-21 16:33:36 +08:00
II
718de31d46
change package name ( #2355 )
...
* fix: set default work_dir is "./kubekey".
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: change pkg/apis/core to pkg/apis/project pkg/apis/kubekey to pkg/apis/core .
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-12 13:39:06 +08:00
II
647ae222bf
fix: set default work_dir is "./kubekey". ( #2354 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-12 11:26:06 +08:00
II
1aa519d295
feat: --set contains multi string "=". ( #2351 )
...
* fix: --set contains multi string "=".
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: --set contains multi string "=".
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-09 10:22:59 +08:00
II
91a1cf549b
feat: delete unuse function. ( #2345 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-06 12:03:53 +08:00
II
526e234594
fix: inventory_name is localhost, install failed ( #2344 )
...
* fix: misspelling
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: misspelling
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: misspelling
Signed-off-by: joyceliu <joyceliu@yunify.com>
* fix: misspelling
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: user go-template instance pongo2-template
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: not set incorrect
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: more beautiful progress bar
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: deal localhost node.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-05 17:14:52 +08:00