Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update web-ui.yaml #114

Open
wants to merge 1 commit into
base: gloo-mesh-demo
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions gloo-mesh-demo/data/online-boutique/web-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apiVersion: v1
kind: Service
metadata:
name: frontend
namespace: web-ui
labels:
app: frontend
spec:
Expand All @@ -23,11 +24,13 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: frontend
namespace: web-ui
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: view-nodes
namespace: web-ui
rules:
- apiGroups: [""]
resources: ["nodes"]
Expand All @@ -37,6 +40,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: read-nodes
namespace: web-ui
subjects:
- kind: ServiceAccount
name: frontend
Expand All @@ -50,6 +54,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
namespace: web-ui
spec:
selector:
matchLabels:
Expand Down Expand Up @@ -102,8 +107,8 @@ spec:
- name: AD_SERVICE_ADDR
value: "adservice.backend-apis.svc.cluster.local:9555"
# # ENV_PLATFORM: One of: local, gcp, aws, azure, onprem
# # When not set, defaults to "local" unless running in GKE, otherwies auto-sets to gcp
- name: ENV_PLATFORM
# # When not set, defaults to "local" unless running in GKE, otherwies auto-sets to gcp
- name: ENV_PLATFORM
value: "onprem"
- name: DISABLE_TRACING
value: "1"
Expand Down Expand Up @@ -134,7 +139,7 @@ spec:
---
apiVersion: v1
kind: ServiceAccount
metadata:
metadata:
name: loadgenerator
namespace: web-ui
---
Expand Down Expand Up @@ -186,4 +191,4 @@ spec:
ports:
- name: http
port: 80
targetPort: 8080
targetPort: 8080