Skip to content

Commit

Permalink
add listType marker to TopologyCategories
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBednar committed May 22, 2024
1 parent b7debf5 commit 08e8144
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -31578,7 +31578,8 @@
"items": {
"type": "string",
"default": ""
}
},
"x-kubernetes-list-type": "atomic"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions operator/v1/types_csi_cluster_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ type VSphereCSIDriverConfigSpec struct {
// If cluster Infrastructure object has a topology, values specified in
// Infrastructure object will be used and modifications to topologyCategories
// will be rejected.
// +listType=atomic
// +optional
TopologyCategories []string `json:"topologyCategories,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
type: object
required:
- driverType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
type: object
required:
- driverType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
type: object
required:
- driverType
Expand Down

0 comments on commit 08e8144

Please sign in to comment.