Skip to content

OCPBUGS-56268: pkg/types/azure: remove SystemAssignedID docs #9717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions data/data/install.openshift.io_installconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ spec:
default: None
description: |-
Identity is the type of identity used for the virtual machine.
The type 'SystemAssigned' is an implicitly created identity.
The generated identity will be assigned a Subscription contributor role.
The type 'UserAssigned' is a standalone Azure resource provided by the user
and assigned to the VM
Identity can only be set for control-plane nodes.
Expand All @@ -263,7 +261,6 @@ spec:
used.
enum:
- None
- SystemAssigned
- UserAssigned
type: string
userAssignedIdentities:
Expand Down Expand Up @@ -1574,8 +1571,6 @@ spec:
default: None
description: |-
Identity is the type of identity used for the virtual machine.
The type 'SystemAssigned' is an implicitly created identity.
The generated identity will be assigned a Subscription contributor role.
The type 'UserAssigned' is a standalone Azure resource provided by the user
and assigned to the VM
Identity can only be set for control-plane nodes.
Expand All @@ -1585,7 +1580,6 @@ spec:
be used.
enum:
- None
- SystemAssigned
- UserAssigned
type: string
userAssignedIdentities:
Expand Down Expand Up @@ -2835,8 +2829,6 @@ spec:
default: None
description: |-
Identity is the type of identity used for the virtual machine.
The type 'SystemAssigned' is an implicitly created identity.
The generated identity will be assigned a Subscription contributor role.
The type 'UserAssigned' is a standalone Azure resource provided by the user
and assigned to the VM
Identity can only be set for control-plane nodes.
Expand All @@ -2846,7 +2838,6 @@ spec:
used.
enum:
- None
- SystemAssigned
- UserAssigned
type: string
userAssignedIdentities:
Expand Down Expand Up @@ -4570,8 +4561,6 @@ spec:
default: None
description: |-
Identity is the type of identity used for the virtual machine.
The type 'SystemAssigned' is an implicitly created identity.
The generated identity will be assigned a Subscription contributor role.
The type 'UserAssigned' is a standalone Azure resource provided by the user
and assigned to the VM
Identity can only be set for control-plane nodes.
Expand All @@ -4581,7 +4570,6 @@ spec:
used.
enum:
- None
- SystemAssigned
- UserAssigned
type: string
userAssignedIdentities:
Expand Down
5 changes: 3 additions & 2 deletions pkg/types/azure/machinepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ type MachinePool struct {
Settings *SecuritySettings `json:"settings,omitempty"`

// Identity is the type of identity used for the virtual machine.
// The type 'SystemAssigned' is an implicitly created identity.
// The generated identity will be assigned a Subscription contributor role.
// The type 'UserAssigned' is a standalone Azure resource provided by the user
// and assigned to the VM
// Identity can only be set for control-plane nodes.
Expand Down Expand Up @@ -264,6 +262,9 @@ type OSImage struct {
// VMIdentity configures the identity attached to the VM.
type VMIdentity struct {
// Type specifies the type of identity to be used.
// +kubebuilder:validation:Schemaless
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Enum=None;UserAssigned
Type capz.VMIdentity `json:"type"`

// UserAssignedIdentities is a list of identities to be attached to a node.
Expand Down