From 72cdefd585392efe89d2e75cdb5ae2def3354bea Mon Sep 17 00:00:00 2001 From: schrodit Date: Thu, 18 Jul 2024 11:05:02 +0200 Subject: [PATCH] update gardener to 1.86 --- default.yaml | 2 +- src/ts/versions/installations.ts | 1 + src/ts/versions/v1.46/Values.ts | 1 + src/ts/versions/v1.46/installation.ts | 4 +- src/ts/versions/v1.84/extensions.yaml | 107 ++++++++++++++++++++++++++ src/ts/versions/v1.85/extensions.yaml | 107 ++++++++++++++++++++++++++ src/ts/versions/v1.86/extensions.yaml | 107 ++++++++++++++++++++++++++ 7 files changed, 327 insertions(+), 2 deletions(-) create mode 100644 src/ts/versions/v1.84/extensions.yaml create mode 100644 src/ts/versions/v1.85/extensions.yaml create mode 100644 src/ts/versions/v1.86/extensions.yaml diff --git a/default.yaml b/default.yaml index b37ed70..357aeb8 100644 --- a/default.yaml +++ b/default.yaml @@ -1,5 +1,5 @@ -version: v1.85.5 +version: v1.86.4 landscapeName: gardener-installation diff --git a/src/ts/versions/installations.ts b/src/ts/versions/installations.ts index 7c2bc16..3e2ecae 100644 --- a/src/ts/versions/installations.ts +++ b/src/ts/versions/installations.ts @@ -79,6 +79,7 @@ const versions: Record = { 'v1.83.x': Installation_1_81, 'v1.84.x': Installation_1_81, 'v1.85.x': Installation_1_81, + 'v1.86.x': Installation_1_81, }; export class VersionNotFound extends Exception { diff --git a/src/ts/versions/v1.46/Values.ts b/src/ts/versions/v1.46/Values.ts index d18a7a7..b819070 100644 --- a/src/ts/versions/v1.46/Values.ts +++ b/src/ts/versions/v1.46/Values.ts @@ -89,6 +89,7 @@ export interface InputValues extends VersionedValues { } identity: { + enabled?: boolean, replicas: number, dashboardClientSecret: string, kubectlClientSecret: string, diff --git a/src/ts/versions/v1.46/installation.ts b/src/ts/versions/v1.46/installation.ts index 2a51765..5f014a2 100644 --- a/src/ts/versions/v1.46/installation.ts +++ b/src/ts/versions/v1.46/installation.ts @@ -64,7 +64,9 @@ export class Installation implements IInstallation { helmTaskFactory.createTask(new DnsControllerChart()), helmTaskFactory.createTask(new HostConfigurationChart()), helmTaskFactory.createTask(new NetworkPoliciesChart()), - helmTaskFactory.createTask(new IdentityChart()), + ...values.identity.enabled !== false + ? [helmTaskFactory.createTask(new IdentityChart())] + : [], helmTaskFactory.createTask(new EtcdMainChart()), helmTaskFactory.createTask(new EtcdEventsChart()), helmTaskFactory.createTask(new VirtualClusterChart()), diff --git a/src/ts/versions/v1.84/extensions.yaml b/src/ts/versions/v1.84/extensions.yaml new file mode 100644 index 0000000..c03496c --- /dev/null +++ b/src/ts/versions/v1.84/extensions.yaml @@ -0,0 +1,107 @@ + +gardener: + extensions: + os-coreos: + enabled: true + version: v1.21.2 + controllerRegistration: + repositoryName: gardener-extension-os-coreos + + os-ubuntu: + enabled: true + version: v1.23.0 + controllerRegistration: + repositoryName: gardener-extension-os-ubuntu + + provider-gcp: + enabled: true + version: v1.33.1 + controllerRegistration: + repositoryName: gardener-extension-provider-gcp + + provider-openstack: + enabled: true + version: v1.37.1 + controllerRegistration: + repositoryName: gardener-extension-provider-openstack + + provider-dns-cloudflare: + enabled: true + version: v0.0.6 + controllerRegistration: + org: schrodit + repositoryName: gardener-extension-provider-dns-cloudflare + + provider-equinix: + enabled: true + version: v2.10.0 + controllerRegistration: + repositoryName: gardener-extension-provider-equinix-metal + values: + imageVectorOverwrite: | + images: + - name: machine-controller-manager-provider-equinix-metal + repository: europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-equinix-metal + tag: "v0.8.0" + + networking-cilium: + enabled: true + version: v1.30.2 + controllerRegistration: + repositoryName: gardener-extension-networking-cilium + + networking-calico: + enabled: true + version: v1.37.0 + controllerRegistration: + repositoryName: gardener-extension-networking-calico + + shoot-dns-service: + enabled: true + global: true + + version: v1.38.3 + controllerRegistration: + repositoryName: gardener-extension-shoot-dns-service + + values: + dnsProviderReplication: + enabled: true + dnsProviderManagement: + enabled: true + dnsControllerManager: + image: + repository: eu.gcr.io/gardener-project/dns-controller-manager + tag: v0.13.3 + configuration: + cacheTtl: 300 + controllers: dnscontrollers,dnssources + dnsPoolResyncPeriod: 30m + #poolSize: 20 + #providersPoolResyncPeriod: 24h + serverPortHttp: 8080 + createCRDs: false + deploy: true + replicaCount: 1 + #resources: + # limits: + # memory: 1Gi + # requests: + # cpu: 50m + # memory: 500Mi + + shoot-cert-service: + enabled: true + global: true + + version: v1.38.0 + controllerRegistration: + repositoryName: gardener-extension-shoot-cert-service + + values: + certificateConfig: + defaultIssuer: + acme: + email: foo@example.com + server: https://acme-v02.api.letsencrypt.org/directory + name: default-issuer diff --git a/src/ts/versions/v1.85/extensions.yaml b/src/ts/versions/v1.85/extensions.yaml new file mode 100644 index 0000000..c03496c --- /dev/null +++ b/src/ts/versions/v1.85/extensions.yaml @@ -0,0 +1,107 @@ + +gardener: + extensions: + os-coreos: + enabled: true + version: v1.21.2 + controllerRegistration: + repositoryName: gardener-extension-os-coreos + + os-ubuntu: + enabled: true + version: v1.23.0 + controllerRegistration: + repositoryName: gardener-extension-os-ubuntu + + provider-gcp: + enabled: true + version: v1.33.1 + controllerRegistration: + repositoryName: gardener-extension-provider-gcp + + provider-openstack: + enabled: true + version: v1.37.1 + controllerRegistration: + repositoryName: gardener-extension-provider-openstack + + provider-dns-cloudflare: + enabled: true + version: v0.0.6 + controllerRegistration: + org: schrodit + repositoryName: gardener-extension-provider-dns-cloudflare + + provider-equinix: + enabled: true + version: v2.10.0 + controllerRegistration: + repositoryName: gardener-extension-provider-equinix-metal + values: + imageVectorOverwrite: | + images: + - name: machine-controller-manager-provider-equinix-metal + repository: europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-equinix-metal + tag: "v0.8.0" + + networking-cilium: + enabled: true + version: v1.30.2 + controllerRegistration: + repositoryName: gardener-extension-networking-cilium + + networking-calico: + enabled: true + version: v1.37.0 + controllerRegistration: + repositoryName: gardener-extension-networking-calico + + shoot-dns-service: + enabled: true + global: true + + version: v1.38.3 + controllerRegistration: + repositoryName: gardener-extension-shoot-dns-service + + values: + dnsProviderReplication: + enabled: true + dnsProviderManagement: + enabled: true + dnsControllerManager: + image: + repository: eu.gcr.io/gardener-project/dns-controller-manager + tag: v0.13.3 + configuration: + cacheTtl: 300 + controllers: dnscontrollers,dnssources + dnsPoolResyncPeriod: 30m + #poolSize: 20 + #providersPoolResyncPeriod: 24h + serverPortHttp: 8080 + createCRDs: false + deploy: true + replicaCount: 1 + #resources: + # limits: + # memory: 1Gi + # requests: + # cpu: 50m + # memory: 500Mi + + shoot-cert-service: + enabled: true + global: true + + version: v1.38.0 + controllerRegistration: + repositoryName: gardener-extension-shoot-cert-service + + values: + certificateConfig: + defaultIssuer: + acme: + email: foo@example.com + server: https://acme-v02.api.letsencrypt.org/directory + name: default-issuer diff --git a/src/ts/versions/v1.86/extensions.yaml b/src/ts/versions/v1.86/extensions.yaml new file mode 100644 index 0000000..c03496c --- /dev/null +++ b/src/ts/versions/v1.86/extensions.yaml @@ -0,0 +1,107 @@ + +gardener: + extensions: + os-coreos: + enabled: true + version: v1.21.2 + controllerRegistration: + repositoryName: gardener-extension-os-coreos + + os-ubuntu: + enabled: true + version: v1.23.0 + controllerRegistration: + repositoryName: gardener-extension-os-ubuntu + + provider-gcp: + enabled: true + version: v1.33.1 + controllerRegistration: + repositoryName: gardener-extension-provider-gcp + + provider-openstack: + enabled: true + version: v1.37.1 + controllerRegistration: + repositoryName: gardener-extension-provider-openstack + + provider-dns-cloudflare: + enabled: true + version: v0.0.6 + controllerRegistration: + org: schrodit + repositoryName: gardener-extension-provider-dns-cloudflare + + provider-equinix: + enabled: true + version: v2.10.0 + controllerRegistration: + repositoryName: gardener-extension-provider-equinix-metal + values: + imageVectorOverwrite: | + images: + - name: machine-controller-manager-provider-equinix-metal + repository: europe-docker.pkg.dev/gardener-project/releases/gardener/machine-controller-manager-provider-equinix-metal + tag: "v0.8.0" + + networking-cilium: + enabled: true + version: v1.30.2 + controllerRegistration: + repositoryName: gardener-extension-networking-cilium + + networking-calico: + enabled: true + version: v1.37.0 + controllerRegistration: + repositoryName: gardener-extension-networking-calico + + shoot-dns-service: + enabled: true + global: true + + version: v1.38.3 + controllerRegistration: + repositoryName: gardener-extension-shoot-dns-service + + values: + dnsProviderReplication: + enabled: true + dnsProviderManagement: + enabled: true + dnsControllerManager: + image: + repository: eu.gcr.io/gardener-project/dns-controller-manager + tag: v0.13.3 + configuration: + cacheTtl: 300 + controllers: dnscontrollers,dnssources + dnsPoolResyncPeriod: 30m + #poolSize: 20 + #providersPoolResyncPeriod: 24h + serverPortHttp: 8080 + createCRDs: false + deploy: true + replicaCount: 1 + #resources: + # limits: + # memory: 1Gi + # requests: + # cpu: 50m + # memory: 500Mi + + shoot-cert-service: + enabled: true + global: true + + version: v1.38.0 + controllerRegistration: + repositoryName: gardener-extension-shoot-cert-service + + values: + certificateConfig: + defaultIssuer: + acme: + email: foo@example.com + server: https://acme-v02.api.letsencrypt.org/directory + name: default-issuer