Skip to content

Commit

Permalink
update featureGates, iaas docs, and shoot name length restriction and…
Browse files Browse the repository at this point in the history
… fix a bug in the imageVectorOverwrites (#626)
  • Loading branch information
Diaphteiros authored Oct 6, 2021
1 parent 26593bd commit 6059922
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
15 changes: 11 additions & 4 deletions acre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,19 @@ validation:
- ["optionalfield", "HVPA", ["type", "bool"]]
- ["optionalfield", "HVPAForShootedSeed", ["type", "bool"]]
- ["optionalfield", "ManagedIstio", ["type", "bool"]]
- ["optionalfield", "ManagedIstio", ["type", "bool"]]
- ["optionalfield", "APIServerSNI", ["type", "bool"]]
- ["optionalfield", "APIServerSNI", ["type", "bool"]]
- ["optionalfield", "KonnectivityTunnel", ["type", "bool"]]
- ["optionalfield", "CachedRuntimeClients", ["type", "bool"]]
- ["optionalfield", "NodeLocalDNS", ["type", "bool"]]
- ["optionalfield", "MountHostCADirectories", ["type", "bool"]]
- ["optionalfield", "SeedChange", ["type", "bool"]]
- ["optionalfield", "SeedKubeScheduler", ["type", "bool"]]
- ["optionalfield", "ReversedVPN", ["type", "bool"]]
- ["optionalfield", "AdminKubeconfigRequest", ["type", "bool"]]
- ["optionalfield", "UseDNSRecords", ["type", "bool"]]
- ["optionalfield", "DisallowKubeconfigRotationForShootInDeletion", ["type", "bool"]]
- ["optionalfield", "DisallowKubeconfigRotationForShootInDeletion", ["type", "bool"]]
- ["optionalfield", "RotateSSHKeypairOnMaintenance", ["type", "bool"]]
- ["optionalfield", "DenyInvalidExtensionResources", ["type", "bool"]]
- - optionalfield
- gardenClientConnection
- - and
Expand Down Expand Up @@ -643,7 +650,7 @@ validation:
- - mapfield
- name
- - (( validation.length_validator ))
- 10
- 15
- - mapfield
- mode
- ["valueset", ["seed", "soil"]]
Expand Down
2 changes: 1 addition & 1 deletion components/gardencontent/seeds/seeds/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ providerconfig:
bootstrapToken: (( bootstrapTokens[v.name] ))
imageVectorOverwrites:
imageVectorOverwrite: (( v.imageVectorOverwrite || ~~ ))
componentImageVectorOverwrite: (( valid( v.componentImageVectorOverwrite ) ? { "components" = sum[v.componentImageVectorOverwrite.components|[]|cs,celem|-> s { "name" = celem.name, "imageVectorOverwrite" = asyaml( celem.imageVectorOverwrite ) }] } :~~ ))
componentImageVectorOverwrite: (( valid( v.componentImageVectorOverwrite ) ? { "components" = sum[v.componentImageVectorOverwrite.components|[]|cs,celem|-> cs { "name" = celem.name, "imageVectorOverwrite" = asyaml( celem.imageVectorOverwrite ) }] } :~~ ))
kubeconfigs:
virtual: (( .imports.kube_apiserver.export.kubeconfig ))
seed: (( .imports.shoots.export.shoots[v.name].kubeconfig ))
Expand Down
2 changes: 1 addition & 1 deletion components/gardencontent/seeds/soils/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ providerconfig:
bootstrapToken: (( bootstrapTokens[v.name] ))
imageVectorOverwrites:
imageVectorOverwrite: (( v.imageVectorOverwrite || ~~ ))
componentImageVectorOverwrite: (( valid( v.componentImageVectorOverwrite ) ? { "components" = sum[v.componentImageVectorOverwrite.components|[]|cs,celem|-> s { "name" = celem.name, "imageVectorOverwrite" = asyaml( celem.imageVectorOverwrite ) }] } :~~ ))
componentImageVectorOverwrite: (( valid( v.componentImageVectorOverwrite ) ? { "components" = sum[v.componentImageVectorOverwrite.components|[]|cs,celem|-> cs { "name" = celem.name, "imageVectorOverwrite" = asyaml( celem.imageVectorOverwrite ) }] } :~~ ))
kubeconfigs:
virtual: (( .imports.kube_apiserver.export.kubeconfig ))
seed: (( v.cluster.kubeconfig || read( env.ROOTDIR "/" landscape.clusters.[0].kubeconfig, "yaml" ) ))
Expand Down
4 changes: 2 additions & 2 deletions docs/extended/iaas.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ If you want to create shoots on all IaaS providers, best practise is to configur
A few important things to know:
- creating shoots takes some time, thus using shooted seeds will significantly increase the time needed for a complete setup
- the shoots are created and deleted in parallel to minimize the delay
- all shoots for the shooted seeds will be created in the `core` project with purpose set to `production`
- all shoots for the shooted seeds will be created in the `garden` project with purpose set to `infrastructure`
- they use a big worker node size and are configured to scale between 1 and 100 workers depending on their load
- **do not delete these shoots!**
- shoots have a length restriction of 10 characters for their name - this restriction applies to the `name` fields of `seeds` entries
- shoot names have a length restriction: project and shoot name together may not exceed 21 characters, therefore the `name` fields of `seeds` entries have a maximum length of 15 characters


### Example CIDRs
Expand Down

0 comments on commit 6059922

Please sign in to comment.