Documentation ¶
Overview ¶
Package config contains API types used by Crossplane providers interacting with Kubernetes APIs. +kubebuilder:object:generate=true
Index ¶
Constants ¶
const ( IdentityTypeGoogleApplicationCredentials = "GoogleApplicationCredentials" IdentityTypeAzureServicePrincipalCredentials = "AzureServicePrincipalCredentials" IdentityTypeAzureWorkloadIdentityCredentials = "AzureWorkloadIdentityCredentials" IdentityTypeUpboundTokens = "UpboundTokens" )
Supported identity types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct { // Type of identity. Type IdentityType `json:"type"` ProviderCredentials `json:",inline"` }
Identity used to authenticate.
func (*Identity) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identity.
func (*Identity) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityType ¶
type IdentityType string
IdentityType used to authenticate to the Kubernetes API. +kubebuilder:validation:Enum=GoogleApplicationCredentials;AzureServicePrincipalCredentials;AzureWorkloadIdentityCredentials;UpboundTokens
type ProviderConfigSpec ¶
type ProviderConfigSpec struct { // Credentials used to connect to the Kubernetes API. Typically a // kubeconfig file. Use InjectedIdentity for in-cluster config. Credentials ProviderCredentials `json:"credentials"` // Identity used to authenticate to the Kubernetes API. The identity // credentials can be used to supplement kubeconfig 'credentials', for // example by configuring a bearer token source such as OAuth. // +optional Identity *Identity `json:"identity,omitempty"` }
A ProviderConfigSpec defines the desired state of a ProviderConfig.
func (*ProviderConfigSpec) DeepCopy ¶
func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSpec.
func (*ProviderConfigSpec) DeepCopyInto ¶
func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderCredentials ¶
type ProviderCredentials struct { // Source of the provider credentials. // +kubebuilder:validation:Enum=None;Secret;InjectedIdentity;Environment;Filesystem Source xpv1.CredentialsSource `json:"source"` xpv1.CommonCredentialSelectors `json:",inline"` }
ProviderCredentials required to authenticate.
func (*ProviderCredentials) DeepCopy ¶
func (in *ProviderCredentials) DeepCopy() *ProviderCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderCredentials.
func (*ProviderCredentials) DeepCopyInto ¶
func (in *ProviderCredentials) DeepCopyInto(out *ProviderCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.