File tree Expand file tree Collapse file tree 8 files changed +3
-220
lines changed Expand file tree Collapse file tree 8 files changed +3
-220
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ Deprecated: The "dashboard" Kubernetes Service has been merged with "coderd".
4141{{- end }}
4242{{ end }}
4343
44- {{- if gt (len (keys (.Values.envproxy | dict))) 1 }}
45- Deprecated: The "envproxy" Kubernetes Service has been merged with "coderd".
46- ✗ All "envproxy.*" values can be safely removed.
47- ✗ Workspaces will need to be rebuilt after this change.
48- {{ end }}
4944{{- else }}
5045{{- if eq (include "coder.hasNginxIngress" .) "true" }}
5146Deprecated: The "nginx" ingress controller will be removed in a future release.
Original file line number Diff line number Diff line change @@ -117,31 +117,11 @@ tolerations:
117117{ {- end } }
118118{ {- end } }
119119{ {- end } }
120- { {/*
121- coder.envproxy.accessURL is a URL for accessing the envproxy.
122- */} }
123- { {- define " coder.envproxy.accessURL" } }
124- { {- if ne (merge .Values dict | dig " envproxy" " accessURL" " " ) " " } }
125- { {- .Values.envproxy.accessURL -} }
126- { {- else if ne (merge .Values dict | dig " ingress" " host" " " ) " " } }
127- { {- if .Values.ingress.tls.enable -} }
128- https://
129- { {- else -} }
130- http://
131- { {- end -} }
132- { {- .Values.ingress.host } }
133- { {- else } }
134- { {- end } }
135- { {- end } }
136120{ {/*
137121 coder.cluster.accessURL is a URL for accessing the Kubernetes cluster.
138122*/} }
139- { {- define " coder.cluster.accessURL" } }
140- { {- if ne (merge .Values dict | dig " envproxy" " clusterAddress" " " ) " " } }
141- { {- .Values.envproxy.clusterAddress -} }
142- { {- else -} }
143- https://kubernetes.default{ { include " movedValue" (dict " Values" .Values " Key" " services.clusterDomainSuffix" ) } }:443
144- { {- end } }
123+ { {- define " coder.cluster.accessURL" -} }
124+ https://kubernetes.default{ { include " movedValue" (dict " Values" .Values " Key" " services.clusterDomainSuffix" ) } }:443
145125{ {- end } }
146126
147127{ {/*
Original file line number Diff line number Diff line change 2525{ {- define " coder.hasNginxIngress" } }
2626{ {- if (lookup " v1" " Service" .Release.Namespace " ingress-nginx" ) -} }
2727true
28- { {- else if (lookup " v1" " Service" .Release.Namespace " envproxy" ) -} }
29- true
3028{ {- else -} }
3129false
3230{ {- end } }
Original file line number Diff line number Diff line change @@ -135,15 +135,6 @@ spec:
135135 - name : TRUST_PROXY_IP
136136 value : {{ .Values.coderd.trustProxyIP | quote }}
137137 {{- end }}
138- {{- if not .Values.coderd.satellite.enable }}
139- {{- if eq (include "coder.useServiceNext" .) "false" }}
140- - name : BUILT_IN_ENVPROXY_TOKEN
141- valueFrom :
142- secretKeyRef :
143- name : built-in-envproxy-token
144- key : token
145- {{- end }}
146- {{- end }}
147138 {{- if .Values.coderd.satellite.enable }}
148139 - name : CODER_SATELLITE_PRIVATE_KEY
149140 valueFrom :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ metadata:
3333 labels :
3434 app.kubernetes.io/name : ingress-nginx
3535 app.kubernetes.io/part-of : ingress-nginx
36- data :
37- 22 : " {{ .Release.Namespace }}/envproxy:2222"
3836---
3937kind : ConfigMap
4038apiVersion : v1
@@ -379,13 +377,6 @@ spec:
379377 http :
380378 paths :
381379 {{- if (merge .Values dict | dig "ingress" "useDefault" true) }}
382- - path : /proxy/
383- pathType : Prefix
384- backend :
385- service :
386- name : envproxy
387- port :
388- number : 8080
389380 - path : /api
390381 pathType : Prefix
391382 backend :
@@ -414,18 +405,6 @@ spec:
414405 port :
415406 number : 8080
416407 {{- end }}
417- {{- if ne (include "movedValue" (dict "Values" .Values "Key" "coderd.devurlsHost")) "" }}
418- - host : {{ include "movedValue" (dict "Values" .Values "Key" "coderd.devurlsHost") }}
419- http :
420- paths :
421- - path : /
422- pathType : Prefix
423- backend :
424- service :
425- name : envproxy
426- port :
427- number : 8080
428- {{- end }}
429408 {{- end }}
430409 {{- end }}
431410{{- end }}
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ subjects:
3030 - kind : ServiceAccount
3131 name : {{ include "coder.serviceName" }}
3232 namespace : {{ .Release.Namespace | quote }}
33- - kind : ServiceAccount
34- name : envproxy
35- namespace : {{ .Release.Namespace | quote }}
3633roleRef :
3734 kind : Role
3835 name : coder-restricted
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
88 namespace : {{ .Release.Namespace | quote }}
99 name : environments
1010---
11- # The service account that the envproxy passes to cemanager on startup .
11+ # The service account for the built in workspace provider on application installation .
1212apiVersion : v1
1313kind : ServiceAccount
1414metadata :
You can’t perform that action at this time.
0 commit comments