Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the secrets-store.csi.x-k8s.io v1 API group +kubebuilder:object:generate=true +groupName=secrets-store.csi.x-k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secrets-store.csi.x-k8s.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SecretProvider ¶
type SecretProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretProviderSpec `json:"spec,omitempty"` Status SecretProviderStatus `json:"status,omitempty"` }
SecretProvider is the Schema for the secretproviders API
func (*SecretProvider) DeepCopy ¶
func (in *SecretProvider) DeepCopy() *SecretProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProvider.
func (*SecretProvider) DeepCopyInto ¶
func (in *SecretProvider) DeepCopyInto(out *SecretProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretProvider) DeepCopyObject ¶
func (in *SecretProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretProviderList ¶
type SecretProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretProvider `json:"items"` }
SecretProviderList contains a list of SecretProvider
func (*SecretProviderList) DeepCopy ¶
func (in *SecretProviderList) DeepCopy() *SecretProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderList.
func (*SecretProviderList) DeepCopyInto ¶
func (in *SecretProviderList) DeepCopyInto(out *SecretProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretProviderList) DeepCopyObject ¶
func (in *SecretProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretProviderSpec ¶
type SecretProviderSpec struct { // ServiceAccountName is the name of the service account that will be used to // access the secret store. ServiceAccountName string `json:"serviceAccountName,omitempty"` // SecretProviderClassName is the name of the secret provider class that will // be used to access the secret store. SecretProviderClassName string `json:"secretProviderClassName,omitempty"` // RotationPollInterval is the interval at which the controller will poll the // provider to get the latest secret version. // Defaults to 2 minute. // +optional RotationPollInterval *metav1.Duration `json:"rotationPollInterval,omitempty"` // TokenRequests is a list of token requests. TokenRequests []TokenRequest `json:"tokenRequests,omitempty"` }
SecretProviderSpec defines the desired state of SecretProvider
func (*SecretProviderSpec) DeepCopy ¶
func (in *SecretProviderSpec) DeepCopy() *SecretProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderSpec.
func (*SecretProviderSpec) DeepCopyInto ¶
func (in *SecretProviderSpec) DeepCopyInto(out *SecretProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretProviderStatus ¶
type SecretProviderStatus struct { }
SecretProviderStatus defines the observed state of SecretProvider
func (*SecretProviderStatus) DeepCopy ¶
func (in *SecretProviderStatus) DeepCopy() *SecretProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProviderStatus.
func (*SecretProviderStatus) DeepCopyInto ¶
func (in *SecretProviderStatus) DeepCopyInto(out *SecretProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenRequest ¶
type TokenRequest struct { // Audience is the intended audience of the token in "TokenRequestSpec". // It will default to the audiences of kube apiserver. // Audience string `json:"audience" protobuf:"bytes,1,opt,name=audience"` // ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec". // // +optional ExpirationSeconds *int64 `json:"expirationSeconds,omitempty" protobuf:"varint,2,opt,name=expirationSeconds"` }
TokenRequest contains parameters of a service account token.
func (*TokenRequest) DeepCopy ¶
func (in *TokenRequest) DeepCopy() *TokenRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
func (*TokenRequest) DeepCopyInto ¶
func (in *TokenRequest) DeepCopyInto(out *TokenRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.