package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Functions

MakeAzureFileShareVolumeSpec creates a Volume and VolumeMount spec for an Azure File Share and returns them along with an error if one occurs.
MakeFederatedIdentity creates an OutputResource object with the necessary fields to create a Federated Identity in Azure (aka workload identity), and returns an error if the OIDC Issuer URL or namespace is not specified.
MakeKeyVaultSecretProviderClass creates a SecretProviderClass object for an Azure KeyVault resource and returns an OutputResource with the ServiceAccount as a dependency.
MakeKeyVaultVolumeSpec creates a Volume and VolumeMount spec for a secret store volume using the given volumeName, mountPath and spcName and returns them along with a nil error.
MakeManagedIdentity parses the Azure Provider scope and creates an OutputResource with the parsed subscription ID and resource group, and the given name.
MakeResourceName creates a normalized resource name by combining the prefix, name and separator.
MakeRoleAssignments creates OutputResources and Dependencies for each roleName in the roleNames slice, and adds them to the outputResources and deps slices respectively.
SetWorkloadIdentityServiceAccount creates a ServiceAccount with descriptive labels and placeholder annotations for Azure Workload Identity, and returns an OutputResource with the ServiceAccount and a dependency on the FederatedIdentity.
TransformFederatedIdentitySA extracts the identity info from the request and adds it to the ServiceAccount annotations.
TransformSecretProviderClass updates the clientID and tenantID for azure workload identity.

# Constants

AzureWorkloadIdentityUseKey represents the key of azure workload identity to enable in Pod and SA.
Separator represents the resource name separator.