Skip to content

Commit ed7671f

Browse files
universe-opsUniverse Opssmecsia
authored
fix: gke deployment panic (#190)
Minor fix to resolve panic on GKE deployments Co-authored-by: Universe Ops <universe-ops@github.com> Co-authored-by: Ilya <smecsia@gmail.com>
1 parent cea218e commit ed7671f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/clouds/pulumi/gcp/gke_autopilot_stack.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ func GkeAutopilotStack(ctx *sdk.Context, stack api.Stack, input api.ResourceInpu
132132
var ephemeralSize string
133133
if gkeAutopilotInput.Deployment.StackConfig != nil {
134134
domain = gkeAutopilotInput.Deployment.StackConfig.Domain
135-
ephemeralSize = gkeAutopilotInput.Deployment.StackConfig.Size.Ephemeral
135+
if gkeAutopilotInput.Deployment.StackConfig.Size != nil {
136+
ephemeralSize = gkeAutopilotInput.Deployment.StackConfig.Size.Ephemeral
137+
}
136138
}
137139

138140
// Debug logging for affinity rules

0 commit comments

Comments
 (0)