add secrets ready to sync condition

This commit is contained in:
Maidul Islam
2022-12-15 20:02:22 -05:00
parent 0ef9db99b4
commit 72bf160f2e
5 changed files with 56 additions and 18 deletions
@@ -7,11 +7,11 @@ import (
type KubeSecretReference struct {
// The name of the Kubernetes Secret
// +kubebuilder:validation:Required
Name string `json:"name"`
SecretName string `json:"secretName"`
// The name space where the Kubernetes Secret is located
// +kubebuilder:validation:Required
Namespace string `json:"namespace,omitempty"`
SecretNamespace string `json:"secretNamespace,omitempty"`
}
// InfisicalSecretSpec defines the desired state of InfisicalSecret