Skip to content

Commit

Permalink
Update e2e provision request
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Apr 18, 2024
1 parent 9226722 commit e5a777c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion components/provisioner/e2e_test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (gql GQLClient) waitForOp(ctx context.Context, operationID string) (resp Op
type testConfig struct {
ProviderSecret string `envconfig:"GARDENER_SECRET_NAME"`
Provider string `envconfig:"GARDENER_PROVIDER,default=gcp"`
KubernetesVersion string `envconfig:"default=1.26.11"`
KubernetesVersion string `envconfig:"default=1.29.2"`
MachineType string `envconfig:"default=e2-medium"`
DiskType string `envconfig:"default=pd-balanced"`
Region string `envconfig:"default=europe-west3"`
Expand Down
76 changes: 38 additions & 38 deletions components/provisioner/e2e_test/requests/provision.graphql
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
mutation ($name: String!
, $provider: String!
, $providerSecret: String!
, $kubernetesVersion: String!
, $machineType: String!
, $diskType: String!
, $region: String!) {
provisionRuntime(
config: {
, $provider: String!
, $providerSecret: String!
, $kubernetesVersion: String!
, $machineType: String!
, $diskType: String!
, $region: String!) {
provisionRuntime(
config: {
runtimeInput: { name: $name, description: "" }
clusterConfig: {
gardenerConfig: {
name: $name
kubernetesVersion: $kubernetesVersion
diskType: $diskType
volumeSizeGB: 32
machineType: $machineType
region: $region
provider: $provider
targetSecret: $providerSecret
workerCidr: "10.250.0.0/19"
podsCidr: "10.64.0.0/11"
servicesCidr: "10.243.0.0/16"
autoScalerMin: 2
autoScalerMax: 4
maxSurge: 4
maxUnavailable: 1
providerSpecificConfig: {
azureConfig: { vnetCidr: "10.250.0.0/19" }
gcpConfig: {zones: ["europe-west3-b"]}
}
}
gardenerConfig: {
name: $name
kubernetesVersion: $kubernetesVersion
diskType: $diskType
volumeSizeGB: 32
machineType: $machineType
region: $region
provider: $provider
targetSecret: $providerSecret
podsCidr: "10.60.0.0/16"
workerCidr: "10.250.0.0/16"
servicesCidr: "10.240.0.0/16"
autoScalerMin: 2
autoScalerMax: 4
maxSurge: 4
maxUnavailable: 1
providerSpecificConfig: {
azureConfig: { vnetCidr: "10.250.0.0/19" }
gcpConfig: {zones: ["europe-west3-b"]}
}
}
}
}
) {
id
operation
state
message
runtimeID
}
}
}
) {
id
operation
state
message
runtimeID
}
}

0 comments on commit e5a777c

Please sign in to comment.