Skip to content

Commit

Permalink
Enable networking-type for shoot creation (gardener#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikKahl authored Jan 13, 2022
1 parent e170b6d commit 8fea5ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .test-defs/CreateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
-networking-provider-config-filepath=$NETWORKING_PROVIDER_CONFIG_FILEPATH
-workers-config-filepath=$WORKERS_CONFIG_FILEPATH
-worker-zone=$ZONE
-networking-type=$NETWORKING_TYPE
-networking-pods=$NETWORKING_PODS
-networking-services=$NETWORKING_SERVICES
-networking-nodes=$NETWORKING_NODES
Expand Down
4 changes: 4 additions & 0 deletions test/framework/shootcreationframework.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,10 @@ func RegisterShootCreationFrameworkFlags() *ShootCreationConfig {
flag.StringVar(&newCfg.startHibernatedFlag, "start-hibernated", "", "the spec.hibernation.enabled to use for this shoot. Optional.")
flag.StringVar(&newCfg.allowPrivilegedContainersFlag, "allow-privileged-containers", "", "the spec.kubernetes.allowPrivilegedContainers to use for this shoot. Optional, defaults to true.")

if newCfg.networkingType == "" {
newCfg.networkingType = "calico"
}

newCfg.startHibernated = false

// ProviderConfigs flags
Expand Down

0 comments on commit 8fea5ca

Please sign in to comment.