Skip to content

Commit

Permalink
docs: add wildcard globbing example to docs (#21429)
Browse files Browse the repository at this point in the history
* add wildcard globbing example

After searching for wildcard globbing, i could only find the following PR : #1106. Now the docs have an example

Signed-off-by: lrost <[email protected]>

* Update project.yaml

feedback

Signed-off-by: lrost <[email protected]>

---------

Signed-off-by: lrost <[email protected]>
  • Loading branch information
LRost authored Jan 10, 2025
1 parent 77ff8f0 commit 1645d57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/operator-manual/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1645d57

Please sign in to comment.