diff --git a/api/v1alpha3/sopssecret_types.go b/api/v1alpha3/sopssecret_types.go index 420c85f4..c1d6509d 100644 --- a/api/v1alpha3/sopssecret_types.go +++ b/api/v1alpha3/sopssecret_types.go @@ -45,11 +45,6 @@ type SopsSecretTemplate struct { //+required Name string `json:"name"` - // EnforceNamespace can be used to enforce the creation of the secrets in the same namespace as the SopsSecret resource. - // Must be used together with Spec.Namespace - //+optional - Namespace string `json:"namespace,omitempty"` - // Annotations to apply to Kubernetes secret //+optional Annotations map[string]string `json:"annotations,omitempty"` diff --git a/config/crd/bases/isindir.github.com_sopssecrets.yaml b/config/crd/bases/isindir.github.com_sopssecrets.yaml index 38c95449..e9866367 100644 --- a/config/crd/bases/isindir.github.com_sopssecrets.yaml +++ b/config/crd/bases/isindir.github.com_sopssecrets.yaml @@ -566,11 +566,6 @@ spec: name: description: Name of the Kubernetes secret to create type: string - namespace: - description: |- - EnforceNamespace can be used to enforce the creation of the secrets in the same namespace as the SopsSecret resource. - Must be used together with Spec.Namespace - type: string stringData: additionalProperties: type: string