Commit Graph

857 Commits

Author SHA1 Message Date
zuoxuesong-worker 867aca2b7d
feat: image module add copy func (#2868)
* feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: update some default config values (#2866)

feat: update some default config values

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

bugfix: fix artifact image tag set func (#2870)

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: k8s add haproxy image default value (#2869)

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: kk 4.0 制品导出 支持skip_tls_verify 私仓镜像 #2854 (#2855)

* feat: kk 4.0 制品导出 支持skip_tls_verify 私仓镜像 #2854

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

---------

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
Co-authored-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: image module add copy func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

---------

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-28 13:32:00 +08:00
LiYang 4985395a4d
feat: kk 4.0 制品导出 支持skip_tls_verify 私仓镜像 #2854 (#2855)
* feat: kk 4.0 制品导出 支持skip_tls_verify 私仓镜像 #2854

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: update image skip tls verify func

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

---------

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
Co-authored-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-27 12:45:23 +08:00
zuoxuesong-worker d9c699f80a
feat: feat no root ssh (#2858)
feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh



feat: feat no root ssh

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-17 08:29:34 +00:00
zuoxuesong-worker dcce8df095
bugfix: fix a bug when use loop (#2852)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-12 09:49:30 +00:00
zuoxuesong-worker a8cb828b6f
bugfix: fix a bug that role and role sons when handle error (#2840)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-07 12:21:22 +08:00
liujian 4c71311fe2
refactor: improve responseWriter implementation in proxy transport (#2836)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-11-03 09:54:16 +08:00
liujian 204fb6c525
refactor: replace custom decode function with runtime.DecodeInto for improved error handling in fileStorage (#2822)
- Updated Create, Get, and GuaranteedUpdate methods to use runtime.DecodeInto instead of a custom decode function.
- Enhanced error messages for better debugging.
- Commented out the old decode function for potential future reference.

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-10-24 14:35:23 +08:00
wenwenxiong 97bba44fe6
fix kubekey ip_vs modules covered in kube_proxy-ipvs.conf (#2809)
Co-authored-by: xiongww <xiongww@chinatelecom.cn>
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-10-21 10:40:02 +08:00
liujian 3af5e91aa4
feat: update release configuration and add download script (#2815)
- Changed the archive name template in .goreleaser.yaml for better clarity.
- Added a new section in README files to document the UI installation process for versions v4.0.0 and above.
- Removed the old release workflow file and updated the releaser.yaml to include artifact synchronization to OSS.
- Introduced a new script (downloadKubekey.sh) for downloading binaries with UI support.

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-10-20 18:45:43 +08:00
zuoxuesong-worker 3990f14f3c
bugfix : fix default download config (#2811)
bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-10-15 07:32:21 +00:00
zuoxuesong-worker 1755f106b7
bugfix : fix image auth errors (#2808)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-10-13 08:23:20 +00:00
zuoxuesong-worker c66b9d0b7a
feat: change image pull auth args (#2780)
feat: change image pull auth args



feat: change image pull auth args



feat: change image pull auth args



feat: change image pull auth args



feat: feat ssh connect exec sudo error with non-root user



feat: feat ssh connect exec sudo error with non-root user



feat: change image pull auth args

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-29 10:59:06 +08:00
liujian ea70663492
feat: add validation for unique host variables in inventory (#2779)
This update introduces a function to ensure that internal IPv4 addresses and SSH connections are unique across all hosts in the inventory. It checks for duplicates and returns an error if any are found, enhancing the integrity of the inventory data.

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-28 16:14:05 +08:00
liujian 3517ad8907
feat: add None in gen_cert.policy (#2773)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-22 15:35:52 +08:00
zuoxuesong-worker 9b1bd9ffe1
bugfix: fix ssh check with wrong local key check (#2772)
bugfix: fix ssh check with wrong local key check



bugfix: fix ssh check with wrong local key check



bugfix: fix ssh check with wrong local key check

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-22 10:11:58 +08:00
zuoxuesong-worker 54e819d867
feat : add issue 6787 (#2764)
feat : add issue 6787



feat : add issue 6787



feat : add issue 6787



feat : add issue 6787



feat : feat issue 6787



feat: add issue 6787

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-19 09:43:52 +08:00
zuoxuesong-worker 6e4fc9956e
bugfix: fix some system id error (#2770)
bugfix: fix some system id error



bugfix: fix some system id error

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-18 15:29:50 +08:00
zuoxuesong-worker e3eba1a1a7
feat : change iso installer (#2768)
feat : change iso installer



feat : change iso installer



feat : add iso installer



feat : add iso installer



feat : add iso installer



feat : add iso installer



feat : add iso installer



feat : add iso installer

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-18 14:06:50 +08:00
zuoxuesong-worker 3d1461f8ce
bugfix : fix issue 6796 (#2752)
bugfix : fix bug 6796



bugfix : fix bug 6796



bugfix : fix bug 6796



bugfix : fix issue 6796

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-08 11:07:36 +08:00
zuoxuesong-worker 516bd99af8
bugfix:change k8s default config image tags (#2736)
bugfix:change k8s default config image tags



bugfix: change k8s default config image tags

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-29 05:44:59 +00:00
zuoxuesong-worker c12ddbd092
feat: move web const to web api (#2737)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-29 11:35:21 +08:00
liujian d62e56985a
fix: add kubernetes version from config (#2724)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-08-26 15:00:20 +08:00
zuoxuesong-worker 79fa0a4d8c
bugfix: fix builtin package empty graph bug (#2726)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-26 03:11:56 +00:00
zuoxuesong-worker 9711164ff7
feature: abandan file cycle import (#2721)
* feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feature: abandan file cycle import

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* fix: add comment

Signed-off-by: redscholar <blacktiledhouse@gmail.com>

---------

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
Co-authored-by: redscholar <blacktiledhouse@gmail.com>
2025-08-25 17:15:17 +08:00
liujian ba98704f30
Update resources.go 2025-08-25 13:47:07 +08:00
liujian 3885b443ac
fix: change builtin/core architectures (#2718)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-08-22 21:59:40 +08:00
zuoxuesong-worker a8e533e608
feature: support task include vars (#2717)
feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars



feature: support task include vars

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-22 01:25:53 +00:00
zuoxuesong-worker aaae2f6634
feature: support same key in different file (#2714)
feature: support same key in different file



feature: support same key in different file



feature: support same key in different file



feature: support same key in different file

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-20 11:10:55 +08:00
zuoxuesong-worker 68f3ee1fca
feature: support defaults main dir (#2709)
feature: support defaults main dir



feature: support defaults main dir



feature: support defaults main dir



feature: support defaults main dir



feature: support defaults main dir



feature: support defaults main dir

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-19 02:36:50 +00:00
zuoxuesong-worker a6c14affc1
feature: add pull image platform (#2705)
feature: add pull image platform

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-15 15:32:04 +08:00
liujian 4c72031a74
fix: Make the /schema/config POST endpoint more robust. (#2699)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-14 14:00:03 +08:00
liujian 0f40e29791
fix: more clear error (#2694)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-12 03:07:45 +00:00
liujian 48b7c3b34b
feat: check inventory when it's changed (#2691)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-07 17:50:23 +08:00
liujian 348c9b2d15
feat: enhance precheck tasks for image registry and network validation (#2676)
* feat: enhance precheck tasks for image registry and network validation

- Added a task to ensure successful authentication to the image registry.
- Updated existing tasks to provide clearer failure messages for required configurations.
- Improved validation for network interfaces and CIDR configurations, ensuring dual-stack support.
- Enhanced error handling in the resource handler for playbook creation.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: enhance configuration and query handling

- Added `-trimpath` flag to Go build configuration for improved binary paths.
- Updated REST configuration to set QPS and Burst limits for better performance.
- Refactored query handling to use string types for field and value, improving type consistency.
- Enhanced error handling in resource configuration updates and improved parsing of request bodies.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: check inventory when it's changed

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: enhance playbook execution and query handling

- Added a new optional query parameter `promise` to the playbook and inventory endpoints, allowing for asynchronous execution control.
- Introduced a new result state `ResultPending` to indicate ongoing operations.
- Refactored the executor function to handle the `promise` parameter, enabling conditional execution of playbooks.
- Improved error handling and logging during playbook execution.

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-04 15:27:22 +08:00
liujian 620b7f56a3
feat: enhance connector interface and implementations (#2675)
- Updated the Connector interface to return both stdout and stderr for command execution.
- Modified implementations in local, kubernetes, and ssh connectors to support the new return values.
- Improved documentation for the Connector interface methods for clarity.
- Added error handling for stderr in command execution across connectors.
- Introduced new utility functions for IP parsing and checking localhost IPs.

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-30 08:02:34 +00:00
liujian 7b84f4a6fc
feat: add result of POST /resources/schema/config (#2671)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-25 14:51:42 +08:00
liujian 7b61dafb95
fix: add ui-path for kk web (#2670)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-25 11:20:41 +08:00
liujian 5ff30bff45
feat: add webUI route (#2668)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-23 09:12:02 +00:00
liujian 6b9636d144
feat: enhance schema handling with playbook results (#2667)
- Added a new field `Result` to `SchemaTablePlaybook` to store the result of the associated playbook.
- Updated the `allSchema` function to unmarshal and assign the playbook result if available.
- Cleared `PlaybookPath` after processing to prevent unintended references.
- Adjusted the `SchemaTable` struct to include `PlaybookPath` for better schema management.

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-23 11:31:16 +08:00
liujian 2b8ea3eb46
feat: test variable store in memory (#2666)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-23 11:25:08 +08:00
liujian 86c99122fa
feat: make the nodelocaldns bind IP configurable. (#2665)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-21 15:23:37 +08:00
liujian 71c1b2e08f
feat: rescue success continue execute playbook (#2664)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-21 14:12:37 +08:00
liujian 98b688be10
feat: add delegate_to (#2662)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-18 07:22:58 +00:00
liujian 873e4dda44
fix: error update playbook (#2660)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-18 10:28:34 +08:00
liujian 2e6bad6355
fix: add sshPort of listIP result (#2656)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-14 11:03:29 +08:00
liujian 39657b3dd9
fix: playbook delete is error (#2654)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-10 14:04:24 +08:00
liujian e5077f51e9
feat: add role dependency at meta (#2652)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-09 14:52:07 +08:00
liujian 96d6bc73c9
feat: more expiration for ca file (#2650)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-07 08:17:48 +00:00
liujian c71814aa09
fix: add index to groups (#2649)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-07 11:22:20 +08:00
liujian e3dec872f6
feat: add more web interface (#2648)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-03 14:48:49 +08:00