feat: stabilize drift for ske egress range (#971)

* feat: stabilize drift for ske egress range

* feat: add PlanModifiers to pod_address_ranges too
This commit is contained in:
mitterle-sit 2025-09-12 07:16:29 +02:00 committed by GitHub
parent 4a7106cc01
commit e5fdb59dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -372,11 +372,17 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
Description: "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.",
Computed: true,
ElementType: types.StringType,
PlanModifiers: []planmodifier.List{
listplanmodifier.UseStateForUnknown(),
},
},
"pod_address_ranges": schema.ListAttribute{
Description: "The network ranges (in CIDR notation) used by pods of the cluster.",
Computed: true,
ElementType: types.StringType,
PlanModifiers: []planmodifier.List{
listplanmodifier.UseStateForUnknown(),
},
},
"node_pools": schema.ListNestedAttribute{
Description: "One or more `node_pool` block as defined below.",