Commit Graph

930 Commits

Author SHA1 Message Date
Alexander Demicev 2c4993d8ab
Merge pull request #118 from rancher-sandbox/dependabot/github_actions/actions/stale-8
chore(deps): Bump actions/stale from 7 to 8
2023-03-27 13:20:42 +02:00
dependabot[bot] b26ca3497d
chore(deps): Bump github.com/onsi/gomega from 1.27.4 to 1.27.5
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.4 to 1.27.5.
- [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.27.4...v1.27.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 03:04:02 +00:00
dependabot[bot] 99fc5b0d69
chore(deps): Bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 03:01:12 +00:00
Mohamed Belgaied Hassine e4d636bf64
implemented additionUserData configuration in the API (#114)
* implemented additionUserData configuration in the API

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

* implemented review feedback

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

---------

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-24 11:23:09 +01:00
Alexander Demicev c4aa74a933
Merge pull request #108 from belgaied2/airgapped-prereq-docs
Air Gapped installation procedure docs and example for CAPD
2023-03-23 16:42:07 +01:00
Alexander Demicev 34cdd1518c
Merge pull request #115 from belgaied2/constants-cleanup
moved useful constants to own package
2023-03-22 15:42:38 +01:00
Alexander Demicev 335ff6fc59
Merge pull request #116 from belgaied2/extra-env-description
Fixed a mistake in the description of ExtraArgs field
2023-03-22 15:41:08 +01:00
Mohamed Belgaied Hassine 5d9837a73b
Fixed a mistake in the description of ExtraArgs field
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-21 20:52:04 +00:00
Mohamed Belgaied Hassine f9f3b23cff
moved useful constants to own package
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-21 20:35:01 +00:00
Alexander Demicev e9f3693e13
Merge pull request #113 from rancher-sandbox/dependabot/github_actions/actions/setup-go-4
chore(deps): Bump actions/setup-go from 3 to 4
2023-03-21 19:57:43 +01:00
dependabot[bot] 4cfdd0c030
chore(deps): Bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 03:02:01 +00:00
Mohamed Belgaied Hassine 62dbc6118a
Air Gapped installation procedure docs and example for CAPD
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-14 15:57:05 +00:00
Mohamed Belgaied Hassine a0858f8ea2
Fixed #28 CIS Profile now works and is different for v1.25+ and v1.24- (#110)
Fixes #28 and makes it possible to differenciate CIS profiles between versions
Removed snake case in util.go
Fixed Units tests for the CIS scenario

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-14 14:27:46 +01:00
Alexander Demicev bd8e78207a
Merge pull request #111 from rancher-sandbox/dependabot/go_modules/github.com/onsi/gomega-1.27.4
chore(deps): Bump github.com/onsi/gomega from 1.27.2 to 1.27.4
2023-03-14 13:46:07 +01:00
dependabot[bot] fe3a23bcaa
chore(deps): Bump github.com/onsi/gomega from 1.27.2 to 1.27.4
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.2 to 1.27.4.
- [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.27.2...v1.27.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 11:29:33 +00:00
Richard Case c565c8fefe
Merge pull request #95 from bvankampen/privateRegistriesConfig-marshal-fix
Add json tags to registry types
2023-03-14 11:28:22 +00:00
Bas van Kampen 8d6f02db13
Merge branch 'rancher-sandbox:main' into privateRegistriesConfig-marshal-fix 2023-03-14 12:20:32 +01:00
Richard Case 313f522774
Merge pull request #107 from belgaied2/fix-linting
fixed linting issues (first pass)
2023-03-14 10:48:07 +00:00
Mohamed Belgaied Hassine fc445b63b8
fixed linting issues (first pass)
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

make generate afte minor fixes to API descriptions

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

fixed some regressions from refactoring

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

changed timeout value for golanci-lint GH action, because it was failing

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-10 12:58:16 +00:00
Mohamed Belgaied Hassine 0d44b68b0e
Added an AWS README guide (#102)
removed the non-valid rke2-sample.yaml file

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-03-08 17:26:30 +01:00
Richard Case 801dd6aaab
docs: added link to slack (#93)
Signed-off-by: Richard Case <richard.case@suse.com>
Co-authored-by: Mohamed Belgaied Hassine <mohamed.belgaied@suse.com>
2023-03-07 22:47:07 +01:00
dependabot[bot] 4e85b0f8e1
chore(deps): Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#96)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 22:42:44 +01:00
dependabot[bot] bf914de125
chore(deps): Bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (#97)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.1 to 1.27.2.
- [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.27.1...v1.27.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 22:42:22 +01:00
Guang Yee f76c1e202f
Add metal3 example (#99)
Assumptions:

 1. Two networks, provisioning and public network. Provision network is
    internal and use for bare metal provisioning. Public network can
    access all the public endpoints.
 2. Public network is VLAN.

Signed-off-by: yeey <gyee@suse.com>
2023-03-07 22:41:47 +01:00
Mohamed Belgaied Hassine 11d3f6979a
Adding a Getting Started section to the README (#90)
* Adding a Getting Started section to the README

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

* Apply suggestions from code review

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Co-authored-by: Richard Case <198425+richardcase@users.noreply.github.com>

---------

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Co-authored-by: Richard Case <198425+richardcase@users.noreply.github.com>
2023-03-01 18:05:18 +01:00
Bas van Kampen 082d57da79
add json tags to registry types
Signed-off-by: Bas van Kampen <bas.vankampen@suse.com>
2023-03-01 17:10:37 +01:00
Mohamed Belgaied Hassine 76c36c66db
Merge pull request #89 from bvankampen/vmware-examples-update
Updated VMware example files due to updates to the RKE2 Provider
2023-03-01 13:40:17 +01:00
Richard Case 1163ce29c5
Merge pull request #52 from aniruddha2000/ani/add-golangci-lint
Add .golangci.yml config & golangci-lint.yml github action
2023-03-01 12:39:31 +00:00
Mohamed Belgaied Hassine 31f89f128d
Merge pull request #84 from rancher-sandbox/dependabot/go_modules/github.com/onsi/gomega-1.27.1
chore(deps): Bump github.com/onsi/gomega from 1.26.0 to 1.27.1
2023-02-28 17:14:58 +01:00
Mohamed Belgaied Hassine da57521706
Merge pull request #88 from rancher-sandbox/dependabot/github_actions/docker/login-action-2
chore(deps): Bump docker/login-action from 1 to 2
2023-02-28 17:03:32 +01:00
Mohamed Belgaied Hassine 0e1bd73ad7
Merge pull request #87 from rancher-sandbox/dependabot/github_actions/actions/checkout-3
chore(deps): Bump actions/checkout from 2 to 3
2023-02-28 17:02:40 +01:00
Bas van Kampen 64ce3c2fc3
Updated VMware example files due to updates to the RKE2 Provider
Signed-off-by: Bas van Kampen <bas.vankampen@suse.com>
2023-02-28 14:14:18 +01:00
dependabot[bot] 597df97c0f
chore(deps): Bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 03:16:24 +00:00
dependabot[bot] 6871298249
chore(deps): Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 03:16:20 +00:00
Mohamed Belgaied Hassine a132a94c67
Merge pull request #86 from belgaied2/main
Fix typo in Makefile for Bootstrap provider
2023-02-24 17:06:01 +01:00
Mohamed Belgaied Hassine e9421fd2f3
Fix typo in Makefile for Bootstrap provider
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Small fix to the AWS manifests to make the cloud controller deploy correctly

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-02-24 15:54:28 +00:00
Mohamed Belgaied Hassine 49de66c9c4
Merge pull request #85 from belgaied2/gh-action-release
Github action for releasing new versions
2023-02-24 12:06:38 +01:00
Mohamed Belgaied Hassine 2573d3b5a1
Added GH action for release
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

added Go setup to release action

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Fixed nil pointer dereference caused by NTP servers feature

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

modifying Makefile behavior to keep kustomize config files intact

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-02-24 10:31:28 +00:00
dependabot[bot] a818969c2d
chore(deps): Bump github.com/onsi/gomega from 1.26.0 to 1.27.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.26.0 to 1.27.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.26.0...v1.27.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>
2023-02-20 03:23:01 +00:00
Richard Case f8d90d5f61
Merge pull request #83 from richardcase/docker-push-fix
fix: spelling mistake for target
2023-02-16 12:45:01 +00:00
Richard Case b4b319692c
fix: spelling mistake for target
Signed-off-by: Richard Case <richard.case@suse.com>
2023-02-16 12:38:26 +00:00
Mohamed Belgaied Hassine c15eea3a01
Implementing additional features like upgrades, registry overrides, manifest deployment and registering nodes without LBs
This commits implements a couple of features:
- Upgrade capability
- Registry overrides
- RKE2's feature for deploying manifests
- Registering nodes using CP nodes' IP instead of LB IPs (removes a dependency on infrastructure provider implementations)
- Added templates for integration with CAPA and did testing in multiple use cases
2023-02-15 18:38:59 +01:00
Mohamed Belgaied Hassine 09add13e83
moved cloud-init package to bootstrap/internal and did some cleanup
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Revert "code cleanup, removing unnecessary takeovers. removing some references to Kubeadm provider code"

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

change verbosity level

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

updated matching RKE2Config of the machine with new ControlPlane

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

implemented registries.yaml files for workers, cp might be problematic in this impl

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Fixing issues around registries.yaml for control plane nodes

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

implemented manifests feature, still to be tested!

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

small fixes and adding AWS sample

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

small fixes and adding AWS sample

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

testing aws -- not working providerID

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

testing aws -- not working providerID

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Fixing some AWS testing using templates

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Fixed several issues when deploying with AWS external cloud provider

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

implemented NTP configuration

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

implemented review comments

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>

Fixed typo on registry rewrites and endpoints

Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
2023-02-15 17:11:44 +00:00
Alexander Demicev 42248f97cb
Merge pull request #74 from rancher-sandbox/dependabot/go_modules/github.com/onsi/gomega-1.26.0
chore(deps): Bump github.com/onsi/gomega from 1.25.0 to 1.26.0
2023-01-30 11:37:27 +01:00
dependabot[bot] 1cf28e60b7
chore(deps): Bump github.com/onsi/gomega from 1.25.0 to 1.26.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.25.0 to 1.26.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.25.0...v1.26.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>
2023-01-30 02:26:57 +00:00
Mohamed Belgaied Hassine d746995e3b
Merge pull request #67 from bvankampen/vmware-examples
Example manifests for VMWare
2023-01-25 15:20:44 +01:00
Mohamed Belgaied Hassine ebf886f6fa
Merge pull request #71 from rancher-sandbox/dependabot/go_modules/github.com/onsi/gomega-1.25.0
chore(deps): Bump github.com/onsi/gomega from 1.24.2 to 1.25.0
2023-01-25 15:03:10 +01:00
dependabot[bot] 7c6fe93165
chore(deps): Bump github.com/onsi/gomega from 1.24.2 to 1.25.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.2 to 1.25.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.24.2...v1.25.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>
2023-01-23 02:59:58 +00:00
Mohamed Belgaied Hassine 2f2d4348bc
Merge pull request #60 from belgaied2/main
implemented air gapped installation with API Airgapped option
2023-01-20 16:29:40 +01:00
Bas van Kampen 042d2eb932
Example files for VMWare
Signed-off-by: Bas van Kampen <bas.vankampen@suse.com>
2023-01-19 13:45:44 +01:00