Commit Graph

2509 Commits

Author SHA1 Message Date
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
liujian 6f0437eabb
fix: add condition to check download_image in playbooks and tasks (#2769)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-18 12:35:49 +08:00
liujian f3c66de4dd
fix: add ubuntu 2404 (#2766)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-15 05:09:13 +00:00
liujian 64d4340ac9
feat: add iso workflow (#2765)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-15 04:55:13 +00:00
zuoxuesong-worker a86f7fc33c
bugfix : fix --with-kubernetes not affect (#2759)
bugfix : fix --with-kubernetes config not effect



bugfix : fix --with-kubernetes config not effect

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-11 14:47:39 +08:00
zuoxuesong-worker 32aba628e9
bugfix : fix secure path set in centos (#2757)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-10 17:20:39 +08:00
zuoxuesong-worker 0b7d62d93b
bugfix : fix a bug, openebs can not use leases (#2753)
bugfix : fix a bug, openebs can not use leases

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-08 09:22:10 +00:00
zuoxuesong-worker b0a1d227dd
bugfix : fix issue 6764 (#2748)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-08 14:15:36 +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 602afffcfa
bugfix : change openebs version from 4.3 to 4.2 (#2751)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-08 01:44:08 +00:00
zuoxuesong-worker a4d46c3cf5
bugfix : fix issue 6795 (#2749)
bugfix : fix issue 6795



bugfix : fix issue 6795

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-05 15:55:33 +08:00
liujian a07bf6d538
fix: use english task name (#2745)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-09-05 00:55:04 +00:00
zuoxuesong-worker 13c9e46e80
feat: change artiface image host list (#2743)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-02 09:37:03 +00:00
zuoxuesong-worker 363fa287f7
bugfix: change k8s default config image tags (#2741)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-02 07:08:02 +00: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
zuoxuesong-worker 24c80637ac
feat: change k8s image tags and artifact func (#2729)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-27 09:56:57 +00:00
zuoxuesong-worker 3fa58f45ed
bugfix: fix harbor verson config path (#2727)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-26 08:58:56 +00: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
liujian 4013fefef8
Update build-multiarch.yaml 2025-08-25 18:29:34 +08: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 cf754e0394
Update delete_cluster.yaml 2025-08-25 13:18:11 +08:00
liujian 2a4f516c72
fix: error format for kubernetes version file (#2723)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-08-25 11:16:16 +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
liujian b49cfc7fc4
Update OWNERS 2025-08-19 10:35:27 +08:00
liujian 8138d1e52a
fix: Strengthen nodelocaldns (#2702)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-18 11:03:08 +08: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
zuoxuesong-worker 6ec705768c
bugfix: update add user command ,check wheather user exist or not ,only create user when user not exist (#2692)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-06 15:59:54 +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