-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update virtual cluster to 1.24 and Gardener to 1.81
- Loading branch information
Showing
9 changed files
with
177 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
version: v1.80.7 | ||
version: v1.81.7 | ||
|
||
landscapeName: gardener-installation | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import {Flow, VersionedValues} from '../../flow/Flow'; | ||
import {VersionedState} from '../../Landscape'; | ||
import {Installation as Installation_1_74} from '../v1.74/installation'; | ||
import {emptyState, isStateValues, validateState} from '../v1.46/Values'; | ||
import { SemVer } from 'semver'; | ||
|
||
export const VERSION = '1.80'; | ||
|
||
const targetVirtualClusterVersion = new SemVer('v1.23.16'); | ||
|
||
export class Installation extends Installation_1_74 { | ||
|
||
|
||
public async install(flow: Flow, stateValues: null | VersionedState, inputValues: VersionedValues): Promise<void> { | ||
if (stateValues === null) { | ||
stateValues = emptyState(inputValues.version); | ||
} else { | ||
if (!isStateValues(stateValues)) { | ||
throw validateState(stateValues); | ||
} | ||
} | ||
// with gardener version 1.74 host and virtual cluster running at least 1.22 is required. | ||
if (new SemVer(stateValues.apiserver.version).compareMain(targetVirtualClusterVersion) === -1) { | ||
stateValues.apiserver.version = targetVirtualClusterVersion.raw; | ||
} | ||
await super.install(flow, stateValues, inputValues); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
|
||
gardener: | ||
extensions: | ||
os-coreos: | ||
enabled: true | ||
version: v1.16.0 | ||
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 | ||
|
||
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: [email protected] | ||
server: https://acme-v02.api.letsencrypt.org/directory | ||
name: default-issuer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import {Flow, VersionedValues} from '../../flow/Flow'; | ||
import {VersionedState} from '../../Landscape'; | ||
import {Installation as Installation_1_80} from '../v1.80/installation'; | ||
import {emptyState, isStateValues, validateState} from '../v1.46/Values'; | ||
import { SemVer } from 'semver'; | ||
|
||
export const VERSION = '1.81'; | ||
|
||
const targetVirtualClusterVersion = new SemVer('v1.24.17'); | ||
|
||
export class Installation extends Installation_1_80 { | ||
|
||
|
||
public async install(flow: Flow, stateValues: null | VersionedState, inputValues: VersionedValues): Promise<void> { | ||
if (stateValues === null) { | ||
stateValues = emptyState(inputValues.version); | ||
} else { | ||
if (!isStateValues(stateValues)) { | ||
throw validateState(stateValues); | ||
} | ||
} | ||
// with gardener version 1.81 host and virtual cluster running at least 1.24 is required. | ||
if (new SemVer(stateValues.apiserver.version).compareMain(targetVirtualClusterVersion) === -1) { | ||
stateValues.apiserver.version = targetVirtualClusterVersion.raw; | ||
} | ||
await super.install(flow, stateValues, inputValues); | ||
stateValues.version = inputValues.version; | ||
} | ||
|
||
} |