Skip to content

Commit

Permalink
docs: clarify project destination possibilities (#11706)
Browse files Browse the repository at this point in the history
Clarify that it's possible to reference clusters by `cluster` or by `name`.

Signed-off-by: Gaël Jourdan-Weil <gjourdanweil@gmail.com>

Signed-off-by: Gaël Jourdan-Weil <gjourdanweil@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
gaeljw and crenshaw-dev committed Dec 20, 2022
1 parent c105f31 commit 7d63532
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/operator-manual/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ spec:
- '*'

# Only permit applications to deploy to the guestbook namespace 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

# Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist:
Expand Down

0 comments on commit 7d63532

Please sign in to comment.