Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the secretsmanager v1alpha1 API group +kubebuilder:object:generate=true +groupName=secrets-manager.tuenti.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secrets-manager.tuenti.io", 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 DataSource ¶
type DataSource struct { // Path to the actual secret Path string `json:"path"` // Key where the actual secret is stored Key string `json:"key"` // Encoding type for the secret. Only base64 supported. Optional Encoding string `json:"encoding,omitempty"` }
DataSource represents the actual source of truth path for a secret
type SecretDefinition ¶
type SecretDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretDefinitionSpec `json:"spec,omitempty"` Status SecretDefinitionStatus `json:"status,omitempty"` }
SecretDefinition is the Schema for the secretdefinitions API
type SecretDefinitionList ¶
type SecretDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretDefinition `json:"items"` }
SecretDefinitionList contains a list of SecretDefinition
type SecretDefinitionSpec ¶
type SecretDefinitionSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Name string `json:"name"` Type string `json:"type,omitempty"` KeysMap map[string]DataSource `json:"keysMap"` }
SecretDefinitionSpec defines the desired state of SecretDefinition
type SecretDefinitionStatus ¶
type SecretDefinitionStatus struct { }
SecretDefinitionStatus defines the observed state of SecretDefinition
Click to show internal directories.
Click to hide internal directories.