Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the alibabacloud v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=alibabacloud.com
Package alibabacloud contains alibabacloud API versions.
This file ensures Go source parsers acknowledge the alibabacloud package and any child packages. It can be removed if any other Go source files are added to this package.
Index ¶
- Constants
- Variables
- type ClusterExternalSecret
- type ClusterExternalSecretCondition
- type ClusterExternalSecretConditionType
- type ClusterExternalSecretList
- type ClusterExternalSecretNamespaceFailure
- type ClusterExternalSecretSpec
- type ClusterExternalSecretStatus
- type ClusterExternalSecretStatusCondition
- type ClusterSecretStore
- type ClusterSecretStoreCondition
- type ClusterSecretStoreList
- type ClusterSecretStoreSpec
- type ClusterSecretStoreStatus
- type DataProcess
- type DataSource
- type DataSyncResult
- type ExternalSecret
- type ExternalSecretList
- type ExternalSecretMetadata
- type ExternalSecretSpec
- type ExternalSecretStatus
- type ExternalSecretTarget
- type ExternalSecretTemplate
- type ExternalSecretTemplateMetadata
- type JMESPathObject
- type KMSAuth
- type KMSProvider
- type OOSAuth
- type OOSProvider
- type ReplaceRule
- type SecretRef
- type SecretStore
- type SecretStoreCapabilities
- type SecretStoreConditionType
- type SecretStoreList
- type SecretStoreRef
- type SecretStoreSpec
- type SecretStoreStatus
- type SecretStoreStatusCondition
- type ServiceAccountRef
- type TemplateFrom
- type TemplateMergePolicy
- type TemplateRef
- type TemplateRefItem
- type TemplateScope
- type TemplateTarget
Constants ¶
const ( // SecretStoreReady indicates that the store is ready and able to serve requests. SecretStoreReady SecretStoreConditionType = "Ready" ReasonInvalidStore = "InvalidStoreConfiguration" ReasonInvalidProviderConfig = "InvalidProviderConfig" ReasonValidationFailed = "ValidationFailed" ReasonValidationUnknown = "ValidationUnknown" ReasonStoreValid = "Valid" ReasonClientCreationFailed = "ClientCreationFailed" StoreUnmaintained = "StoreUnmaintained" )
These are valid conditions of a secret store.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "alibabacloud.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ClusterExternalSecret ¶ added in v0.6.2
type ClusterExternalSecret struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterExternalSecretSpec `json:"spec,omitempty"`
Status ClusterExternalSecretStatus `json:"status,omitempty"`
}
ClusterExternalSecret is the Schema for the clusterexternalsecrets API. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:scope=Cluster,categories={external-secrets},shortName=ces +kubebuilder:subresource:status +kubebuilder:metadata:labels="external-secrets.io/component=controller" +kubebuilder:printcolumn:name="Store",type=string,JSONPath=`.spec.externalSecretSpec.secretStoreRef.name` +kubebuilder:printcolumn:name="Refresh Interval",type=string,JSONPath=`.spec.rotationInterval` +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
func (*ClusterExternalSecret) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecret) DeepCopy() *ClusterExternalSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecret.
func (*ClusterExternalSecret) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecret) DeepCopyInto(out *ClusterExternalSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterExternalSecret) DeepCopyObject ¶ added in v0.6.2
func (in *ClusterExternalSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterExternalSecretCondition ¶ added in v0.6.2
type ClusterExternalSecretCondition struct {
// Choose namespace using a labelSelector
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
// Choose namespaces by name
// +optional
// +kubebuilder:validation:items:MinLength:=1
// +kubebuilder:validation:items:MaxLength:=63
// +kubebuilder:validation:items:Pattern:=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
Namespaces []string `json:"namespaces,omitempty"`
// Choose namespaces by using regex matching
// +optional
NamespaceRegexes []string `json:"namespaceRegexes,omitempty"`
}
ClusterExternalSecretCondition describes a condition by which to choose namespaces to process ExternalSecrets in for a ClusterExternalSecret instance.
func (*ClusterExternalSecretCondition) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretCondition) DeepCopy() *ClusterExternalSecretCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretCondition.
func (*ClusterExternalSecretCondition) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretCondition) DeepCopyInto(out *ClusterExternalSecretCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalSecretConditionType ¶ added in v0.6.2
type ClusterExternalSecretConditionType string
ClusterExternalSecretConditionType defines a value type for ClusterExternalSecret conditions.
const ClusterExternalSecretReady ClusterExternalSecretConditionType = "Ready"
ClusterExternalSecretReady is a ClusterExternalSecretConditionType set when the ClusterExternalSecret is ready.
type ClusterExternalSecretList ¶ added in v0.6.2
type ClusterExternalSecretList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterExternalSecret `json:"items"`
}
ClusterExternalSecretList contains a list of ClusterExternalSecret.
func (*ClusterExternalSecretList) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretList) DeepCopy() *ClusterExternalSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretList.
func (*ClusterExternalSecretList) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretList) DeepCopyInto(out *ClusterExternalSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterExternalSecretList) DeepCopyObject ¶ added in v0.6.2
func (in *ClusterExternalSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterExternalSecretNamespaceFailure ¶ added in v0.6.2
type ClusterExternalSecretNamespaceFailure struct {
// Namespace is the namespace that failed when trying to apply an ExternalSecret
Namespace string `json:"namespace"`
// Reason is why the ExternalSecret failed to apply to the namespace
// +optional
Reason string `json:"reason,omitempty"`
}
ClusterExternalSecretNamespaceFailure represents a failed namespace deployment and it's reason.
func (*ClusterExternalSecretNamespaceFailure) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretNamespaceFailure) DeepCopy() *ClusterExternalSecretNamespaceFailure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretNamespaceFailure.
func (*ClusterExternalSecretNamespaceFailure) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretNamespaceFailure) DeepCopyInto(out *ClusterExternalSecretNamespaceFailure)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalSecretSpec ¶ added in v0.6.2
type ClusterExternalSecretSpec struct {
// The spec for the ExternalSecrets to be created
ExternalSecretSpec ExternalSecretSpec `json:"externalSecretSpec"`
// The name of the external secrets to be created.
// Defaults to the name of the ClusterExternalSecret
// +optional
// +kubebuilder:validation:MinLength:=1
// +kubebuilder:validation:MaxLength:=253
// +kubebuilder:validation:Pattern:=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
ExternalSecretName string `json:"externalSecretName,omitempty"`
// The metadata of the external secrets to be created
// +optional
ExternalSecretMetadata ExternalSecretMetadata `json:"externalSecretMetadata,omitempty"`
// A list of labels to select by to find the Namespaces to create the ExternalSecrets in. The selectors are ORed.
// +optional
// Deprecated : NamespaceSelectors field is deprecated, use Conditions field
NamespaceSelectors []*metav1.LabelSelector `json:"namespaceSelectors,omitempty"`
// A list of conditions to select by to find the Namespaces to create the ExternalSecrets in. The conditions are ORed.
// +optional
Conditions []ClusterExternalSecretCondition `json:"conditions,omitempty"`
// The time in which the controller should reconcile its objects and recheck namespaces for labels.
RotationInterval *metav1.Duration `json:"rotationInterval,omitempty"`
}
ClusterExternalSecretSpec defines the desired state of ClusterExternalSecret.
func (*ClusterExternalSecretSpec) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretSpec) DeepCopy() *ClusterExternalSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretSpec.
func (*ClusterExternalSecretSpec) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretSpec) DeepCopyInto(out *ClusterExternalSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalSecretStatus ¶ added in v0.6.2
type ClusterExternalSecretStatus struct {
// ExternalSecretName is the name of the ExternalSecrets created by the ClusterExternalSecret
ExternalSecretName string `json:"externalSecretName,omitempty"`
// Failed namespaces are the namespaces that failed to apply an ExternalSecret
// +optional
FailedNamespaces []ClusterExternalSecretNamespaceFailure `json:"failedNamespaces,omitempty"`
// ProvisionedNamespaces are the namespaces where the ClusterExternalSecret has secrets
// +optional
ProvisionedNamespaces []string `json:"provisionedNamespaces,omitempty"`
// +optional
Conditions []ClusterExternalSecretStatusCondition `json:"conditions,omitempty"`
}
ClusterExternalSecretStatus defines the observed state of ClusterExternalSecret.
func (*ClusterExternalSecretStatus) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretStatus) DeepCopy() *ClusterExternalSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretStatus.
func (*ClusterExternalSecretStatus) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretStatus) DeepCopyInto(out *ClusterExternalSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalSecretStatusCondition ¶ added in v0.6.2
type ClusterExternalSecretStatusCondition struct {
Type ClusterExternalSecretConditionType `json:"type"`
Status corev1.ConditionStatus `json:"status"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
// +optional
Message string `json:"message,omitempty"`
}
ClusterExternalSecretStatusCondition defines the observed state of a ClusterExternalSecret resource.
func (*ClusterExternalSecretStatusCondition) DeepCopy ¶ added in v0.6.2
func (in *ClusterExternalSecretStatusCondition) DeepCopy() *ClusterExternalSecretStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalSecretStatusCondition.
func (*ClusterExternalSecretStatusCondition) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterExternalSecretStatusCondition) DeepCopyInto(out *ClusterExternalSecretStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSecretStore ¶ added in v0.6.2
type ClusterSecretStore struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterSecretStoreSpec `json:"spec,omitempty"`
Status ClusterSecretStoreStatus `json:"status,omitempty"`
}
ClusterSecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields. +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].reason` +kubebuilder:printcolumn:name="Capabilities",type=string,JSONPath=`.status.capabilities` +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status` +kubebuilder:subresource:status +kubebuilder:metadata:labels="external-secrets.io/component=controller" +kubebuilder:resource:scope=Cluster,categories={external-secrets},shortName=css
func (*ClusterSecretStore) DeepCopy ¶ added in v0.6.2
func (in *ClusterSecretStore) DeepCopy() *ClusterSecretStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStore.
func (*ClusterSecretStore) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterSecretStore) DeepCopyInto(out *ClusterSecretStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretStore) DeepCopyObject ¶ added in v0.6.2
func (in *ClusterSecretStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSecretStoreCondition ¶ added in v0.6.2
type ClusterSecretStoreCondition struct {
// Choose namespace using a labelSelector
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
// Choose namespaces by name
// +optional
// +kubebuilder:validation:items:MinLength:=1
// +kubebuilder:validation:items:MaxLength:=63
// +kubebuilder:validation:items:Pattern:=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
Namespaces []string `json:"namespaces,omitempty"`
// Choose namespaces by using regex matching
// +optional
NamespaceRegexes []string `json:"namespaceRegexes,omitempty"`
}
ClusterSecretStoreCondition describes a condition by which to choose namespaces to process ExternalSecrets in for a ClusterSecretStore instance.
func (*ClusterSecretStoreCondition) DeepCopy ¶ added in v0.6.2
func (in *ClusterSecretStoreCondition) DeepCopy() *ClusterSecretStoreCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStoreCondition.
func (*ClusterSecretStoreCondition) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterSecretStoreCondition) DeepCopyInto(out *ClusterSecretStoreCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSecretStoreList ¶ added in v0.6.2
type ClusterSecretStoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterSecretStore `json:"items"`
}
ClusterSecretStoreList contains a list of ClusterSecretStore resources.
func (*ClusterSecretStoreList) DeepCopy ¶ added in v0.6.2
func (in *ClusterSecretStoreList) DeepCopy() *ClusterSecretStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStoreList.
func (*ClusterSecretStoreList) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterSecretStoreList) DeepCopyInto(out *ClusterSecretStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretStoreList) DeepCopyObject ¶ added in v0.6.2
func (in *ClusterSecretStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSecretStoreSpec ¶ added in v0.6.2
type ClusterSecretStoreSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// maybe support more alibabacloud product
KMS *KMSProvider `json:"KMS,omitempty"`
OOS *OOSProvider `json:"OOS,omitempty"`
// Used to constraint a ClusterSecretStore to specific namespaces. Relevant only to ClusterSecretStore
// +optional
Conditions []ClusterSecretStoreCondition `json:"conditions,omitempty"`
}
ClusterSecretStoreSpec defines the desired state of ClusterSecretStore +kubebuilder:validation:MinProperties=1
func (*ClusterSecretStoreSpec) DeepCopy ¶ added in v0.6.2
func (in *ClusterSecretStoreSpec) DeepCopy() *ClusterSecretStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStoreSpec.
func (*ClusterSecretStoreSpec) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterSecretStoreSpec) DeepCopyInto(out *ClusterSecretStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSecretStoreStatus ¶ added in v0.6.2
type ClusterSecretStoreStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +optional
Conditions []SecretStoreStatusCondition `json:"conditions,omitempty"`
// +optional
Capabilities SecretStoreCapabilities `json:"capabilities,omitempty"`
// ClientGeneration is a monotonic counter bumped every time the Store
// controller successfully rebuilds the backend client and persists the
// status. Consumers (the ExternalSecret reverse-watch predicates and the
// client-freshness guard) use it to detect client rebuilds even when
// metadata.generation is unchanged (e.g. trigger-annotation rotations).
// +optional
ClientGeneration int64 `json:"clientGeneration,omitempty"`
}
ClusterSecretStoreStatus defines the observed state of ClusterSecretStore
func (*ClusterSecretStoreStatus) DeepCopy ¶ added in v0.6.2
func (in *ClusterSecretStoreStatus) DeepCopy() *ClusterSecretStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStoreStatus.
func (*ClusterSecretStoreStatus) DeepCopyInto ¶ added in v0.6.2
func (in *ClusterSecretStoreStatus) DeepCopyInto(out *ClusterSecretStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataProcess ¶ added in v0.5.0
type DataProcess struct {
Extract *DataSource `json:"extract,omitempty"`
// +optional
ReplaceKey []ReplaceRule `json:"replaceRule,omitempty"`
}
func (*DataProcess) DeepCopy ¶ added in v0.5.0
func (in *DataProcess) DeepCopy() *DataProcess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProcess.
func (*DataProcess) DeepCopyInto ¶ added in v0.5.0
func (in *DataProcess) DeepCopyInto(out *DataProcess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSource ¶
type DataSource struct {
SecretStoreRef *SecretStoreRef `json:"secretStoreRef,omitempty"`
Key string `json:"key"`
Name string `json:"name,omitempty"`
VersionStage string `json:"versionStage,omitempty"`
VersionId string `json:"versionId,omitempty"`
//Optional array to specify what json key value pairs to extract from a secret and mount as individual secrets
JMESPath []JMESPathObject `json:"jmesPath,omitempty"`
KmsEndpoint string `json:"kmsEndpoint,omitempty"`
}
func (*DataSource) DeepCopy ¶
func (in *DataSource) DeepCopy() *DataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSource.
func (*DataSource) DeepCopyInto ¶
func (in *DataSource) DeepCopyInto(out *DataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSyncResult ¶ added in v0.6.2
type DataSyncResult struct {
ExternalSecretKey string `json:"ExternalSecretKey,omitempty"`
Status string `json:"status,omitempty"`
Reason string `json:"reason,omitempty"`
SynchronizationTime metav1.Time `json:"synchronizationTime,omitempty"`
}
func (*DataSyncResult) DeepCopy ¶ added in v0.6.2
func (in *DataSyncResult) DeepCopy() *DataSyncResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSyncResult.
func (*DataSyncResult) DeepCopyInto ¶ added in v0.6.2
func (in *DataSyncResult) DeepCopyInto(out *DataSyncResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecret ¶
type ExternalSecret struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ExternalSecretSpec `json:"spec,omitempty"`
Status ExternalSecretStatus `json:"status,omitempty"`
}
ExternalSecret is the Schema for the externalsecrets API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=externalsecrets,scope=Namespaced
func (*ExternalSecret) DeepCopy ¶
func (in *ExternalSecret) DeepCopy() *ExternalSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecret.
func (*ExternalSecret) DeepCopyInto ¶
func (in *ExternalSecret) DeepCopyInto(out *ExternalSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalSecret) DeepCopyObject ¶
func (in *ExternalSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalSecretList ¶
type ExternalSecretList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ExternalSecret `json:"items"`
}
ExternalSecretList contains a list of ExternalSecret
func (*ExternalSecretList) DeepCopy ¶
func (in *ExternalSecretList) DeepCopy() *ExternalSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretList.
func (*ExternalSecretList) DeepCopyInto ¶
func (in *ExternalSecretList) DeepCopyInto(out *ExternalSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalSecretList) DeepCopyObject ¶
func (in *ExternalSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalSecretMetadata ¶ added in v0.6.2
type ExternalSecretMetadata struct {
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
ExternalSecretMetadata defines metadata fields for the ExternalSecret generated by the ClusterExternalSecret.
func (*ExternalSecretMetadata) DeepCopy ¶ added in v0.6.2
func (in *ExternalSecretMetadata) DeepCopy() *ExternalSecretMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretMetadata.
func (*ExternalSecretMetadata) DeepCopyInto ¶ added in v0.6.2
func (in *ExternalSecretMetadata) DeepCopyInto(out *ExternalSecretMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecretSpec ¶
type ExternalSecretSpec struct {
Provider string `json:"provider,omitempty"`
Data []DataSource `json:"data,omitempty"`
DataProcess []DataProcess `json:"dataProcess,omitempty"`
Type string `json:"type,omitempty"`
// Target defines how the secret is created in the cluster
Target *ExternalSecretTarget `json:"target,omitempty"`
// The time in which the controller should reconcile its objects and recheck namespaces for labels.
RotationInterval *metav1.Duration `json:"rotationInterval,omitempty"`
}
ExternalSecretSpec defines the desired state of ExternalSecret +k8s:openapi-gen=true
func (*ExternalSecretSpec) DeepCopy ¶
func (in *ExternalSecretSpec) DeepCopy() *ExternalSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretSpec.
func (*ExternalSecretSpec) DeepCopyInto ¶
func (in *ExternalSecretSpec) DeepCopyInto(out *ExternalSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecretStatus ¶
type ExternalSecretStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
DataSyncResults []DataSyncResult `json:"dataSyncResults,omitempty"`
}
ExternalSecretStatus defines the observed state of ExternalSecret
func (*ExternalSecretStatus) DeepCopy ¶
func (in *ExternalSecretStatus) DeepCopy() *ExternalSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretStatus.
func (*ExternalSecretStatus) DeepCopyInto ¶
func (in *ExternalSecretStatus) DeepCopyInto(out *ExternalSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecretTarget ¶ added in v0.6.2
type ExternalSecretTarget struct {
// Name defines the name of the secret resource to be managed.
// If not set, the name will be auto-generated based on the ExternalSecret name.
// +optional
Name string `json:"name,omitempty"`
// Template defines a template that can be used to generate or transform the secret data
// +optional
Template *ExternalSecretTemplate `json:"template,omitempty"`
}
ExternalSecretTarget defines the target secret
func (*ExternalSecretTarget) DeepCopy ¶ added in v0.6.2
func (in *ExternalSecretTarget) DeepCopy() *ExternalSecretTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTarget.
func (*ExternalSecretTarget) DeepCopyInto ¶ added in v0.6.2
func (in *ExternalSecretTarget) DeepCopyInto(out *ExternalSecretTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecretTemplate ¶ added in v0.6.2
type ExternalSecretTemplate struct {
// Data defines the target secret's data field.
// +optional
Data map[string]string `json:"data,omitempty"`
// TemplateFrom specifies sources for templates.
// +optional
TemplateFrom []TemplateFrom `json:"templateFrom,omitempty"`
// Metadata defines the target secret's metadata fields.
// +optional
Metadata *ExternalSecretTemplateMetadata `json:"metadata,omitempty"`
// Type defines the target secret's type field.
// +optional
Type corev1.SecretType `json:"type,omitempty"`
// MergePolicy defines how template results should be merged with the original data.
// Defaults to "Replace"
// +optional
// +kubebuilder:default="Replace"
MergePolicy TemplateMergePolicy `json:"mergePolicy,omitempty"`
}
ExternalSecretTemplate defines the template for generating secret data
func (*ExternalSecretTemplate) DeepCopy ¶ added in v0.6.2
func (in *ExternalSecretTemplate) DeepCopy() *ExternalSecretTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTemplate.
func (*ExternalSecretTemplate) DeepCopyInto ¶ added in v0.6.2
func (in *ExternalSecretTemplate) DeepCopyInto(out *ExternalSecretTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSecretTemplateMetadata ¶ added in v0.6.2
type ExternalSecretTemplateMetadata struct {
// Annotations to apply to the target secret.
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// Labels to apply to the target secret.
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
ExternalSecretTemplateMetadata defines the metadata for the generated secret
func (*ExternalSecretTemplateMetadata) DeepCopy ¶ added in v0.6.2
func (in *ExternalSecretTemplateMetadata) DeepCopy() *ExternalSecretTemplateMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTemplateMetadata.
func (*ExternalSecretTemplateMetadata) DeepCopyInto ¶ added in v0.6.2
func (in *ExternalSecretTemplateMetadata) DeepCopyInto(out *ExternalSecretTemplateMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JMESPathObject ¶
type JMESPathObject struct {
//JMES path to use for retrieval
Path string `json:"path"`
//File name in which to store the secret in.
ObjectAlias string `json:"objectAlias"`
}
An individual json key value pair to mount
func (*JMESPathObject) DeepCopy ¶ added in v0.5.0
func (in *JMESPathObject) DeepCopy() *JMESPathObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JMESPathObject.
func (*JMESPathObject) DeepCopyInto ¶ added in v0.5.0
func (in *JMESPathObject) DeepCopyInto(out *JMESPathObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSAuth ¶ added in v0.5.0
type KMSAuth struct {
// +optional
AccessKey *SecretRef `json:"accessKey,omitempty"`
// +optional
AccessKeySecret *SecretRef `json:"accessKeySecret,omitempty"`
RAMRoleARN string `json:"ramRoleARN,omitempty"`
RAMRoleSessionName string `json:"ramRoleSessionName,omitempty"`
OIDCProviderARN string `json:"oidcProviderARN,omitempty"`
OIDCTokenFilePath string `json:"oidcTokenFilePath,omitempty"`
RoleSessionExpiration string `json:"roleSessionExpiration,omitempty"`
RemoteRAMRoleARN string `json:"remoteRamRoleARN,omitempty"`
RemoteRAMRoleSessionName string `json:"remoteRamRoleSessionName,omitempty"`
// +optional
ServiceAccountRef *ServiceAccountRef `json:"serviceAccountRef,omitempty"`
}
func (*KMSAuth) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAuth.
func (*KMSAuth) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSProvider ¶ added in v0.5.0
type KMSProvider struct {
// +optional
KMS *KMSAuth `json:"KMSAuth,omitempty"`
}
+kubebuilder:validation:MaxProperties=1
func (*KMSProvider) DeepCopy ¶ added in v0.5.0
func (in *KMSProvider) DeepCopy() *KMSProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSProvider.
func (*KMSProvider) DeepCopyInto ¶ added in v0.5.0
func (in *KMSProvider) DeepCopyInto(out *KMSProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OOSAuth ¶ added in v0.5.5
type OOSAuth struct {
// +optional
AccessKey *SecretRef `json:"accessKey,omitempty"`
// +optional
AccessKeySecret *SecretRef `json:"accessKeySecret,omitempty"`
RAMRoleARN string `json:"ramRoleARN,omitempty"`
RAMRoleSessionName string `json:"ramRoleSessionName,omitempty"`
OIDCProviderARN string `json:"oidcProviderARN,omitempty"`
OIDCTokenFilePath string `json:"oidcTokenFilePath,omitempty"`
RoleSessionExpiration string `json:"roleSessionExpiration,omitempty"`
RemoteRAMRoleARN string `json:"remoteRamRoleARN,omitempty"`
RemoteRAMRoleSessionName string `json:"remoteRamRoleSessionName,omitempty"`
// +optional
ServiceAccountRef *ServiceAccountRef `json:"serviceAccountRef,omitempty"`
}
func (*OOSAuth) DeepCopy ¶ added in v0.5.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOSAuth.
func (*OOSAuth) DeepCopyInto ¶ added in v0.5.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OOSProvider ¶ added in v0.5.5
type OOSProvider struct {
OOS *OOSAuth `json:"OOSAuth,omitempty"`
}
func (*OOSProvider) DeepCopy ¶ added in v0.5.5
func (in *OOSProvider) DeepCopy() *OOSProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OOSProvider.
func (*OOSProvider) DeepCopyInto ¶ added in v0.5.5
func (in *OOSProvider) DeepCopyInto(out *OOSProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplaceRule ¶ added in v0.5.0
func (*ReplaceRule) DeepCopy ¶ added in v0.5.0
func (in *ReplaceRule) DeepCopy() *ReplaceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceRule.
func (*ReplaceRule) DeepCopyInto ¶ added in v0.5.0
func (in *ReplaceRule) DeepCopyInto(out *ReplaceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶ added in v0.5.0
type SecretRef struct {
Name string `json:"name"`
// +optional
// Namespace of the Secret.
// For SecretStore, this field is ignored and the namespace of the SecretStore is used.
// For ClusterSecretStore, this field is required to specify the namespace where the Secret exists.
Namespace string `json:"namespace,omitempty"`
Key string `json:"key"`
}
SecretRef references a Secret resource. For SecretStore, this Secret must be in the same namespace as the SecretStore. For ClusterSecretStore, the Namespace field specifies which namespace the Secret exists in.
func (*SecretRef) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStore ¶ added in v0.5.0
type SecretStore struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SecretStoreSpec `json:"spec,omitempty"`
Status SecretStoreStatus `json:"status,omitempty"`
}
SecretStore is the Schema for the secretstores API
func (*SecretStore) DeepCopy ¶ added in v0.5.0
func (in *SecretStore) DeepCopy() *SecretStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStore.
func (*SecretStore) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStore) DeepCopyInto(out *SecretStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStore) DeepCopyObject ¶ added in v0.5.0
func (in *SecretStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretStoreCapabilities ¶ added in v0.6.2
type SecretStoreCapabilities string
SecretStoreCapabilities defines the possible operations a SecretStore can do.
const ( // SecretStoreReadOnly indicates that the store can only read secrets. SecretStoreReadOnly SecretStoreCapabilities = "ReadOnly" // SecretStoreWriteOnly indicates that the store can only write secrets. SecretStoreWriteOnly SecretStoreCapabilities = "WriteOnly" // SecretStoreReadWrite indicates that the store can both read and write secrets. SecretStoreReadWrite SecretStoreCapabilities = "ReadWrite" )
These are the valid capabilities of a secret store.
type SecretStoreConditionType ¶ added in v0.6.2
type SecretStoreConditionType string
SecretStoreConditionType represents the condition of the SecretStore.
type SecretStoreList ¶ added in v0.5.0
type SecretStoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SecretStore `json:"items"`
}
SecretStoreList contains a list of SecretStore
func (*SecretStoreList) DeepCopy ¶ added in v0.5.0
func (in *SecretStoreList) DeepCopy() *SecretStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreList.
func (*SecretStoreList) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStoreList) DeepCopyInto(out *SecretStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStoreList) DeepCopyObject ¶ added in v0.5.0
func (in *SecretStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretStoreRef ¶ added in v0.5.0
type SecretStoreRef struct {
Name string `json:"name"`
// Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
// Defaults to SecretStore
// +optional
// +kubebuilder:validation:Enum=SecretStore;ClusterSecretStore
Kind string `json:"kind,omitempty"`
// Namespace of the referenced SecretStore. Cross-namespace references are
// controlled by the enable-cross-namespace-auth-ref switch.
// Optional; defaults to the namespace of the ExternalSecret when empty.
// +optional
Namespace string `json:"namespace,omitempty"`
}
func (*SecretStoreRef) DeepCopy ¶ added in v0.5.0
func (in *SecretStoreRef) DeepCopy() *SecretStoreRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreRef.
func (*SecretStoreRef) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStoreRef) DeepCopyInto(out *SecretStoreRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreSpec ¶ added in v0.5.0
type SecretStoreSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// maybe support more alibabacloud product
KMS *KMSProvider `json:"KMS,omitempty"`
OOS *OOSProvider `json:"OOS,omitempty"`
}
+kubebuilder:validation:MinProperties=1 +kubebuilder:validation:MaxProperties=1
func (*SecretStoreSpec) DeepCopy ¶ added in v0.5.0
func (in *SecretStoreSpec) DeepCopy() *SecretStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreSpec.
func (*SecretStoreSpec) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStoreSpec) DeepCopyInto(out *SecretStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreStatus ¶ added in v0.5.0
type SecretStoreStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +optional
Conditions []SecretStoreStatusCondition `json:"conditions,omitempty"`
// +optional
Capabilities SecretStoreCapabilities `json:"capabilities,omitempty"`
// ClientGeneration is a monotonic counter bumped every time the Store
// controller successfully rebuilds the backend client and persists the
// status. Consumers (the ExternalSecret reverse-watch predicates and the
// client-freshness guard) use it to detect client rebuilds even when
// metadata.generation is unchanged (e.g. trigger-annotation rotations).
// +optional
ClientGeneration int64 `json:"clientGeneration,omitempty"`
}
SecretStoreStatus defines the observed state of SecretStore
func (*SecretStoreStatus) DeepCopy ¶ added in v0.5.0
func (in *SecretStoreStatus) DeepCopy() *SecretStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreStatus.
func (*SecretStoreStatus) DeepCopyInto ¶ added in v0.5.0
func (in *SecretStoreStatus) DeepCopyInto(out *SecretStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreStatusCondition ¶ added in v0.6.2
type SecretStoreStatusCondition struct {
Type SecretStoreConditionType `json:"type"`
Status corev1.ConditionStatus `json:"status"`
// +optional
Reason string `json:"reason,omitempty"`
// +optional
Message string `json:"message,omitempty"`
// +optional
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
SecretStoreStatusCondition contains condition information for a SecretStore.
func (*SecretStoreStatusCondition) DeepCopy ¶ added in v0.6.2
func (in *SecretStoreStatusCondition) DeepCopy() *SecretStoreStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreStatusCondition.
func (*SecretStoreStatusCondition) DeepCopyInto ¶ added in v0.6.2
func (in *SecretStoreStatusCondition) DeepCopyInto(out *SecretStoreStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountRef ¶ added in v0.6.2
type ServiceAccountRef struct {
// Name of the ServiceAccount
Name string `json:"name"`
// +optional
// Namespace of the ServiceAccount.
// For SecretStore, this field is ignored and the namespace of the SecretStore is used.
// For ClusterSecretStore, this field is required to specify the namespace where the ServiceAccount exists.
Namespace string `json:"namespace,omitempty"`
// +optional
Audiences []string `json:"audiences,omitempty"`
}
ServiceAccountRef references a ServiceAccount resource. For SecretStore, it is in the same namespace as the SecretStore. For ClusterSecretStore, Namespace is required to specify the namespace of the ServiceAccount.
func (*ServiceAccountRef) DeepCopy ¶ added in v0.6.2
func (in *ServiceAccountRef) DeepCopy() *ServiceAccountRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountRef.
func (*ServiceAccountRef) DeepCopyInto ¶ added in v0.6.2
func (in *ServiceAccountRef) DeepCopyInto(out *ServiceAccountRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateFrom ¶ added in v0.6.2
type TemplateFrom struct {
ConfigMap *TemplateRef `json:"configMap,omitempty"`
Secret *TemplateRef `json:"secret,omitempty"`
// Target specifies where to place the template result.
// For Secret resources, common values are: "Data", "Annotations", "Labels".
// +optional
// +kubebuilder:default="Data"
Target TemplateTarget `json:"target,omitempty"`
// +optional
Literal *string `json:"literal,omitempty"`
}
TemplateFrom specifies a source for templates. Each item in the list can either reference a ConfigMap or a Secret resource.
func (*TemplateFrom) DeepCopy ¶ added in v0.6.2
func (in *TemplateFrom) DeepCopy() *TemplateFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateFrom.
func (*TemplateFrom) DeepCopyInto ¶ added in v0.6.2
func (in *TemplateFrom) DeepCopyInto(out *TemplateFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateMergePolicy ¶ added in v0.6.2
type TemplateMergePolicy string
TemplateMergePolicy defines how template results should be merged with the original data. +kubebuilder:validation:Enum=Replace;Merge
const ( // MergePolicyReplace replaces the entire template content during merge operations. MergePolicyReplace TemplateMergePolicy = "Replace" // MergePolicyMerge merges the template content with existing values. MergePolicyMerge TemplateMergePolicy = "Merge" )
type TemplateRef ¶ added in v0.6.2
type TemplateRef struct {
// The name of the ConfigMap/Secret resource
// +kubebuilder:validation:MinLength:=1
// +kubebuilder:validation:MaxLength:=253
// +kubebuilder:validation:Pattern:=^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Name string `json:"name"`
// A list of keys in the ConfigMap/Secret to use as templates for Secret data
Items []TemplateRefItem `json:"items"`
}
TemplateRef specifies a reference to either a ConfigMap or a Secret resource.
func (*TemplateRef) DeepCopy ¶ added in v0.6.2
func (in *TemplateRef) DeepCopy() *TemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRef.
func (*TemplateRef) DeepCopyInto ¶ added in v0.6.2
func (in *TemplateRef) DeepCopyInto(out *TemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateRefItem ¶ added in v0.6.2
type TemplateRefItem struct {
// A key in the ConfigMap/Secret
// +kubebuilder:validation:MinLength:=1
// +kubebuilder:validation:MaxLength:=253
// +kubebuilder:validation:Pattern:=^[-._a-zA-Z0-9]+$
Key string `json:"key"`
// +kubebuilder:default="Values"
TemplateAs TemplateScope `json:"templateAs,omitempty"`
}
TemplateRefItem specifies a key in the ConfigMap/Secret to use as a template for Secret data.
func (*TemplateRefItem) DeepCopy ¶ added in v0.6.2
func (in *TemplateRefItem) DeepCopy() *TemplateRefItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRefItem.
func (*TemplateRefItem) DeepCopyInto ¶ added in v0.6.2
func (in *TemplateRefItem) DeepCopyInto(out *TemplateRefItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateScope ¶ added in v0.6.2
type TemplateScope string
TemplateScope specifies how the template keys should be interpreted. +kubebuilder:validation:Enum=Values;KeysAndValues
const ( TemplateScopeValues TemplateScope = "Values" TemplateScopeKeysAndValues TemplateScope = "KeysAndValues" )
These are used to define the scope of templates.
type TemplateTarget ¶ added in v0.6.2
type TemplateTarget string
TemplateTarget defines the target field where the template result will be stored. +kubebuilder:validation:Enum=Data;Annotations;Labels
const ( // TemplateTargetData stores template results in the data field of the secret. TemplateTargetData TemplateTarget = "Data" // TemplateTargetAnnotations stores template results in the annotations field of the secret. TemplateTargetAnnotations TemplateTarget = "Annotations" // TemplateTargetLabels stores template results in the labels field of the secret. TemplateTargetLabels TemplateTarget = "Labels" )