From 1645d576fd0c8e9e822037d5ff6dd4469aeaf0ff Mon Sep 17 00:00:00 2001 From: lrost Date: Fri, 10 Jan 2025 09:07:52 +0100 Subject: [PATCH] docs: add wildcard globbing example to docs (#21429) * add wildcard globbing example After searching for wildcard globbing, i could only find the following PR : https://github.com/argoproj/argo-cd/pull/1106. Now the docs have an example Signed-off-by: lrost * Update project.yaml feedback Signed-off-by: lrost --------- Signed-off-by: lrost --- docs/operator-manual/project.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/operator-manual/project.yaml b/docs/operator-manual/project.yaml index c4d93f536239f..ec8dd4d6544b5 100644 --- a/docs/operator-manual/project.yaml +++ b/docs/operator-manual/project.yaml @@ -14,12 +14,16 @@ spec: sourceRepos: - '*' - # Only permit applications to deploy to the guestbook namespace in the same cluster + # Only permit applications to deploy to the 'guestbook' namespace or any namespace starting with 'guestbook-' in the same cluster # Destination clusters can be identified by 'server', 'name', or both. destinations: - namespace: guestbook server: https://kubernetes.default.svc name: in-cluster + # Destinations also allow wildcard globbing + - namespace: guestbook-* + server: https://kubernetes.default.svc + name: in-cluster # Deny all cluster-scoped resources from being created, except for Namespace clusterResourceWhitelist: