Commit Graph

103 Commits

Author SHA1 Message Date
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
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
dependabot[bot] f0ff03e25c
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.10.1...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 16:09:28 +00:00
24sama a652437e45 add a "timeout" option for the host TCP connection to establish
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-04-13 11:46:30 +08:00
KubeSphere CI Bot cddf90924d
Merge pull request #1187 from kubesphere/dependabot-go_modules-github.com-onsi-gomega-1.19.0
build(deps): bump github.com/onsi/gomega from 1.18.1 to 1.19.0
2022-04-12 10:50:50 +08:00
dependabot[bot] c45bf32491
build(deps): bump github.com/onsi/gomega from 1.18.1 to 1.19.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.18.1...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 02:45:35 +00:00
KubeSphere CI Bot f2cd1ff57b
Merge pull request #1194 from kubesphere/dependabot-go_modules-github.com-containerd-containerd-1.6.2
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
2022-04-12 10:44:55 +08:00
KubeSphere CI Bot c8e851afd3
Merge pull request #1198 from kubesphere/dependabot-go_modules-sigs.k8s.io-controller-runtime-0.11.2
build(deps): bump sigs.k8s.io/controller-runtime from 0.11.1 to 0.11.2
2022-04-12 10:43:50 +08:00
dependabot[bot] e1863c7bd2
build(deps): bump github.com/containerd/containerd from 1.6.1 to 1.6.2
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.1 to 1.6.2.
- [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.1...v1.6.2)

---
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-12 02:40:17 +00:00
dependabot[bot] 9e1434edb0
build(deps): bump github.com/go-logr/logr from 1.2.2 to 1.2.3
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 02:39:59 +00:00
dependabot[bot] 607e153b36
build(deps): bump sigs.k8s.io/controller-runtime from 0.11.1 to 0.11.2
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 02:39:51 +00:00
dependabot[bot] 24a77244f5
build(deps): bump github.com/containers/image/v5 from 5.20.0 to 5.21.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.20.0 to 5.21.0.
- [Release notes](https://github.com/containers/image/releases)
- [Commits](https://github.com/containers/image/compare/v5.20.0...v5.21.0)

---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 16:11:19 +00:00
24sama 83af627375 bump k8s.io package from v0.23.4 to v0.23.5
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-04-11 09:01:17 +08:00
24sama 5b6fadd4ef reduce the size of KubeKey artifact
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-04-01 11:43:46 +08:00
dependabot[bot] 609812c8a2
build(deps): bump github.com/containerd/containerd from 1.5.9 to 1.6.1
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.9 to 1.6.1.
- [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.5.9...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 06:11:04 +00:00
24sama a5a835a6a9 bump k8s.io package
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-03-17 11:17:28 +08:00
KubeSphere CI Bot e60689dac3
Merge pull request #1064 from kubesphere/dependabot-go_modules-sigs.k8s.io-controller-runtime-0.11.1
build(deps): bump sigs.k8s.io/controller-runtime from 0.11.0 to 0.11.1
2022-02-17 11:04:16 +08:00
KubeSphere CI Bot 21ac42af45
Merge pull request #1045 from kubesphere/dependabot-go_modules-github.com-onsi-gomega-1.18.1
build(deps): bump github.com/onsi/gomega from 1.17.0 to 1.18.1
2022-02-17 11:02:16 +08:00
dependabot[bot] 031a771c14
build(deps): bump sigs.k8s.io/controller-runtime from 0.11.0 to 0.11.1
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 16:08:10 +00:00
24sama d6678cc2c7 bump k8s.io package
Signed-off-by: 24sama <leo@kubesphere.io>
2022-02-08 11:29:55 +08:00
dependabot[bot] 5f721160e5
build(deps): bump github.com/onsi/gomega from 1.17.0 to 1.18.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.17.0...v1.18.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 03:18:41 +00:00
24sama 9fa059a849 bump viper, cobra and golang-set
Signed-off-by: 24sama <leo@kubesphere.io>
2022-02-07 14:26:50 +08:00
dependabot[bot] da75389467
build(deps): bump github.com/containerd/containerd from 1.5.8 to 1.5.9
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.8 to 1.5.9.
- [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.5.8...v1.5.9)

---
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-01-06 16:24:45 +00:00
24sama 452c8c0ca6 bump helm/v3, image-spec and logr
Signed-off-by: 24sama <leo@kubesphere.io>
2021-12-27 11:41:45 +08:00