Skip to content

Commit

Permalink
[CLOUD-245] Desplegar Flux en aprovisionamiento and [PLT-459] Support…
Browse files Browse the repository at this point in the history
… kubernetes 1.30.X in cloud-provisioner (#540)

* version v0.18.0-alpha

* update docs for v0.17.0

* fix kind version in readme

* comments-update-buildcontext

* decoupling helm chart installation

* implementing getOverriddenCharts

* uncouple charts pull

* cleaning code

* add changed to changelog

* fixed cert-manager and aws-lb-controller installation by default

* fixed chart pull bugs

* integrated privated cert-manager installation

* - Added cert-manager installation by default.
- Defined helm charts to be installed generically, without specifying k8s version.

* add flux

* last changes for AWS

* EKS helm repository private

* Azure changes

* add globalnetpol for flux GCP

* delete debug prints

* add support for multiple k8s versions

* refactor print name

* add values for each kubernetes version

* replacement of namespace by kube-system

* added installedCRDs

* fixed tigera-operator version

* fix merge with master

* review chart values for k8s 1.28

* refactor code

* refactor code

* refactor code

* support 1.38 k8s

* add GCP CCM

* add GCP CCM installation

* fix correct gcp ccm version

* add gcp ccm from cluster.yaml helm repository

* delete unnecessary folder

* extend helmrelease and helmrepository parameters

* fix global netpol name

* delete unnecessary param in keos.yaml

* add stable release gcp ccm

* fix wait for metrics-server is ready

* add resourcequota template GKE

* install capx before reconciling

* fix azuredisk driver

* removed region from gcp credentials

* refactor core dns logic

* fix helmrelease gcp ccm

* move coredns files to the correct folders

* add calico in GKE as netpol engine

* add calico in GKE as netpol engine

* fix calico installation logic

* changed gcp default disk type for storageclass

---------

Co-authored-by: Benjamin Elder <[email protected]>
Co-authored-by: Daman <[email protected]>
Co-authored-by: Kubernetes Prow Robot <[email protected]>
Co-authored-by: lreciomelero <[email protected]>
Co-authored-by: lreciomelero <[email protected]>
Co-authored-by: luisreciomelero <[email protected]>
Co-authored-by: Unai Arríen <[email protected]>
  • Loading branch information
8 people authored Sep 24, 2024
1 parent dd45b45 commit 9568923
Show file tree
Hide file tree
Showing 82 changed files with 3,316 additions and 732 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* [Core] Ensure CoreDNS replicas are assigned to different nodes
* [Core] Added the default creation of volumes for containerd, etcd and root, if not indicated in the keoscluster
* [Core] Support k8s v1.30
* [Core] Deprecated Kubernetes versions prior to 1.28

## 0.17.0-0.5.2 (2024-06-25)

Expand All @@ -18,6 +20,7 @@

* [Core] Update runc golang module to fix GHSA-xr7r-f8xq-vfvv
* [Core] Improve command execution retries
* [Core] Uncouple chart installation from Dockerfile
* [Core] Support k8s v1.28
* [Core] Fix panic when keos_version is not defined
* [Core] Script the upgrade
Expand Down
4 changes: 2 additions & 2 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ aws:
node-driver-registrar: v2.8.0-eks-1-27-3
volume-modifier-for-k8s: v0.1.0
azure:
cluster-api-azure: v1.11.4
cluster-api-azure-templates: v1.11.4
cluster-api-azure: v1.12.4
cluster-api-azure-templates: v1.12.4
unmanaged:
cloud-provider-azure-chart: v1.28.5
azure-cloud-controller-manager: v1.24.18
Expand Down
8 changes: 7 additions & 1 deletion bin/change-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ else
VERSION=$1
fi

VERSION_GO_FILE="$BASEDIR/pkg/cmd/kind/version/version.go"
CORE_VERSION=$(echo "$VERSION" | sed -E "s/-.*//")

echo "Modifying cloud-provisioner version to: $1"
echo $VERSION > VERSION
echo $VERSION > $BASEDIR/VERSION

sed -i "s/\(const versionCore = \"\)[^\"]*\"/\10.17.0-$CORE_VERSION\"/" "$VERSION_GO_FILE"
sed -i "s/\(const versionPreRelease = \"\)[^\"]*\"/\1SNAPSHOT\"/" "$VERSION_GO_FILE"
2 changes: 1 addition & 1 deletion bin/images/azure/imagenes-capz.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.8.14
registry.k8s.io/cluster-api-azure/cluster-api-azure-controller:v1.11.4
registry.k8s.io/cluster-api-azure/cluster-api-azure-controller:v1.12.4
mcr.microsoft.com/k8s/azureserviceoperator:v2.3.0
16 changes: 1 addition & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,23 @@ require (
require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.4.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v3 v3.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v1.2.0
github.com/aws/aws-sdk-go-v2 v1.19.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.105.1
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
golang.org/x/oauth2 v0.14.0
)

require (
github.com/checkpoint-restore/go-criu/v5 v5.3.0 // indirect
github.com/cilium/ebpf v0.7.0 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
github.com/containers/ocicrypt v1.1.9 // indirect
github.com/containers/storage v1.51.0 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker v24.0.7+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.0 // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/gorilla/mux v1.8.0 // indirect
Expand All @@ -66,21 +60,14 @@ require (
github.com/moby/sys/mountinfo v0.7.1 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mrunalp/fileutils v0.5.1 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
github.com/opencontainers/runc v1.1.12 // indirect
github.com/opencontainers/runtime-spec v1.1.0 // indirect
github.com/opencontainers/selinux v1.11.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/seccomp/libseccomp-golang v0.10.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/urfave/cli v1.22.12 // indirect
github.com/vbatts/tar-split v0.11.5 // indirect
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.4 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
)

Expand Down Expand Up @@ -121,5 +108,4 @@ require (
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/grpc v1.61.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 9568923

Please sign in to comment.