Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the secrets v1alpha1 API group +kubebuilder:object:generate=true +groupName=secrets.zncdata.dev
Index ¶
- Constants
- Variables
- type AdminServerSpec
- type AutoTlsSpec
- type BackendSpec
- type CASpec
- type CSIDriverSpec
- type CSIProvisionerSpec
- type K8sSearchSpec
- type KerberosKeytabSpec
- type KeytabSecretSpec
- type LivenessProbeSpec
- type LoggingSpec
- type MITSpec
- type NodeDriverRegistrarSpec
- type PodSpec
- type SearchNamespaceSpec
- type SecretCSI
- type SecretCSIList
- type SecretCSISpec
- type SecretCSIStatus
- type SecretClass
- type SecretClassList
- type SecretClassSpec
- type SecretClassStatus
- type SecretSpec
Constants ¶
const ( // default values CSIPluginImageRepository = "quay.io/zncdatadev/secret-csi-driver" CSIPluginImageTag = "0.0.0-dev" CSIPluginImagePullPolicy = "IfNotPresent" NodeDriverRegisterImageRepository = "registry.k8s.io/sig-storage/csi-node-driver-registrar" NodeDriverRegisterImageTag = "v2.8.0" NodeDriverRegisterImagePullPolicy = "IfNotPresent" CSIProvisionerImageRepository = "registry.k8s.io/sig-storage/csi-provisioner" CSIProvisionerImageTag = "v3.5.0" CSIProvisionerImagePullPolicy = "IfNotPresent" LivenessProbeImageRepository = "registry.k8s.io/sig-storage/livenessprobe" LivenessProbeImageTag = "v2.11.0" LivenessProbeImagePullPolicy = "IfNotPresent" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secrets.zncdata.dev", Version: "v1alpha1"} // 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 AdminServerSpec ¶
type AdminServerSpec struct {
MIT *MITSpec `json:"mit"`
}
func (*AdminServerSpec) DeepCopy ¶
func (in *AdminServerSpec) DeepCopy() *AdminServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminServerSpec.
func (*AdminServerSpec) DeepCopyInto ¶
func (in *AdminServerSpec) DeepCopyInto(out *AdminServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutoTlsSpec ¶
type AutoTlsSpec struct { CA *CASpec `json:"ca"` // Use time.ParseDuration to parse the string // Default is 360h (15 days) // +kubebuilder:validation:Optional // +kubebuilder:default="360h" MaxCertificateLifeTime string `json:"maxCertificateLifeTime,omitempty"` }
func (*AutoTlsSpec) DeepCopy ¶
func (in *AutoTlsSpec) DeepCopy() *AutoTlsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoTlsSpec.
func (*AutoTlsSpec) DeepCopyInto ¶
func (in *AutoTlsSpec) DeepCopyInto(out *AutoTlsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendSpec ¶
type BackendSpec struct { // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec AutoTls *AutoTlsSpec `json:"autoTls,omitempty"` // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec K8sSearch *K8sSearchSpec `json:"k8sSearch,omitempty"` // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec KerberosKeytab *KerberosKeytabSpec `json:"kerberosKeytab,omitempty"` }
func (*BackendSpec) DeepCopy ¶
func (in *BackendSpec) DeepCopy() *BackendSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendSpec.
func (*BackendSpec) DeepCopyInto ¶
func (in *BackendSpec) DeepCopyInto(out *BackendSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CASpec ¶
type CASpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default=false AutoGenerated bool `json:"autoGenerated,omitempty"` // Use time.ParseDuration to parse the string // Default is 8760h (1 year) // +kubebuilder:validation:Optional // +kubebuilder:default="8760h" CACertificateLifeTime string `json:"caCertificateLifeTime,omitempty"` // +kubebuilder:validation:Required Secret *SecretSpec `json:"secret,omitempty"` }
func (*CASpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CASpec.
func (*CASpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIDriverSpec ¶
type CSIDriverSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="quay.io/zncdatadev/secret-csi-driver" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="0.0.0-dev" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*CSIDriverSpec) DeepCopy ¶
func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
func (*CSIDriverSpec) DeepCopyInto ¶
func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIProvisionerSpec ¶
type CSIProvisionerSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/csi-provisioner" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v3.5.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*CSIProvisionerSpec) DeepCopy ¶
func (in *CSIProvisionerSpec) DeepCopy() *CSIProvisionerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIProvisionerSpec.
func (*CSIProvisionerSpec) DeepCopyInto ¶
func (in *CSIProvisionerSpec) DeepCopyInto(out *CSIProvisionerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sSearchSpec ¶
type K8sSearchSpec struct { // +kubebuilder:validation:Required SearchNamespace *SearchNamespaceSpec `json:"searchNamespace"` }
func (*K8sSearchSpec) DeepCopy ¶
func (in *K8sSearchSpec) DeepCopy() *K8sSearchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sSearchSpec.
func (*K8sSearchSpec) DeepCopyInto ¶
func (in *K8sSearchSpec) DeepCopyInto(out *K8sSearchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KerberosKeytabSpec ¶
type KerberosKeytabSpec struct { AdminServer *AdminServerSpec `json:"adminServer"` AdminPrincipal string `json:"adminPrincipal"` AdminKeytabSecret *KeytabSecretSpec `json:"adminKeytabSecret"` KDC string `json:"kdc"` Realm string `json:"realm"` }
func (*KerberosKeytabSpec) DeepCopy ¶
func (in *KerberosKeytabSpec) DeepCopy() *KerberosKeytabSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KerberosKeytabSpec.
func (*KerberosKeytabSpec) DeepCopyInto ¶
func (in *KerberosKeytabSpec) DeepCopyInto(out *KerberosKeytabSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeytabSecretSpec ¶
type KeytabSecretSpec struct { // +kubebuilder:validation:Required // Contains the `keytab` name of the secret Name string `json:"name"` Namespace string `json:"namespace"` }
func (*KeytabSecretSpec) DeepCopy ¶
func (in *KeytabSecretSpec) DeepCopy() *KeytabSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeytabSecretSpec.
func (*KeytabSecretSpec) DeepCopyInto ¶
func (in *KeytabSecretSpec) DeepCopyInto(out *KeytabSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LivenessProbeSpec ¶
type LivenessProbeSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/livenessprobe" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v2.11.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*LivenessProbeSpec) DeepCopy ¶
func (in *LivenessProbeSpec) DeepCopy() *LivenessProbeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LivenessProbeSpec.
func (*LivenessProbeSpec) DeepCopyInto ¶
func (in *LivenessProbeSpec) DeepCopyInto(out *LivenessProbeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSpec ¶
type LoggingSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="info" Level string `json:"level,omitempty"` }
func (*LoggingSpec) DeepCopy ¶
func (in *LoggingSpec) DeepCopy() *LoggingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSpec.
func (*LoggingSpec) DeepCopyInto ¶
func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MITSpec ¶
type MITSpec struct {
KadminServer string `json:"kadminServer"`
}
func (*MITSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MITSpec.
func (*MITSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeDriverRegistrarSpec ¶
type NodeDriverRegistrarSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/csi-node-driver-registrar" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v2.8.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*NodeDriverRegistrarSpec) DeepCopy ¶
func (in *NodeDriverRegistrarSpec) DeepCopy() *NodeDriverRegistrarSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDriverRegistrarSpec.
func (*NodeDriverRegistrarSpec) DeepCopyInto ¶
func (in *NodeDriverRegistrarSpec) DeepCopyInto(out *NodeDriverRegistrarSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSpec ¶
type PodSpec struct { }
func (*PodSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SearchNamespaceSpec ¶
type SearchNamespaceSpec struct { Name *string `json:"name,omitempty"` Pod *PodSpec `json:"pod,omitempty"` }
func (*SearchNamespaceSpec) DeepCopy ¶
func (in *SearchNamespaceSpec) DeepCopy() *SearchNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SearchNamespaceSpec.
func (*SearchNamespaceSpec) DeepCopyInto ¶
func (in *SearchNamespaceSpec) DeepCopyInto(out *SearchNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretCSI ¶
type SecretCSI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretCSISpec `json:"spec,omitempty"` Status SecretCSIStatus `json:"status,omitempty"` }
SecretCSI is the Schema for the secretcsis API
func (*SecretCSI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCSI.
func (*SecretCSI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretCSI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretCSIList ¶
type SecretCSIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretCSI `json:"items"` }
SecretCSIList contains a list of SecretCSI
func (*SecretCSIList) DeepCopy ¶
func (in *SecretCSIList) DeepCopy() *SecretCSIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCSIList.
func (*SecretCSIList) DeepCopyInto ¶
func (in *SecretCSIList) DeepCopyInto(out *SecretCSIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretCSIList) DeepCopyObject ¶
func (in *SecretCSIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretCSISpec ¶
type SecretCSISpec struct { // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec CSIDriver *CSIDriverSpec `json:"csiDriver,omitempty"` // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec NodeDriverRegistrar *NodeDriverRegistrarSpec `json:"nodeDriverRegistrar,omitempty"` // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec CSIProvisioner *CSIProvisionerSpec `json:"csiProvisioner,omitempty"` // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec LivenessProbe *LivenessProbeSpec `json:"livenessProbe,omitempty"` }
SecretCSISpec defines the desired state of SecretCSI
func (*SecretCSISpec) DeepCopy ¶
func (in *SecretCSISpec) DeepCopy() *SecretCSISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCSISpec.
func (*SecretCSISpec) DeepCopyInto ¶
func (in *SecretCSISpec) DeepCopyInto(out *SecretCSISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretCSIStatus ¶
SecretCSIStatus defines the observed state of SecretCSI
func (*SecretCSIStatus) DeepCopy ¶
func (in *SecretCSIStatus) DeepCopy() *SecretCSIStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCSIStatus.
func (*SecretCSIStatus) DeepCopyInto ¶
func (in *SecretCSIStatus) DeepCopyInto(out *SecretCSIStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretClass ¶
type SecretClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretClassSpec `json:"spec,omitempty"` Status SecretClassStatus `json:"status,omitempty"` }
SecretClass is the Schema for the secretclasses API
func (*SecretClass) DeepCopy ¶
func (in *SecretClass) DeepCopy() *SecretClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretClass.
func (*SecretClass) DeepCopyInto ¶
func (in *SecretClass) DeepCopyInto(out *SecretClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretClass) DeepCopyObject ¶
func (in *SecretClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretClassList ¶
type SecretClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretClass `json:"items"` }
SecretClassList contains a list of SecretClass
func (*SecretClassList) DeepCopy ¶
func (in *SecretClassList) DeepCopy() *SecretClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretClassList.
func (*SecretClassList) DeepCopyInto ¶
func (in *SecretClassList) DeepCopyInto(out *SecretClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretClassList) DeepCopyObject ¶
func (in *SecretClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretClassSpec ¶
type SecretClassSpec struct {
Backend *BackendSpec `json:"backend,omitempty"`
}
SecretClassSpec defines the desired state of SecretClass
func (*SecretClassSpec) DeepCopy ¶
func (in *SecretClassSpec) DeepCopy() *SecretClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretClassSpec.
func (*SecretClassSpec) DeepCopyInto ¶
func (in *SecretClassSpec) DeepCopyInto(out *SecretClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretClassStatus ¶
SecretClassStatus defines the observed state of SecretClass
func (*SecretClassStatus) DeepCopy ¶
func (in *SecretClassStatus) DeepCopy() *SecretClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretClassStatus.
func (*SecretClassStatus) DeepCopyInto ¶
func (in *SecretClassStatus) DeepCopyInto(out *SecretClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.