You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support control_plane attribute in ske cluster (#1236)
* #STACKITTPR-517 - support control_plane attribute in ske cluster
* #STACKITTPR-517 - extend examples
* update tests
* update example
* access scope is now computed
* make access scope field immutable
* use util functions in condition
* fix min acc test
---------
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Copy file name to clipboardExpand all lines: docs/data-sources/ske_cluster.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,8 +117,17 @@ Read-Only:
117
117
118
118
Read-Only:
119
119
120
+
-`control_plane` (Attributes) Control plane for the cluster. (see [below for nested schema](#nestedatt--network--control_plane))
120
121
-`id` (String) ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed.
121
122
123
+
<aid="nestedatt--network--control_plane"></a>
124
+
### Nested Schema for `network.control_plane`
125
+
126
+
Read-Only:
127
+
128
+
-`access_scope` (String) Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area.Possible values are: `PUBLIC`, `SNA`. The field is immutable!
# Only use the import statement, if you want to import an existing ske cluster
@@ -204,4 +209,12 @@ Optional:
204
209
205
210
Optional:
206
211
212
+
-`control_plane` (Attributes) Control plane for the cluster. (see [below for nested schema](#nestedatt--network--control_plane))
207
213
-`id` (String) ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed.
214
+
215
+
<aid="nestedatt--network--control_plane"></a>
216
+
### Nested Schema for `network.control_plane`
217
+
218
+
Optional:
219
+
220
+
-`access_scope` (String) Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area.Possible values are: `PUBLIC`, `SNA`. The field is immutable!
Description: "Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area."+utils.FormatPossibleValues(sdkUtils.EnumSliceToStringSlice(ske.AllowedAccessScopeEnumValues)...) +" The field is immutable!",
Description: "Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area."+utils.FormatPossibleValues(sdkUtils.EnumSliceToStringSlice(ske.AllowedAccessScopeEnumValues)...) +" The field is immutable!",
0 commit comments