Make secret type field configurable

This commit is contained in:
Alex Birca
2023-11-18 10:09:00 +02:00
parent 2a768a7bc4
commit 377a79f17d
4 changed files with 27 additions and 3 deletions

View File

@@ -41,6 +41,10 @@ type KubeSecretReference struct {
// The name space where the Kubernetes Secret is located
// +kubebuilder:validation:Required
SecretNamespace string `json:"secretNamespace"`
// The Kubernetes Secret type. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
// +kubebuilder:validation:Optional
SecretType string `json:"secretType"`
}
// InfisicalSecretSpec defines the desired state of InfisicalSecret