Skip to content
Merged
5 changes: 5 additions & 0 deletions api/hypershift/v1beta1/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,11 @@ type AzureWorkloadIdentities struct {
// workload identity authentication.
// +required
CloudProvider WorkloadIdentity `json:"cloudProvider"`

// network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
Comment thread
bryan-cox marked this conversation as resolved.
// workload identity authentication.
// +required
Network WorkloadIdentity `json:"network"`
}
Comment thread
bryan-cox marked this conversation as resolved.

// ManagedIdentity contains the client ID, and its certificate name, of a managed identity. This managed identity is
Expand Down
1 change: 1 addition & 0 deletions api/hypershift/v1beta1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -4061,6 +4061,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4088,6 +4109,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4099,6 +4099,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4126,6 +4147,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
Comment thread
coderabbitai[bot] marked this conversation as resolved.
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4072,6 +4072,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4099,6 +4120,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4073,6 +4073,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4100,6 +4121,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4388,6 +4388,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4415,6 +4436,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4542,6 +4542,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
Comment thread
bryan-cox marked this conversation as resolved.
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4569,6 +4590,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4070,6 +4070,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
Comment thread
coderabbitai[bot] marked this conversation as resolved.
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4097,6 +4118,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4128,6 +4128,27 @@ spec:
required:
- clientID
type: object
network:
description: |-
network is the client ID of a federated managed identity, associated with cluster-network-operator, used in
workload identity authentication.
properties:
clientID:
description: clientID is client ID of a federated
managed identity used in workload identity authentication
maxLength: 36
minLength: 36
pattern: ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
type: string
x-kubernetes-validations:
- message: the client ID of a managed identity
must be a valid UUID. It should be 5 groups
of hyphen separated hexadecimal characters
in the form 8-4-4-4-12.
rule: self.matches('^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$')
required:
- clientID
type: object
nodePoolManagement:
description: |-
nodePoolManagement is the client ID of a federated managed identity, associated with cluster-api-provider-azure, used
Expand Down Expand Up @@ -4155,6 +4176,7 @@ spec:
- file
- imageRegistry
- ingress
- network
- nodePoolManagement
type: object
Comment thread
bryan-cox marked this conversation as resolved.
required:
Expand Down
Loading