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
e3dec872f6
feat: add more web interface ( #2648 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-03 14:48:49 +08:00
liujian
9c87926929
feat: add web api ( #2591 )
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-26 09:36:13 +00: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
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
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
github-actions[bot]
4f4b7333b8
Add vendor directory ( #2450 )
...
SyncVendor / sync vendor (push) Has been cancelled
Co-authored-by: ks-ci-bot <ci-bot@kubesphere.io>
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-11-05 12:04:06 +08:00
liujian
6fdb8c2f18
parent 82cc8fd489
...
author liujian <54946465+redscholar@users.noreply.github.com> 1730687587 +0800
committer joyceliu <joyceliu@yunify.com> 1730699443 +0800
fix: failed to install without image_registry (#2442 )
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-11-04 13:55:09 +08: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
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
4919e639c5
feature: use go template instance pongo2 template ( #2340 )
...
* 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>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-05 10:06:49 +08:00
joyceliu
36110a3240
fix: format code.
...
1. add var_files in playbook to set default value for the playbook.
2. add global_registry variable
3. Convert variable value: bool type strings (such as "true", "false") to bool type
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-19 17:06:11 +08:00
joyceliu
fe588fad3a
feat: add artifact command.
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-14 16:35:29 +08:00
joyceliu
e6eca604f8
feat: add pretty log
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-06-07 16:00:34 +08:00
joyceliu
2eed0820d7
fix: add operator
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-29 10:32:02 +08:00
joyceliu
34b4d1b8c9
fix: Modify comments
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-23 12:52:45 +08:00
joyceliu
bdef602ddf
feat: add create cluster command
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-05-21 19:21:48 +08:00
joyceliu
e4db402e49
feat: add proxy client to transport resource to local.
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-02-06 16:08:43 +08:00
joyceliu
5205c4cbdd
feat: Change the klog print format. Remove custom-defined cache instances and use Kubernetes cache instead.
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-01-15 19:23:31 +08:00
joyceliu
2a676185e2
feat: kubekey gitops
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-01-05 15:14:36 +08:00
joyceliu
2f4c2fa795
feat: init branch
...
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-01-04 14:38:24 +08:00
pixiake
26f37bb432
Supports custom configuration of cluster dns
...
Signed-off-by: pixiake <guofeng@yunify.com>
2023-08-22 13:32:49 +08:00
KubeSphere CI Bot
6464406d61
Merge pull request #1634 from kubesphere/dependabot-go_modules-github.com-evanphx-json-patch-5.6.0incompatible
...
build(deps): bump github.com/evanphx/json-patch from 4.12.0+incompatible to 5.6.0+incompatible
2023-04-06 16:17:34 +08:00
24sama
4564012ae0
feat: modify go mod path
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-12-19 14:14:27 +08:00
dependabot[bot]
7bdd05900e
build(deps): bump github.com/evanphx/json-patch
...
Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch ) from 4.12.0+incompatible to 5.6.0+incompatible.
- [Release notes](https://github.com/evanphx/json-patch/releases )
- [Commits](https://github.com/evanphx/json-patch/compare/v4.12.0...v5.6.0 )
---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 16:03:47 +00:00
24sama
fff7846ad9
bump k8s.io apiserver to v0.25.4 and bump cluster-api to v1.2.6
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-11-24 16:18:44 +08:00
dependabot[bot]
e453078cef
build(deps): bump k8s.io/kubectl from 0.25.0 to 0.25.4
...
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl ) from 0.25.0 to 0.25.4.
- [Release notes](https://github.com/kubernetes/kubectl/releases )
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.25.0...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/kubectl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 06:47:10 +00:00
dependabot[bot]
4ca1eed5b2
build(deps): bump k8s.io/api from 0.25.0 to 0.25.4
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.25.0 to 0.25.4.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.25.0...v0.25.4 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 10:26:49 +00:00
dependabot[bot]
273ff3bd57
build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.10
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.10.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.10 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 16:04:49 +00:00
24sama
ffc9e45262
fix the panic of parsing os release.
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-11-11 11:07:58 +08:00
24sama
b492f1c6d3
feat: add k3s provider e2e test
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-11-01 16:56:10 +08:00
24sama
6b5a0c6e52
feat: add k3s control-plane provider and bootstrap provider
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-10-21 16:28:59 +08:00
24sama
3dd48dc8df
refactor KubeKey project structure
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-10-06 11:58:06 +08:00
dependabot[bot]
a08855020b
build(deps): bump github.com/pkg/sftp from 1.13.4 to 1.13.5
...
Bumps [github.com/pkg/sftp](https://github.com/pkg/sftp ) from 1.13.4 to 1.13.5.
- [Release notes](https://github.com/pkg/sftp/releases )
- [Commits](https://github.com/pkg/sftp/compare/v1.13.4...v1.13.5 )
---
updated-dependencies:
- dependency-name: github.com/pkg/sftp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 01:17:48 +00:00
dependabot[bot]
e8b1bde9e5
build(deps): bump helm.sh/helm/v3 from 3.9.3 to 3.9.4
...
Bumps [helm.sh/helm/v3](https://github.com/helm/helm ) from 3.9.3 to 3.9.4.
- [Release notes](https://github.com/helm/helm/releases )
- [Commits](https://github.com/helm/helm/compare/v3.9.3...v3.9.4 )
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 20:58:52 +00:00
dependabot[bot]
fac836541a
build(deps): bump helm.sh/helm/v3 from 3.7.2 to 3.9.3
...
Bumps [helm.sh/helm/v3](https://github.com/helm/helm ) from 3.7.2 to 3.9.3.
- [Release notes](https://github.com/helm/helm/releases )
- [Commits](https://github.com/helm/helm/compare/v3.7.2...v3.9.3 )
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 02:40:26 +00:00
24sama
4ca1893661
bump kubectl to v1.24.2 and helm to v3.9.2
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-08-22 09:27:52 +08:00
24sama
08cb08b870
feat: add go lint
...
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-08-22 09:27:52 +08:00
24sama
8e11d093d9
feat: add cluster-api-provider-kubekey
...
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: implement CAPK base operation service and bootstrap service
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: complete kkmachine reconcile logic
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: optimize main.go structure
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: complete kkInstance reconcile bootstrap
Signed-off-by: 24sama <jacksama@foxmail.com>
fix: some nil pointer bug
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: add rootfs
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: the scoper contains a logger and controllers remove the dialer by using ssh client directly
Signed-off-by: 24sama <jacksama@foxmail.com>
feat:
1. Using the go embed to make kk to contain the text file.
2. complete the container manager service and binary service.
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: support parse cloudinit file
Signed-off-by: 24sama <jacksama@foxmail.com>
fix: the predicates didn't work
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: complete kkinstance delete reconcile
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: complete kkinstance reconcile delete
Signed-off-by: 24sama <jacksama@foxmail.com>
feat: add the webhook of kkcluster and kkclustertemplate
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-08-22 09:26:41 +08:00
dependabot[bot]
f9904ab7d7
build(deps): bump github.com/containerd/containerd from 1.6.4 to 1.6.6
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.4 to 1.6.6.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.4...v1.6.6 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 22:09:56 +00:00
dependabot[bot]
7604487e33
build(deps): bump github.com/containers/image/v5 from 5.21.0 to 5.21.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.21.0 to 5.21.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.21.0...v5.21.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 00:55:59 +00:00
dependabot[bot]
d1eaa4218b
build(deps): bump github.com/containerd/containerd from 1.6.3 to 1.6.4
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.3 to 1.6.4.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.3...v1.6.4 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 16:08:53 +00:00
KubeSphere CI Bot
936ebdb890
Merge pull request #1231 from kubesphere/dependabot-go_modules-github.com-mitchellh-mapstructure-1.5.0
...
build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
2022-04-27 10:19:59 +08:00
dependabot[bot]
1e081135b0
build(deps): bump github.com/containerd/containerd from 1.6.2 to 1.6.3
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.2...v1.6.3 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 16:07:41 +00:00
dependabot[bot]
42eba647ea
build(deps): bump k8s.io/kubectl from 0.23.5 to 0.23.6
...
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl ) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/kubernetes/kubectl/releases )
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.23.5...v0.23.6 )
---
updated-dependencies:
- dependency-name: k8s.io/kubectl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 05:34:27 +00:00
dependabot[bot]
14208c4e4f
build(deps): bump k8s.io/apimachinery from 0.23.5 to 0.23.6
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.23.5...v0.23.6 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 05:27:48 +00:00
dependabot[bot]
9f3294121d
build(deps): bump k8s.io/code-generator from 0.23.5 to 0.23.6
...
Bumps [k8s.io/code-generator](https://github.com/kubernetes/code-generator ) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/kubernetes/code-generator/releases )
- [Commits](https://github.com/kubernetes/code-generator/compare/v0.23.5...v0.23.6 )
---
updated-dependencies:
- dependency-name: k8s.io/code-generator
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 16:07:36 +00:00
dependabot[bot]
9e6086da9c
build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 16:06:55 +00:00
KubeSphere CI Bot
bd60b62fb3
Merge pull request #1207 from kubesphere/dependabot-go_modules-github.com-spf13-viper-1.11.0
...
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0
2022-04-20 14:37:38 +08:00
KubeSphere CI Bot
64d0a9e42b
Merge pull request #1203 from 24sama/master
...
add a "timeout" option for the host TCP connection to establish
2022-04-15 15:24:53 +08:00