Browse Source

Fix wrong namespaceSelector configuration in snippet in document (#3054)

The snippet[1] was not aligning with the schema defined in CRD.

[1] https://external-secrets.io/latest/guides/security-best-practices/

Signed-off-by: kyasbal <kyasbal1994@gmail.com>
kyasbal 2 years ago
parent
commit
b6b4f12509
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docs/guides/security-best-practices.md

+ 3 - 2
docs/guides/security-best-practices.md

@@ -24,8 +24,9 @@ metadata:
   name: fake
 spec:
   conditions:
-    namespaceSelector:
-      app: frontend
+    - namespaceSelector:
+        matchLabels:
+          app: frontend
 ```
 
 ### 3. Selectively Disable Reconciliation of Cluster-Wide Resources