Last active
September 8, 2023 01:20
-
-
Save asayah/b91f1de77e0c356733cac5b8a46ac89e to your computer and use it in GitHub Desktop.
workspacesettings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl --context "$mgmt_context" apply -f - <<EOF | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: WorkspaceSettings | |
metadata: | |
name: bookinfo | |
namespace: bookinfo | |
spec: | |
exportTo: [] | |
options: | |
serviceIsolation: | |
enabled: true | |
exportTo: | |
- workspaces: | |
- name: "client" | |
resources: | |
- kind: SERVICE | |
name: productpage | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: WorkspaceSettings | |
metadata: | |
name: client | |
namespace: client | |
spec: | |
exportTo: [] | |
options: | |
serviceIsolation: | |
enabled: true | |
importFrom: | |
- workspaces: | |
- name: bookinfo | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment