package v1
import "k8s.io/apiserver/pkg/apis/apiserver/v1"
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_apiserver_AESConfiguration_To_v1_AESConfiguration(in *apiserver.AESConfiguration, out *AESConfiguration, s conversion.Scope) error
- func Convert_apiserver_AdmissionConfiguration_To_v1_AdmissionConfiguration(in *apiserver.AdmissionConfiguration, out *AdmissionConfiguration, s conversion.Scope) error
- func Convert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, s conversion.Scope) error
- func Convert_apiserver_AnonymousAuthCondition_To_v1_AnonymousAuthCondition(in *apiserver.AnonymousAuthCondition, out *AnonymousAuthCondition, s conversion.Scope) error
- func Convert_apiserver_AnonymousAuthConfig_To_v1_AnonymousAuthConfig(in *apiserver.AnonymousAuthConfig, out *AnonymousAuthConfig, s conversion.Scope) error
- func Convert_apiserver_AuthenticationConfiguration_To_v1_AuthenticationConfiguration(in *apiserver.AuthenticationConfiguration, out *AuthenticationConfiguration, s conversion.Scope) error
- func Convert_apiserver_AuthorizationConfiguration_To_v1_AuthorizationConfiguration(in *apiserver.AuthorizationConfiguration, out *AuthorizationConfiguration, s conversion.Scope) error
- func Convert_apiserver_AuthorizerConfiguration_To_v1_AuthorizerConfiguration(in *apiserver.AuthorizerConfiguration, out *AuthorizerConfiguration, s conversion.Scope) error
- func Convert_apiserver_ClaimMappings_To_v1_ClaimMappings(in *apiserver.ClaimMappings, out *ClaimMappings, s conversion.Scope) error
- func Convert_apiserver_ClaimOrExpression_To_v1_ClaimOrExpression(in *apiserver.ClaimOrExpression, out *ClaimOrExpression, s conversion.Scope) error
- func Convert_apiserver_ClaimValidationRule_To_v1_ClaimValidationRule(in *apiserver.ClaimValidationRule, out *ClaimValidationRule, s conversion.Scope) error
- func Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(in *apiserver.EncryptionConfiguration, out *EncryptionConfiguration, s conversion.Scope) error
- func Convert_apiserver_ExtraMapping_To_v1_ExtraMapping(in *apiserver.ExtraMapping, out *ExtraMapping, s conversion.Scope) error
- func Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(in *apiserver.IdentityConfiguration, out *IdentityConfiguration, s conversion.Scope) error
- func Convert_apiserver_Issuer_To_v1_Issuer(in *apiserver.Issuer, out *Issuer, s conversion.Scope) error
- func Convert_apiserver_JWTAuthenticator_To_v1_JWTAuthenticator(in *apiserver.JWTAuthenticator, out *JWTAuthenticator, s conversion.Scope) error
- func Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(in *apiserver.KMSConfiguration, out *KMSConfiguration, s conversion.Scope) error
- func Convert_apiserver_Key_To_v1_Key(in *apiserver.Key, out *Key, s conversion.Scope) error
- func Convert_apiserver_PrefixedClaimOrExpression_To_v1_PrefixedClaimOrExpression(in *apiserver.PrefixedClaimOrExpression, out *PrefixedClaimOrExpression, s conversion.Scope) error
- func Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(in *apiserver.ProviderConfiguration, out *ProviderConfiguration, s conversion.Scope) error
- func Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(in *apiserver.ResourceConfiguration, out *ResourceConfiguration, s conversion.Scope) error
- func Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(in *apiserver.SecretboxConfiguration, out *SecretboxConfiguration, s conversion.Scope) error
- func Convert_apiserver_UserValidationRule_To_v1_UserValidationRule(in *apiserver.UserValidationRule, out *UserValidationRule, s conversion.Scope) error
- func Convert_apiserver_WebhookConfiguration_To_v1_WebhookConfiguration(in *apiserver.WebhookConfiguration, out *WebhookConfiguration, s conversion.Scope) error
- func Convert_apiserver_WebhookConnectionInfo_To_v1_WebhookConnectionInfo(in *apiserver.WebhookConnectionInfo, out *WebhookConnectionInfo, s conversion.Scope) error
- func Convert_apiserver_WebhookMatchCondition_To_v1_WebhookMatchCondition(in *apiserver.WebhookMatchCondition, out *WebhookMatchCondition, s conversion.Scope) error
- func Convert_v1_AESConfiguration_To_apiserver_AESConfiguration(in *AESConfiguration, out *apiserver.AESConfiguration, s conversion.Scope) error
- func Convert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, s conversion.Scope) error
- func Convert_v1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration(in *AdmissionPluginConfiguration, out *apiserver.AdmissionPluginConfiguration, s conversion.Scope) error
- func Convert_v1_AnonymousAuthCondition_To_apiserver_AnonymousAuthCondition(in *AnonymousAuthCondition, out *apiserver.AnonymousAuthCondition, s conversion.Scope) error
- func Convert_v1_AnonymousAuthConfig_To_apiserver_AnonymousAuthConfig(in *AnonymousAuthConfig, out *apiserver.AnonymousAuthConfig, s conversion.Scope) error
- func Convert_v1_AuthenticationConfiguration_To_apiserver_AuthenticationConfiguration(in *AuthenticationConfiguration, out *apiserver.AuthenticationConfiguration, s conversion.Scope) error
- func Convert_v1_AuthorizationConfiguration_To_apiserver_AuthorizationConfiguration(in *AuthorizationConfiguration, out *apiserver.AuthorizationConfiguration, s conversion.Scope) error
- func Convert_v1_AuthorizerConfiguration_To_apiserver_AuthorizerConfiguration(in *AuthorizerConfiguration, out *apiserver.AuthorizerConfiguration, s conversion.Scope) error
- func Convert_v1_ClaimMappings_To_apiserver_ClaimMappings(in *ClaimMappings, out *apiserver.ClaimMappings, s conversion.Scope) error
- func Convert_v1_ClaimOrExpression_To_apiserver_ClaimOrExpression(in *ClaimOrExpression, out *apiserver.ClaimOrExpression, s conversion.Scope) error
- func Convert_v1_ClaimValidationRule_To_apiserver_ClaimValidationRule(in *ClaimValidationRule, out *apiserver.ClaimValidationRule, s conversion.Scope) error
- func Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(in *EncryptionConfiguration, out *apiserver.EncryptionConfiguration, s conversion.Scope) error
- func Convert_v1_ExtraMapping_To_apiserver_ExtraMapping(in *ExtraMapping, out *apiserver.ExtraMapping, s conversion.Scope) error
- func Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(in *IdentityConfiguration, out *apiserver.IdentityConfiguration, s conversion.Scope) error
- func Convert_v1_Issuer_To_apiserver_Issuer(in *Issuer, out *apiserver.Issuer, s conversion.Scope) error
- func Convert_v1_JWTAuthenticator_To_apiserver_JWTAuthenticator(in *JWTAuthenticator, out *apiserver.JWTAuthenticator, s conversion.Scope) error
- func Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in *KMSConfiguration, out *apiserver.KMSConfiguration, s conversion.Scope) error
- func Convert_v1_Key_To_apiserver_Key(in *Key, out *apiserver.Key, s conversion.Scope) error
- func Convert_v1_PrefixedClaimOrExpression_To_apiserver_PrefixedClaimOrExpression(in *PrefixedClaimOrExpression, out *apiserver.PrefixedClaimOrExpression, s conversion.Scope) error
- func Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(in *ProviderConfiguration, out *apiserver.ProviderConfiguration, s conversion.Scope) error
- func Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(in *ResourceConfiguration, out *apiserver.ResourceConfiguration, s conversion.Scope) error
- func Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(in *SecretboxConfiguration, out *apiserver.SecretboxConfiguration, s conversion.Scope) error
- func Convert_v1_UserValidationRule_To_apiserver_UserValidationRule(in *UserValidationRule, out *apiserver.UserValidationRule, s conversion.Scope) error
- func Convert_v1_WebhookConfiguration_To_apiserver_WebhookConfiguration(in *WebhookConfiguration, out *apiserver.WebhookConfiguration, s conversion.Scope) error
- func Convert_v1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo(in *WebhookConnectionInfo, out *apiserver.WebhookConnectionInfo, s conversion.Scope) error
- func Convert_v1_WebhookMatchCondition_To_apiserver_WebhookMatchCondition(in *WebhookMatchCondition, out *apiserver.WebhookMatchCondition, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaults_KMSConfiguration(obj *KMSConfiguration)
- func SetDefaults_WebhookConfiguration(obj *WebhookConfiguration)
- func SetObjectDefaults_AuthorizationConfiguration(in *AuthorizationConfiguration)
- func SetObjectDefaults_EncryptionConfiguration(in *EncryptionConfiguration)
- type AESConfiguration
- func (in *AESConfiguration) DeepCopy() *AESConfiguration
- func (in *AESConfiguration) DeepCopyInto(out *AESConfiguration)
- type AdmissionConfiguration
- func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration
- func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration)
- func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object
- type AdmissionPluginConfiguration
- func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration
- func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration)
- type AnonymousAuthCondition
- func (in *AnonymousAuthCondition) DeepCopy() *AnonymousAuthCondition
- func (in *AnonymousAuthCondition) DeepCopyInto(out *AnonymousAuthCondition)
- type AnonymousAuthConfig
- func (in *AnonymousAuthConfig) DeepCopy() *AnonymousAuthConfig
- func (in *AnonymousAuthConfig) DeepCopyInto(out *AnonymousAuthConfig)
- type AudienceMatchPolicyType
- type AuthenticationConfiguration
- func (in *AuthenticationConfiguration) DeepCopy() *AuthenticationConfiguration
- func (in *AuthenticationConfiguration) DeepCopyInto(out *AuthenticationConfiguration)
- func (in *AuthenticationConfiguration) DeepCopyObject() runtime.Object
- type AuthorizationConfiguration
- func (in *AuthorizationConfiguration) DeepCopy() *AuthorizationConfiguration
- func (in *AuthorizationConfiguration) DeepCopyInto(out *AuthorizationConfiguration)
- func (in *AuthorizationConfiguration) DeepCopyObject() runtime.Object
- type AuthorizerConfiguration
- func (in *AuthorizerConfiguration) DeepCopy() *AuthorizerConfiguration
- func (in *AuthorizerConfiguration) DeepCopyInto(out *AuthorizerConfiguration)
- type AuthorizerType
- type ClaimMappings
- func (in *ClaimMappings) DeepCopy() *ClaimMappings
- func (in *ClaimMappings) DeepCopyInto(out *ClaimMappings)
- type ClaimOrExpression
- func (in *ClaimOrExpression) DeepCopy() *ClaimOrExpression
- func (in *ClaimOrExpression) DeepCopyInto(out *ClaimOrExpression)
- type ClaimValidationRule
- func (in *ClaimValidationRule) DeepCopy() *ClaimValidationRule
- func (in *ClaimValidationRule) DeepCopyInto(out *ClaimValidationRule)
- type EncryptionConfiguration
- func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration
- func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration)
- func (in *EncryptionConfiguration) DeepCopyObject() runtime.Object
- type ExtraMapping
- func (in *ExtraMapping) DeepCopy() *ExtraMapping
- func (in *ExtraMapping) DeepCopyInto(out *ExtraMapping)
- type IdentityConfiguration
- func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration
- func (in *IdentityConfiguration) DeepCopyInto(out *IdentityConfiguration)
- type Issuer
- type JWTAuthenticator
- func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator
- func (in *JWTAuthenticator) DeepCopyInto(out *JWTAuthenticator)
- type KMSConfiguration
- func (in *KMSConfiguration) DeepCopy() *KMSConfiguration
- func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration)
- type Key
- type PrefixedClaimOrExpression
- func (in *PrefixedClaimOrExpression) DeepCopy() *PrefixedClaimOrExpression
- func (in *PrefixedClaimOrExpression) DeepCopyInto(out *PrefixedClaimOrExpression)
- type ProviderConfiguration
- func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration
- func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration)
- type ResourceConfiguration
- func (in *ResourceConfiguration) DeepCopy() *ResourceConfiguration
- func (in *ResourceConfiguration) DeepCopyInto(out *ResourceConfiguration)
- type SecretboxConfiguration
- func (in *SecretboxConfiguration) DeepCopy() *SecretboxConfiguration
- func (in *SecretboxConfiguration) DeepCopyInto(out *SecretboxConfiguration)
- type UserValidationRule
- func (in *UserValidationRule) DeepCopy() *UserValidationRule
- func (in *UserValidationRule) DeepCopyInto(out *UserValidationRule)
- type WebhookConfiguration
- func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration
- func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)
- type WebhookConnectionInfo
- func (in *WebhookConnectionInfo) DeepCopy() *WebhookConnectionInfo
- func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo)
- type WebhookMatchCondition
Constants ¶
const ( TypeWebhook AuthorizerType = "Webhook" FailurePolicyNoOpinion string = "NoOpinion" FailurePolicyDeny string = "Deny" AuthorizationWebhookConnectionInfoTypeKubeConfigFile string = "KubeConfigFile" AuthorizationWebhookConnectionInfoTypeInCluster string = "InClusterConfig" )
const GroupName = "apiserver.config.k8s.io"
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_apiserver_AESConfiguration_To_v1_AESConfiguration ¶
func Convert_apiserver_AESConfiguration_To_v1_AESConfiguration(in *apiserver.AESConfiguration, out *AESConfiguration, s conversion.Scope) error
Convert_apiserver_AESConfiguration_To_v1_AESConfiguration is an autogenerated conversion function.
func Convert_apiserver_AdmissionConfiguration_To_v1_AdmissionConfiguration ¶
func Convert_apiserver_AdmissionConfiguration_To_v1_AdmissionConfiguration(in *apiserver.AdmissionConfiguration, out *AdmissionConfiguration, s conversion.Scope) error
Convert_apiserver_AdmissionConfiguration_To_v1_AdmissionConfiguration is an autogenerated conversion function.
func Convert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration ¶
func Convert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, s conversion.Scope) error
Convert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration is an autogenerated conversion function.
func Convert_apiserver_AnonymousAuthCondition_To_v1_AnonymousAuthCondition ¶
func Convert_apiserver_AnonymousAuthCondition_To_v1_AnonymousAuthCondition(in *apiserver.AnonymousAuthCondition, out *AnonymousAuthCondition, s conversion.Scope) error
Convert_apiserver_AnonymousAuthCondition_To_v1_AnonymousAuthCondition is an autogenerated conversion function.
func Convert_apiserver_AnonymousAuthConfig_To_v1_AnonymousAuthConfig ¶
func Convert_apiserver_AnonymousAuthConfig_To_v1_AnonymousAuthConfig(in *apiserver.AnonymousAuthConfig, out *AnonymousAuthConfig, s conversion.Scope) error
Convert_apiserver_AnonymousAuthConfig_To_v1_AnonymousAuthConfig is an autogenerated conversion function.
func Convert_apiserver_AuthenticationConfiguration_To_v1_AuthenticationConfiguration ¶
func Convert_apiserver_AuthenticationConfiguration_To_v1_AuthenticationConfiguration(in *apiserver.AuthenticationConfiguration, out *AuthenticationConfiguration, s conversion.Scope) error
Convert_apiserver_AuthenticationConfiguration_To_v1_AuthenticationConfiguration is an autogenerated conversion function.
func Convert_apiserver_AuthorizationConfiguration_To_v1_AuthorizationConfiguration ¶
func Convert_apiserver_AuthorizationConfiguration_To_v1_AuthorizationConfiguration(in *apiserver.AuthorizationConfiguration, out *AuthorizationConfiguration, s conversion.Scope) error
Convert_apiserver_AuthorizationConfiguration_To_v1_AuthorizationConfiguration is an autogenerated conversion function.
func Convert_apiserver_AuthorizerConfiguration_To_v1_AuthorizerConfiguration ¶
func Convert_apiserver_AuthorizerConfiguration_To_v1_AuthorizerConfiguration(in *apiserver.AuthorizerConfiguration, out *AuthorizerConfiguration, s conversion.Scope) error
Convert_apiserver_AuthorizerConfiguration_To_v1_AuthorizerConfiguration is an autogenerated conversion function.
func Convert_apiserver_ClaimMappings_To_v1_ClaimMappings ¶
func Convert_apiserver_ClaimMappings_To_v1_ClaimMappings(in *apiserver.ClaimMappings, out *ClaimMappings, s conversion.Scope) error
Convert_apiserver_ClaimMappings_To_v1_ClaimMappings is an autogenerated conversion function.
func Convert_apiserver_ClaimOrExpression_To_v1_ClaimOrExpression ¶
func Convert_apiserver_ClaimOrExpression_To_v1_ClaimOrExpression(in *apiserver.ClaimOrExpression, out *ClaimOrExpression, s conversion.Scope) error
Convert_apiserver_ClaimOrExpression_To_v1_ClaimOrExpression is an autogenerated conversion function.
func Convert_apiserver_ClaimValidationRule_To_v1_ClaimValidationRule ¶
func Convert_apiserver_ClaimValidationRule_To_v1_ClaimValidationRule(in *apiserver.ClaimValidationRule, out *ClaimValidationRule, s conversion.Scope) error
Convert_apiserver_ClaimValidationRule_To_v1_ClaimValidationRule is an autogenerated conversion function.
func Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration ¶
func Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(in *apiserver.EncryptionConfiguration, out *EncryptionConfiguration, s conversion.Scope) error
Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration is an autogenerated conversion function.
func Convert_apiserver_ExtraMapping_To_v1_ExtraMapping ¶
func Convert_apiserver_ExtraMapping_To_v1_ExtraMapping(in *apiserver.ExtraMapping, out *ExtraMapping, s conversion.Scope) error
Convert_apiserver_ExtraMapping_To_v1_ExtraMapping is an autogenerated conversion function.
func Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration ¶
func Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(in *apiserver.IdentityConfiguration, out *IdentityConfiguration, s conversion.Scope) error
Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration is an autogenerated conversion function.
func Convert_apiserver_Issuer_To_v1_Issuer ¶
func Convert_apiserver_Issuer_To_v1_Issuer(in *apiserver.Issuer, out *Issuer, s conversion.Scope) error
Convert_apiserver_Issuer_To_v1_Issuer is an autogenerated conversion function.
func Convert_apiserver_JWTAuthenticator_To_v1_JWTAuthenticator ¶
func Convert_apiserver_JWTAuthenticator_To_v1_JWTAuthenticator(in *apiserver.JWTAuthenticator, out *JWTAuthenticator, s conversion.Scope) error
Convert_apiserver_JWTAuthenticator_To_v1_JWTAuthenticator is an autogenerated conversion function.
func Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration ¶
func Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(in *apiserver.KMSConfiguration, out *KMSConfiguration, s conversion.Scope) error
Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration is an autogenerated conversion function.
func Convert_apiserver_Key_To_v1_Key ¶
Convert_apiserver_Key_To_v1_Key is an autogenerated conversion function.
func Convert_apiserver_PrefixedClaimOrExpression_To_v1_PrefixedClaimOrExpression ¶
func Convert_apiserver_PrefixedClaimOrExpression_To_v1_PrefixedClaimOrExpression(in *apiserver.PrefixedClaimOrExpression, out *PrefixedClaimOrExpression, s conversion.Scope) error
Convert_apiserver_PrefixedClaimOrExpression_To_v1_PrefixedClaimOrExpression is an autogenerated conversion function.
func Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration ¶
func Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(in *apiserver.ProviderConfiguration, out *ProviderConfiguration, s conversion.Scope) error
Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration is an autogenerated conversion function.
func Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration ¶
func Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(in *apiserver.ResourceConfiguration, out *ResourceConfiguration, s conversion.Scope) error
Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration is an autogenerated conversion function.
func Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration ¶
func Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(in *apiserver.SecretboxConfiguration, out *SecretboxConfiguration, s conversion.Scope) error
Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration is an autogenerated conversion function.
func Convert_apiserver_UserValidationRule_To_v1_UserValidationRule ¶
func Convert_apiserver_UserValidationRule_To_v1_UserValidationRule(in *apiserver.UserValidationRule, out *UserValidationRule, s conversion.Scope) error
Convert_apiserver_UserValidationRule_To_v1_UserValidationRule is an autogenerated conversion function.
func Convert_apiserver_WebhookConfiguration_To_v1_WebhookConfiguration ¶
func Convert_apiserver_WebhookConfiguration_To_v1_WebhookConfiguration(in *apiserver.WebhookConfiguration, out *WebhookConfiguration, s conversion.Scope) error
Convert_apiserver_WebhookConfiguration_To_v1_WebhookConfiguration is an autogenerated conversion function.
func Convert_apiserver_WebhookConnectionInfo_To_v1_WebhookConnectionInfo ¶
func Convert_apiserver_WebhookConnectionInfo_To_v1_WebhookConnectionInfo(in *apiserver.WebhookConnectionInfo, out *WebhookConnectionInfo, s conversion.Scope) error
Convert_apiserver_WebhookConnectionInfo_To_v1_WebhookConnectionInfo is an autogenerated conversion function.
func Convert_apiserver_WebhookMatchCondition_To_v1_WebhookMatchCondition ¶
func Convert_apiserver_WebhookMatchCondition_To_v1_WebhookMatchCondition(in *apiserver.WebhookMatchCondition, out *WebhookMatchCondition, s conversion.Scope) error
Convert_apiserver_WebhookMatchCondition_To_v1_WebhookMatchCondition is an autogenerated conversion function.
func Convert_v1_AESConfiguration_To_apiserver_AESConfiguration ¶
func Convert_v1_AESConfiguration_To_apiserver_AESConfiguration(in *AESConfiguration, out *apiserver.AESConfiguration, s conversion.Scope) error
Convert_v1_AESConfiguration_To_apiserver_AESConfiguration is an autogenerated conversion function.
func Convert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration ¶
func Convert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, s conversion.Scope) error
Convert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration is an autogenerated conversion function.
func Convert_v1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration ¶
func Convert_v1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration(in *AdmissionPluginConfiguration, out *apiserver.AdmissionPluginConfiguration, s conversion.Scope) error
Convert_v1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration is an autogenerated conversion function.
func Convert_v1_AnonymousAuthCondition_To_apiserver_AnonymousAuthCondition ¶
func Convert_v1_AnonymousAuthCondition_To_apiserver_AnonymousAuthCondition(in *AnonymousAuthCondition, out *apiserver.AnonymousAuthCondition, s conversion.Scope) error
Convert_v1_AnonymousAuthCondition_To_apiserver_AnonymousAuthCondition is an autogenerated conversion function.
func Convert_v1_AnonymousAuthConfig_To_apiserver_AnonymousAuthConfig ¶
func Convert_v1_AnonymousAuthConfig_To_apiserver_AnonymousAuthConfig(in *AnonymousAuthConfig, out *apiserver.AnonymousAuthConfig, s conversion.Scope) error
Convert_v1_AnonymousAuthConfig_To_apiserver_AnonymousAuthConfig is an autogenerated conversion function.
func Convert_v1_AuthenticationConfiguration_To_apiserver_AuthenticationConfiguration ¶
func Convert_v1_AuthenticationConfiguration_To_apiserver_AuthenticationConfiguration(in *AuthenticationConfiguration, out *apiserver.AuthenticationConfiguration, s conversion.Scope) error
Convert_v1_AuthenticationConfiguration_To_apiserver_AuthenticationConfiguration is an autogenerated conversion function.
func Convert_v1_AuthorizationConfiguration_To_apiserver_AuthorizationConfiguration ¶
func Convert_v1_AuthorizationConfiguration_To_apiserver_AuthorizationConfiguration(in *AuthorizationConfiguration, out *apiserver.AuthorizationConfiguration, s conversion.Scope) error
Convert_v1_AuthorizationConfiguration_To_apiserver_AuthorizationConfiguration is an autogenerated conversion function.
func Convert_v1_AuthorizerConfiguration_To_apiserver_AuthorizerConfiguration ¶
func Convert_v1_AuthorizerConfiguration_To_apiserver_AuthorizerConfiguration(in *AuthorizerConfiguration, out *apiserver.AuthorizerConfiguration, s conversion.Scope) error
Convert_v1_AuthorizerConfiguration_To_apiserver_AuthorizerConfiguration is an autogenerated conversion function.
func Convert_v1_ClaimMappings_To_apiserver_ClaimMappings ¶
func Convert_v1_ClaimMappings_To_apiserver_ClaimMappings(in *ClaimMappings, out *apiserver.ClaimMappings, s conversion.Scope) error
Convert_v1_ClaimMappings_To_apiserver_ClaimMappings is an autogenerated conversion function.
func Convert_v1_ClaimOrExpression_To_apiserver_ClaimOrExpression ¶
func Convert_v1_ClaimOrExpression_To_apiserver_ClaimOrExpression(in *ClaimOrExpression, out *apiserver.ClaimOrExpression, s conversion.Scope) error
Convert_v1_ClaimOrExpression_To_apiserver_ClaimOrExpression is an autogenerated conversion function.
func Convert_v1_ClaimValidationRule_To_apiserver_ClaimValidationRule ¶
func Convert_v1_ClaimValidationRule_To_apiserver_ClaimValidationRule(in *ClaimValidationRule, out *apiserver.ClaimValidationRule, s conversion.Scope) error
Convert_v1_ClaimValidationRule_To_apiserver_ClaimValidationRule is an autogenerated conversion function.
func Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration ¶
func Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(in *EncryptionConfiguration, out *apiserver.EncryptionConfiguration, s conversion.Scope) error
Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration is an autogenerated conversion function.
func Convert_v1_ExtraMapping_To_apiserver_ExtraMapping ¶
func Convert_v1_ExtraMapping_To_apiserver_ExtraMapping(in *ExtraMapping, out *apiserver.ExtraMapping, s conversion.Scope) error
Convert_v1_ExtraMapping_To_apiserver_ExtraMapping is an autogenerated conversion function.
func Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration ¶
func Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(in *IdentityConfiguration, out *apiserver.IdentityConfiguration, s conversion.Scope) error
Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration is an autogenerated conversion function.
func Convert_v1_Issuer_To_apiserver_Issuer ¶
func Convert_v1_Issuer_To_apiserver_Issuer(in *Issuer, out *apiserver.Issuer, s conversion.Scope) error
Convert_v1_Issuer_To_apiserver_Issuer is an autogenerated conversion function.
func Convert_v1_JWTAuthenticator_To_apiserver_JWTAuthenticator ¶
func Convert_v1_JWTAuthenticator_To_apiserver_JWTAuthenticator(in *JWTAuthenticator, out *apiserver.JWTAuthenticator, s conversion.Scope) error
Convert_v1_JWTAuthenticator_To_apiserver_JWTAuthenticator is an autogenerated conversion function.
func Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration ¶
func Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in *KMSConfiguration, out *apiserver.KMSConfiguration, s conversion.Scope) error
Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration is an autogenerated conversion function.
func Convert_v1_Key_To_apiserver_Key ¶
Convert_v1_Key_To_apiserver_Key is an autogenerated conversion function.
func Convert_v1_PrefixedClaimOrExpression_To_apiserver_PrefixedClaimOrExpression ¶
func Convert_v1_PrefixedClaimOrExpression_To_apiserver_PrefixedClaimOrExpression(in *PrefixedClaimOrExpression, out *apiserver.PrefixedClaimOrExpression, s conversion.Scope) error
Convert_v1_PrefixedClaimOrExpression_To_apiserver_PrefixedClaimOrExpression is an autogenerated conversion function.
func Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration ¶
func Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(in *ProviderConfiguration, out *apiserver.ProviderConfiguration, s conversion.Scope) error
Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration is an autogenerated conversion function.
func Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration ¶
func Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(in *ResourceConfiguration, out *apiserver.ResourceConfiguration, s conversion.Scope) error
Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration is an autogenerated conversion function.
func Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration ¶
func Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(in *SecretboxConfiguration, out *apiserver.SecretboxConfiguration, s conversion.Scope) error
Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration is an autogenerated conversion function.
func Convert_v1_UserValidationRule_To_apiserver_UserValidationRule ¶
func Convert_v1_UserValidationRule_To_apiserver_UserValidationRule(in *UserValidationRule, out *apiserver.UserValidationRule, s conversion.Scope) error
Convert_v1_UserValidationRule_To_apiserver_UserValidationRule is an autogenerated conversion function.
func Convert_v1_WebhookConfiguration_To_apiserver_WebhookConfiguration ¶
func Convert_v1_WebhookConfiguration_To_apiserver_WebhookConfiguration(in *WebhookConfiguration, out *apiserver.WebhookConfiguration, s conversion.Scope) error
Convert_v1_WebhookConfiguration_To_apiserver_WebhookConfiguration is an autogenerated conversion function.
func Convert_v1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo ¶
func Convert_v1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo(in *WebhookConnectionInfo, out *apiserver.WebhookConnectionInfo, s conversion.Scope) error
Convert_v1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo is an autogenerated conversion function.
func Convert_v1_WebhookMatchCondition_To_apiserver_WebhookMatchCondition ¶
func Convert_v1_WebhookMatchCondition_To_apiserver_WebhookMatchCondition(in *WebhookMatchCondition, out *apiserver.WebhookMatchCondition, s conversion.Scope) error
Convert_v1_WebhookMatchCondition_To_apiserver_WebhookMatchCondition is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func SetDefaults_KMSConfiguration ¶
func SetDefaults_KMSConfiguration(obj *KMSConfiguration)
SetDefaults_KMSConfiguration applies defaults to KMSConfiguration.
func SetDefaults_WebhookConfiguration ¶
func SetDefaults_WebhookConfiguration(obj *WebhookConfiguration)
func SetObjectDefaults_AuthorizationConfiguration ¶
func SetObjectDefaults_AuthorizationConfiguration(in *AuthorizationConfiguration)
func SetObjectDefaults_EncryptionConfiguration ¶
func SetObjectDefaults_EncryptionConfiguration(in *EncryptionConfiguration)
Types ¶
type AESConfiguration ¶
type AESConfiguration struct { // keys is a list of keys to be used for creating the AES transformer. // Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM. Keys []Key `json:"keys"` }
AESConfiguration contains the API configuration for an AES transformer.
func (*AESConfiguration) DeepCopy ¶
func (in *AESConfiguration) DeepCopy() *AESConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AESConfiguration.
func (*AESConfiguration) DeepCopyInto ¶
func (in *AESConfiguration) DeepCopyInto(out *AESConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdmissionConfiguration ¶
type AdmissionConfiguration struct { metav1.TypeMeta `json:",inline"` // Plugins allows specifying a configuration per admission control plugin. // +optional Plugins []AdmissionPluginConfiguration `json:"plugins"` }
AdmissionConfiguration provides versioned configuration for admission controllers.
func (*AdmissionConfiguration) DeepCopy ¶
func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration.
func (*AdmissionConfiguration) DeepCopyInto ¶
func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdmissionConfiguration) DeepCopyObject ¶
func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdmissionPluginConfiguration ¶
type AdmissionPluginConfiguration struct { // Name is the name of the admission controller. // It must match the registered admission plugin name. Name string `json:"name"` // Path is the path to a configuration file that contains the plugin's // configuration // +optional Path string `json:"path"` // Configuration is an embedded configuration object to be used as the plugin's // configuration. If present, it will be used instead of the path to the configuration file. // +optional Configuration *runtime.Unknown `json:"configuration"` }
AdmissionPluginConfiguration provides the configuration for a single plug-in.
func (*AdmissionPluginConfiguration) DeepCopy ¶
func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration.
func (*AdmissionPluginConfiguration) DeepCopyInto ¶
func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnonymousAuthCondition ¶
type AnonymousAuthCondition struct { // Path for which anonymous auth is enabled. Path string `json:"path"` }
AnonymousAuthCondition describes the condition under which anonymous auth should be enabled.
func (*AnonymousAuthCondition) DeepCopy ¶
func (in *AnonymousAuthCondition) DeepCopy() *AnonymousAuthCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousAuthCondition.
func (*AnonymousAuthCondition) DeepCopyInto ¶
func (in *AnonymousAuthCondition) DeepCopyInto(out *AnonymousAuthCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnonymousAuthConfig ¶
type AnonymousAuthConfig struct { Enabled bool `json:"enabled"` // If set, anonymous auth is only allowed if the request meets one of the // conditions. Conditions []AnonymousAuthCondition `json:"conditions,omitempty"` }
AnonymousAuthConfig provides the configuration for the anonymous authenticator.
func (*AnonymousAuthConfig) DeepCopy ¶
func (in *AnonymousAuthConfig) DeepCopy() *AnonymousAuthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousAuthConfig.
func (*AnonymousAuthConfig) DeepCopyInto ¶
func (in *AnonymousAuthConfig) DeepCopyInto(out *AnonymousAuthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AudienceMatchPolicyType ¶
type AudienceMatchPolicyType string
AudienceMatchPolicyType is a set of valid values for issuer.audienceMatchPolicy
const ( // MatchAny means the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field. AudienceMatchPolicyMatchAny AudienceMatchPolicyType = "MatchAny" )
Valid types for AudienceMatchPolicyType
type AuthenticationConfiguration ¶
type AuthenticationConfiguration struct { metav1.TypeMeta // jwt is a list of authenticator to authenticate Kubernetes users using // JWT compliant tokens. The authenticator will attempt to parse a raw ID token, // verify it's been signed by the configured issuer. The public key to verify the // signature is discovered from the issuer's public endpoint using OIDC discovery. // For an incoming token, each JWT authenticator will be attempted in // the order in which it is specified in this list. Note however that // other authenticators may run before or after the JWT authenticators. // The specific position of JWT authenticators in relation to other // authenticators is neither defined nor stable across releases. Since // each JWT authenticator must have a unique issuer URL, at most one // JWT authenticator will attempt to cryptographically validate the token. // // The minimum valid JWT payload must contain the following claims: // { // "iss": "https://issuer.example.com", // "aud": ["audience"], // "exp": 1234567890, // "<username claim>": "username" // } JWT []JWTAuthenticator `json:"jwt"` // If present --anonymous-auth must not be set Anonymous *AnonymousAuthConfig `json:"anonymous,omitempty"` }
AuthenticationConfiguration provides versioned configuration for authentication.
func (*AuthenticationConfiguration) DeepCopy ¶
func (in *AuthenticationConfiguration) DeepCopy() *AuthenticationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfiguration.
func (*AuthenticationConfiguration) DeepCopyInto ¶
func (in *AuthenticationConfiguration) DeepCopyInto(out *AuthenticationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthenticationConfiguration) DeepCopyObject ¶
func (in *AuthenticationConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthorizationConfiguration ¶
type AuthorizationConfiguration struct { metav1.TypeMeta // Authorizers is an ordered list of authorizers to // authorize requests against. // This is similar to the --authorization-modes kube-apiserver flag // Must be at least one. Authorizers []AuthorizerConfiguration `json:"authorizers"` }
func (*AuthorizationConfiguration) DeepCopy ¶
func (in *AuthorizationConfiguration) DeepCopy() *AuthorizationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationConfiguration.
func (*AuthorizationConfiguration) DeepCopyInto ¶
func (in *AuthorizationConfiguration) DeepCopyInto(out *AuthorizationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthorizationConfiguration) DeepCopyObject ¶
func (in *AuthorizationConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthorizerConfiguration ¶
type AuthorizerConfiguration struct { // Type refers to the type of the authorizer // "Webhook" is supported in the generic API server // Other API servers may support additional authorizer // types like Node, RBAC, ABAC, etc. Type string `json:"type"` // Name used to describe the webhook // This is explicitly used in monitoring machinery for metrics // Note: Names must be DNS1123 labels like `myauthorizername` or // subdomains like `myauthorizer.example.domain` // Required, with no default Name string `json:"name"` // Webhook defines the configuration for a Webhook authorizer // Must be defined when Type=Webhook // Must not be defined when Type!=Webhook Webhook *WebhookConfiguration `json:"webhook,omitempty"` }
func (*AuthorizerConfiguration) DeepCopy ¶
func (in *AuthorizerConfiguration) DeepCopy() *AuthorizerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfiguration.
func (*AuthorizerConfiguration) DeepCopyInto ¶
func (in *AuthorizerConfiguration) DeepCopyInto(out *AuthorizerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizerType ¶
type AuthorizerType string
type ClaimMappings ¶
type ClaimMappings struct { // username represents an option for the username attribute. // The claim's value must be a singular string. // Same as the --oidc-username-claim and --oidc-username-prefix flags. // If username.expression is set, the expression must produce a string value. // If username.expression uses 'claims.email', then 'claims.email_verified' must be used in // username.expression or extra[*].valueExpression or claimValidationRules[*].expression. // An example claim validation rule expression that matches the validation automatically // applied when username.claim is set to 'email' is 'claims.?email_verified.orValue(true) == true'. By explicitly comparing // the value to true, we let type-checking see the result will be a boolean, and to make sure a non-boolean email_verified // claim will be caught at runtime. // // In the flag based approach, the --oidc-username-claim and --oidc-username-prefix are optional. If --oidc-username-claim is not set, // the default value is "sub". For the authentication config, there is no defaulting for claim or prefix. The claim and prefix must be set explicitly. // For claim, if --oidc-username-claim was not set with legacy flag approach, configure username.claim="sub" in the authentication config. // For prefix: // (1) --oidc-username-prefix="-", no prefix was added to the username. For the same behavior using authentication config, // set username.prefix="" // (2) --oidc-username-prefix="" and --oidc-username-claim != "email", prefix was "<value of --oidc-issuer-url>#". For the same // behavior using authentication config, set username.prefix="<value of issuer.url>#" // (3) --oidc-username-prefix="<value>". For the same behavior using authentication config, set username.prefix="<value>" // +required Username PrefixedClaimOrExpression `json:"username"` // groups represents an option for the groups attribute. // The claim's value must be a string or string array claim. // If groups.claim is set, the prefix must be specified (and can be the empty string). // If groups.expression is set, the expression must produce a string or string array value. // "", [], and null values are treated as the group mapping not being present. // +optional Groups PrefixedClaimOrExpression `json:"groups,omitempty"` // uid represents an option for the uid attribute. // Claim must be a singular string claim. // If uid.expression is set, the expression must produce a string value. // +optional UID ClaimOrExpression `json:"uid"` // extra represents an option for the extra attribute. // expression must produce a string or string array value. // If the value is empty, the extra mapping will not be present. // // hard-coded extra key/value // - key: "foo" // valueExpression: "'bar'" // This will result in an extra attribute - foo: ["bar"] // // hard-coded key, value copying claim value // - key: "foo" // valueExpression: "claims.some_claim" // This will result in an extra attribute - foo: [value of some_claim] // // hard-coded key, value derived from claim value // - key: "admin" // valueExpression: '(has(claims.is_admin) && claims.is_admin) ? "true":""' // This will result in: // - if is_admin claim is present and true, extra attribute - admin: ["true"] // - if is_admin claim is present and false or is_admin claim is not present, no extra attribute will be added // // +optional Extra []ExtraMapping `json:"extra,omitempty"` }
ClaimMappings provides the configuration for claim mapping
func (*ClaimMappings) DeepCopy ¶
func (in *ClaimMappings) DeepCopy() *ClaimMappings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMappings.
func (*ClaimMappings) DeepCopyInto ¶
func (in *ClaimMappings) DeepCopyInto(out *ClaimMappings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClaimOrExpression ¶
type ClaimOrExpression struct { // claim is the JWT claim to use. // Either claim or expression must be set. // Mutually exclusive with expression. // +optional Claim string `json:"claim,omitempty"` // expression represents the expression which will be evaluated by CEL. // // CEL expressions have access to the contents of the token claims, organized into CEL variable: // - 'claims' is a map of claim names to claim values. // For example, a variable named 'sub' can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'. // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Mutually exclusive with claim. // +optional Expression string `json:"expression,omitempty"` }
ClaimOrExpression provides the configuration for a single claim or expression.
func (*ClaimOrExpression) DeepCopy ¶
func (in *ClaimOrExpression) DeepCopy() *ClaimOrExpression
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimOrExpression.
func (*ClaimOrExpression) DeepCopyInto ¶
func (in *ClaimOrExpression) DeepCopyInto(out *ClaimOrExpression)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClaimValidationRule ¶
type ClaimValidationRule struct { // claim is the name of a required claim. // Same as --oidc-required-claim flag. // Only string claim keys are supported. // Mutually exclusive with expression and message. // +optional Claim string `json:"claim,omitempty"` // requiredValue is the value of a required claim. // Same as --oidc-required-claim flag. // Only string claim values are supported. // If claim is set and requiredValue is not set, the claim must be present with a value set to the empty string. // Mutually exclusive with expression and message. // +optional RequiredValue string `json:"requiredValue,omitempty"` // expression represents the expression which will be evaluated by CEL. // Must produce a boolean. // // CEL expressions have access to the contents of the token claims, organized into CEL variable: // - 'claims' is a map of claim names to claim values. // For example, a variable named 'sub' can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'. // Must return true for the validation to pass. // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Mutually exclusive with claim and requiredValue. // +optional Expression string `json:"expression,omitempty"` // message customizes the returned error message when expression returns false. // message is a literal string. // Mutually exclusive with claim and requiredValue. // +optional Message string `json:"message,omitempty"` }
ClaimValidationRule provides the configuration for a single claim validation rule.
func (*ClaimValidationRule) DeepCopy ¶
func (in *ClaimValidationRule) DeepCopy() *ClaimValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimValidationRule.
func (*ClaimValidationRule) DeepCopyInto ¶
func (in *ClaimValidationRule) DeepCopyInto(out *ClaimValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { metav1.TypeMeta // resources is a list containing resources, and their corresponding encryption providers. Resources []ResourceConfiguration `json:"resources"` }
EncryptionConfiguration stores the complete configuration for encryption providers. It also allows the use of wildcards to specify the resources that should be encrypted. Use '*.<group>' to encrypt all resources within a group or '*.*' to encrypt all resources. '*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all resources, even custom resources that are added after API server start. Use of wildcards that overlap within the same resource list or across multiple entries are not allowed since part of the configuration would be ineffective. Resource lists are processed in order, with earlier lists taking precedence.
Example:
kind: EncryptionConfiguration apiVersion: apiserver.config.k8s.io/v1 resources: - resources: - events providers: - identity: {} # do not encrypt events even though *.* is specified below - resources: - secrets - configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3 secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw==
func (*EncryptionConfiguration) DeepCopy ¶
func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration.
func (*EncryptionConfiguration) DeepCopyInto ¶
func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EncryptionConfiguration) DeepCopyObject ¶
func (in *EncryptionConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtraMapping ¶
type ExtraMapping struct { // key is a string to use as the extra attribute key. // key must be a domain-prefix path (e.g. example.org/foo). All characters before the first "/" must be a valid // subdomain as defined by RFC 1123. All characters trailing the first "/" must // be valid HTTP Path characters as defined by RFC 3986. // key must be lowercase. // Required to be unique. // +required Key string `json:"key"` // valueExpression is a CEL expression to extract extra attribute value. // valueExpression must produce a string or string array value. // "", [], and null values are treated as the extra mapping not being present. // Empty string values contained within a string array are filtered out. // // CEL expressions have access to the contents of the token claims, organized into CEL variable: // - 'claims' is a map of claim names to claim values. // For example, a variable named 'sub' can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'. // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // +required ValueExpression string `json:"valueExpression"` }
ExtraMapping provides the configuration for a single extra mapping.
func (*ExtraMapping) DeepCopy ¶
func (in *ExtraMapping) DeepCopy() *ExtraMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraMapping.
func (*ExtraMapping) DeepCopyInto ¶
func (in *ExtraMapping) DeepCopyInto(out *ExtraMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityConfiguration ¶
type IdentityConfiguration struct{}
IdentityConfiguration is an empty struct to allow identity transformer in provider configuration.
func (*IdentityConfiguration) DeepCopy ¶
func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityConfiguration.
func (*IdentityConfiguration) DeepCopyInto ¶
func (in *IdentityConfiguration) DeepCopyInto(out *IdentityConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Issuer ¶
type Issuer struct { // url points to the issuer URL in a format https://url or https://url/path. // This must match the "iss" claim in the presented JWT, and the issuer returned from discovery. // Same value as the --oidc-issuer-url flag. // Discovery information is fetched from "{url}/.well-known/openid-configuration" unless overridden by discoveryURL. // Required to be unique across all JWT authenticators. // Note that egress selection configuration is not used for this network connection. // +required URL string `json:"url"` // discoveryURL, if specified, overrides the URL used to fetch discovery // information instead of using "{url}/.well-known/openid-configuration". // The exact value specified is used, so "/.well-known/openid-configuration" // must be included in discoveryURL if needed. // // The "issuer" field in the fetched discovery information must match the "issuer.url" field // in the AuthenticationConfiguration and will be used to validate the "iss" claim in the presented JWT. // This is for scenarios where the well-known and jwks endpoints are hosted at a different // location than the issuer (such as locally in the cluster). // // Example: // A discovery url that is exposed using kubernetes service 'oidc' in namespace 'oidc-namespace' // and discovery information is available at '/.well-known/openid-configuration'. // discoveryURL: "https://oidc.oidc-namespace/.well-known/openid-configuration" // certificateAuthority is used to verify the TLS connection and the hostname on the leaf certificate // must be set to 'oidc.oidc-namespace'. // // curl https://oidc.oidc-namespace/.well-known/openid-configuration (.discoveryURL field) // { // issuer: "https://oidc.example.com" (.url field) // } // // discoveryURL must be different from url. // Required to be unique across all JWT authenticators. // Note that egress selection configuration is not used for this network connection. // +optional DiscoveryURL *string `json:"discoveryURL,omitempty"` // certificateAuthority contains PEM-encoded certificate authority certificates // used to validate the connection when fetching discovery information. // If unset, the system verifier is used. // Same value as the content of the file referenced by the --oidc-ca-file flag. // +optional CertificateAuthority string `json:"certificateAuthority,omitempty"` // audiences is the set of acceptable audiences the JWT must be issued to. // At least one of the entries must match the "aud" claim in presented JWTs. // Same value as the --oidc-client-id flag (though this field supports an array). // Required to be non-empty. // +required Audiences []string `json:"audiences"` // audienceMatchPolicy defines how the "audiences" field is used to match the "aud" claim in the presented JWT. // Allowed values are: // 1. "MatchAny" when multiple audiences are specified and // 2. empty (or unset) or "MatchAny" when a single audience is specified. // // - MatchAny: the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field. // For example, if "audiences" is ["foo", "bar"], the "aud" claim in the presented JWT must contain either "foo" or "bar" (and may contain both). // // - "": The match policy can be empty (or unset) when a single audience is specified in the "audiences" field. The "aud" claim in the presented JWT must contain the single audience (and may contain others). // // For more nuanced audience validation, use claimValidationRules. // example: claimValidationRule[].expression: 'sets.equivalent(claims.aud, ["bar", "foo", "baz"])' to require an exact match. // +optional AudienceMatchPolicy AudienceMatchPolicyType `json:"audienceMatchPolicy,omitempty"` }
Issuer provides the configuration for an external provider's specific settings.
func (*Issuer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Issuer.
func (*Issuer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JWTAuthenticator ¶
type JWTAuthenticator struct { // issuer contains the basic OIDC provider connection options. // +required Issuer Issuer `json:"issuer"` // claimValidationRules are rules that are applied to validate token claims to authenticate users. // +optional ClaimValidationRules []ClaimValidationRule `json:"claimValidationRules,omitempty"` // claimMappings points claims of a token to be treated as user attributes. // +required ClaimMappings ClaimMappings `json:"claimMappings"` // userValidationRules are rules that are applied to final user before completing authentication. // These allow invariants to be applied to incoming identities such as preventing the // use of the system: prefix that is commonly used by Kubernetes components. // The validation rules are logically ANDed together and must all return true for the validation to pass. // +optional UserValidationRules []UserValidationRule `json:"userValidationRules,omitempty"` }
JWTAuthenticator provides the configuration for a single JWT authenticator.
func (*JWTAuthenticator) DeepCopy ¶
func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthenticator.
func (*JWTAuthenticator) DeepCopyInto ¶
func (in *JWTAuthenticator) DeepCopyInto(out *JWTAuthenticator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSConfiguration ¶
type KMSConfiguration struct { // apiVersion of KeyManagementService // +optional APIVersion string `json:"apiVersion"` // name is the name of the KMS plugin to be used. Name string `json:"name"` // cachesize is the maximum number of secrets which are cached in memory. The default value is 1000. // Set to a negative value to disable caching. This field is only allowed for KMS v1 providers. // +optional CacheSize *int32 `json:"cachesize,omitempty"` // endpoint is the gRPC server listening address, for example "unix:///var/run/kms-provider.sock". Endpoint string `json:"endpoint"` // timeout for gRPC calls to kms-plugin (ex. 5s). The default is 3 seconds. // +optional Timeout *metav1.Duration `json:"timeout,omitempty"` }
KMSConfiguration contains the name, cache size and path to configuration file for a KMS based envelope transformer.
func (*KMSConfiguration) DeepCopy ¶
func (in *KMSConfiguration) DeepCopy() *KMSConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfiguration.
func (*KMSConfiguration) DeepCopyInto ¶
func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Key ¶
type Key struct { // name is the name of the key to be used while storing data to disk. Name string `json:"name"` // secret is the actual key, encoded in base64. Secret string `json:"secret"` }
Key contains name and secret of the provided key for a transformer.
func (*Key) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Key) String ¶
String implements Stringer interface in a log safe way.
type PrefixedClaimOrExpression ¶
type PrefixedClaimOrExpression struct { // claim is the JWT claim to use. // Mutually exclusive with expression. // +optional Claim string `json:"claim,omitempty"` // prefix is prepended to claim's value to prevent clashes with existing names. // prefix needs to be set if claim is set and can be the empty string. // Mutually exclusive with expression. // +optional Prefix *string `json:"prefix,omitempty"` // expression represents the expression which will be evaluated by CEL. // // CEL expressions have access to the contents of the token claims, organized into CEL variable: // - 'claims' is a map of claim names to claim values. // For example, a variable named 'sub' can be accessed as 'claims.sub'. // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'. // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // Mutually exclusive with claim and prefix. // +optional Expression string `json:"expression,omitempty"` }
PrefixedClaimOrExpression provides the configuration for a single prefixed claim or expression.
func (*PrefixedClaimOrExpression) DeepCopy ¶
func (in *PrefixedClaimOrExpression) DeepCopy() *PrefixedClaimOrExpression
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixedClaimOrExpression.
func (*PrefixedClaimOrExpression) DeepCopyInto ¶
func (in *PrefixedClaimOrExpression) DeepCopyInto(out *PrefixedClaimOrExpression)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfiguration ¶
type ProviderConfiguration struct { // aesgcm is the configuration for the AES-GCM transformer. AESGCM *AESConfiguration `json:"aesgcm,omitempty"` // aescbc is the configuration for the AES-CBC transformer. AESCBC *AESConfiguration `json:"aescbc,omitempty"` // secretbox is the configuration for the Secretbox based transformer. Secretbox *SecretboxConfiguration `json:"secretbox,omitempty"` // identity is the (empty) configuration for the identity transformer. Identity *IdentityConfiguration `json:"identity,omitempty"` // kms contains the name, cache size and path to configuration file for a KMS based envelope transformer. KMS *KMSConfiguration `json:"kms,omitempty"` }
ProviderConfiguration stores the provided configuration for an encryption provider.
func (*ProviderConfiguration) DeepCopy ¶
func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfiguration.
func (*ProviderConfiguration) DeepCopyInto ¶
func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceConfiguration ¶
type ResourceConfiguration struct { // resources is a list of kubernetes resources which have to be encrypted. The resource names are derived from `resource` or `resource.group` of the group/version/resource. // eg: pandas.awesome.bears.example is a custom resource with 'group': awesome.bears.example, 'resource': pandas. // Use '*.*' to encrypt all resources and '*.<group>' to encrypt all resources in a specific group. // eg: '*.awesome.bears.example' will encrypt all resources in the group 'awesome.bears.example'. // eg: '*.' will encrypt all resources in the core group (such as pods, configmaps, etc). Resources []string `json:"resources"` // providers is a list of transformers to be used for reading and writing the resources to disk. // eg: aesgcm, aescbc, secretbox, identity, kms. Providers []ProviderConfiguration `json:"providers"` }
ResourceConfiguration stores per resource configuration.
func (*ResourceConfiguration) DeepCopy ¶
func (in *ResourceConfiguration) DeepCopy() *ResourceConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConfiguration.
func (*ResourceConfiguration) DeepCopyInto ¶
func (in *ResourceConfiguration) DeepCopyInto(out *ResourceConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretboxConfiguration ¶
type SecretboxConfiguration struct { // keys is a list of keys to be used for creating the Secretbox transformer. // Each key has to be 32 bytes long. Keys []Key `json:"keys"` }
SecretboxConfiguration contains the API configuration for an Secretbox transformer.
func (*SecretboxConfiguration) DeepCopy ¶
func (in *SecretboxConfiguration) DeepCopy() *SecretboxConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretboxConfiguration.
func (*SecretboxConfiguration) DeepCopyInto ¶
func (in *SecretboxConfiguration) DeepCopyInto(out *SecretboxConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserValidationRule ¶
type UserValidationRule struct { // expression represents the expression which will be evaluated by CEL. // Must return true for the validation to pass. // // CEL expressions have access to the contents of UserInfo, organized into CEL variable: // - 'user' - authentication.k8s.io/v1, Kind=UserInfo object // Refer to https://github.com/kubernetes/api/blob/release-1.28/authentication/v1/types.go#L105-L122 for the definition. // API documentation: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#userinfo-v1-authentication-k8s-io // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ // // +required Expression string `json:"expression"` // message customizes the returned error message when rule returns false. // message is a literal string. // +optional Message string `json:"message,omitempty"` }
UserValidationRule provides the configuration for a single user info validation rule.
func (*UserValidationRule) DeepCopy ¶
func (in *UserValidationRule) DeepCopy() *UserValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserValidationRule.
func (*UserValidationRule) DeepCopyInto ¶
func (in *UserValidationRule) DeepCopyInto(out *UserValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConfiguration ¶
type WebhookConfiguration struct { // The duration to cache 'authorized' responses from the webhook // authorizer. // Same as setting `--authorization-webhook-cache-authorized-ttl` flag // Default: 5m0s AuthorizedTTL metav1.Duration `json:"authorizedTTL"` // CacheAuthorizedRequests specifies whether authorized requests should be cached. // If set to true, the TTL for cached decisions can be configured via the // AuthorizedTTL field. // Default: true // +optional CacheAuthorizedRequests *bool `json:"cacheAuthorizedRequests,omitempty"` // The duration to cache 'unauthorized' responses from the webhook // authorizer. // Same as setting `--authorization-webhook-cache-unauthorized-ttl` flag // Default: 30s metav1.Duration `json:"unauthorizedTTL"` // CacheUnauthorizedRequests specifies whether unauthorized requests should be cached. // If set to true, the TTL for cached decisions can be configured via the // UnauthorizedTTL field. // Default: true // +optional *bool `json:"cacheUnauthorizedRequests,omitempty"` // Timeout for the webhook request // Maximum allowed value is 30s. // Required, no default value. Timeout metav1.Duration `json:"timeout"` // The API version of the authorization.k8s.io SubjectAccessReview to // send to and expect from the webhook. // Same as setting `--authorization-webhook-version` flag // Valid values: v1beta1, v1 // Required, no default value SubjectAccessReviewVersion string `json:"subjectAccessReviewVersion"` // MatchConditionSubjectAccessReviewVersion specifies the SubjectAccessReview // version the CEL expressions are evaluated against // Valid values: v1 // Required, no default value MatchConditionSubjectAccessReviewVersion string `json:"matchConditionSubjectAccessReviewVersion"` // Controls the authorization decision when a webhook request fails to // complete or returns a malformed response or errors evaluating // matchConditions. // Valid values: // - NoOpinion: continue to subsequent authorizers to see if one of // them allows the request // - Deny: reject the request without consulting subsequent authorizers // Required, with no default. FailurePolicy string `json:"failurePolicy"` // ConnectionInfo defines how we talk to the webhook ConnectionInfo WebhookConnectionInfo `json:"connectionInfo"` // matchConditions is a list of conditions that must be met for a request to be sent to this // webhook. An empty list of matchConditions matches all requests. // There are a maximum of 64 match conditions allowed. // // The exact matching logic is (in order): // 1. If at least one matchCondition evaluates to FALSE, then the webhook is skipped. // 2. If ALL matchConditions evaluate to TRUE, then the webhook is called. // 3. If at least one matchCondition evaluates to an error (but none are FALSE): // - If failurePolicy=Deny, then the webhook rejects the request // - If failurePolicy=NoOpinion, then the error is ignored and the webhook is skipped MatchConditions []WebhookMatchCondition `json:"matchConditions"` }
func (*WebhookConfiguration) DeepCopy ¶
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration.
func (*WebhookConfiguration) DeepCopyInto ¶
func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConnectionInfo ¶
type WebhookConnectionInfo struct { // Controls how the webhook should communicate with the server. // Valid values: // - KubeConfigFile: use the file specified in kubeConfigFile to locate the // server. // - InClusterConfig: use the in-cluster configuration to call the // SubjectAccessReview API hosted by kube-apiserver. This mode is not // allowed for kube-apiserver. Type string `json:"type"` // Path to KubeConfigFile for connection info // Required, if connectionInfo.Type is KubeConfig KubeConfigFile *string `json:"kubeConfigFile"` }
func (*WebhookConnectionInfo) DeepCopy ¶
func (in *WebhookConnectionInfo) DeepCopy() *WebhookConnectionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConnectionInfo.
func (*WebhookConnectionInfo) DeepCopyInto ¶
func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookMatchCondition ¶
type WebhookMatchCondition struct { // expression represents the expression which will be evaluated by CEL. Must evaluate to bool. // CEL expressions have access to the contents of the SubjectAccessReview in v1 version. // If version specified by subjectAccessReviewVersion in the request variable is v1beta1, // the contents would be converted to the v1 version before evaluating the CEL expression. // // - 'resourceAttributes' describes information for a resource access request and is unset for non-resource requests. e.g. has(request.resourceAttributes) && request.resourceAttributes.namespace == 'default' // - 'nonResourceAttributes' describes information for a non-resource access request and is unset for resource requests. e.g. has(request.nonResourceAttributes) && request.nonResourceAttributes.path == '/healthz'. // - 'user' is the user to test for. e.g. request.user == 'alice' // - 'groups' is the groups to test for. e.g. ('group1' in request.groups) // - 'extra' corresponds to the user.Info.GetExtra() method from the authenticator. // - 'uid' is the information about the requesting user. e.g. request.uid == '1' // // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/ Expression string `json:"expression"` }
func (*WebhookMatchCondition) DeepCopy ¶
func (in *WebhookMatchCondition) DeepCopy() *WebhookMatchCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookMatchCondition.
func (*WebhookMatchCondition) DeepCopyInto ¶
func (in *WebhookMatchCondition) DeepCopyInto(out *WebhookMatchCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
defaults.go doc.go register.go types.go types_encryption.go zz_generated.conversion.go zz_generated.deepcopy.go zz_generated.defaults.go
- Version
- v0.34.0-alpha.2
- Published
- Jun 26, 2025
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 9 hours ago –
Tools for package owners.