Skip to content

Commit

Permalink
Remove local workshop content proxy config as CLI can now inject it.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Aug 16, 2023
1 parent bd8d6cb commit 74b2b92
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
13 changes: 0 additions & 13 deletions workshops/lab-builtin-vcluster/resources/workshop.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#@ load("@ytt:data", "data")

#@ imageCaching = getattr(data.values, "imageCaching", True)
#@ localContent = getattr(data.values, "localContent", False)

---
apiVersion: training.educates.dev/v1beta1
Expand Down Expand Up @@ -33,18 +32,6 @@ spec:
token:
enabled: false
applications:
workshop:
enabled: true
#@ if localContent:
proxy:
protocol: http
host: localhost.$(ingress_domain)
port: 10081
changeOrigin: false
headers:
- name: X-Session-Name
value: $(session_name)
#@ end
terminal:
enabled: true
layout: split
Expand Down
13 changes: 0 additions & 13 deletions workshops/lab-remote-cluster/resources/workshop.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#@ load("@ytt:data", "data")

#@ imageCaching = getattr(data.values, "imageCaching", True)
#@ localContent = getattr(data.values, "localContent", False)

---
apiVersion: training.educates.dev/v1beta1
Expand Down Expand Up @@ -40,18 +39,6 @@ spec:
token:
enabled: false
applications:
workshop:
enabled: true
#@ if localContent:
proxy:
protocol: http
host: localhost.$(ingress_domain)
port: 10081
changeOrigin: false
headers:
- name: X-Session-Name
value: $(session_name)
#@ end
terminal:
enabled: true
layout: split
Expand Down
13 changes: 0 additions & 13 deletions workshops/lab-shared-vcluster/resources/workshop.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#@ load("@ytt:data", "data")

#@ imageCaching = getattr(data.values, "imageCaching", True)
#@ localContent = getattr(data.values, "localContent", False)

---
apiVersion: training.educates.dev/v1beta1
Expand Down Expand Up @@ -40,18 +39,6 @@ spec:
token:
enabled: false
applications:
workshop:
enabled: true
#@ if localContent:
proxy:
protocol: http
host: localhost.$(ingress_domain)
port: 10081
changeOrigin: false
headers:
- name: X-Session-Name
value: $(session_name)
#@ end
terminal:
enabled: true
layout: split
Expand Down

0 comments on commit 74b2b92

Please sign in to comment.