Last active
September 8, 2023 01:15
-
-
Save asayah/304080f3e87974c2c1ea27d7b27f71ca to your computer and use it in GitHub Desktop.
workspaces
This file contains 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: Workspace | |
metadata: | |
name: bookinfo | |
namespace: gloo-mesh | |
spec: | |
workloadClusters: | |
- name: '*' | |
namespaces: | |
- name: 'bookinfo' | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: Workspace | |
metadata: | |
name: client | |
namespace: gloo-mesh | |
spec: | |
workloadClusters: | |
- name: '*' | |
namespaces: | |
- name: 'client' | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: Workspace | |
metadata: | |
name: httpbin | |
namespace: gloo-mesh | |
spec: | |
workloadClusters: | |
- name: '*' | |
namespaces: | |
- name: 'httpbin' | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: WorkspaceSettings | |
metadata: | |
name: bookinfo | |
namespace: bookinfo | |
spec: | |
exportTo: [] | |
options: | |
serviceIsolation: | |
enabled: true | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: WorkspaceSettings | |
metadata: | |
name: client | |
namespace: client | |
spec: | |
exportTo: [] | |
options: | |
serviceIsolation: | |
enabled: true | |
--- | |
apiVersion: admin.gloo.solo.io/v2 | |
kind: WorkspaceSettings | |
metadata: | |
name: httpbin | |
namespace: httpbin | |
spec: | |
exportTo: [] | |
options: | |
serviceIsolation: | |
enabled: true | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment