mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
enable wildcard on coder
This commit is contained in:
@@ -44,6 +44,7 @@ persistentVolumeClaims:
|
||||
# VirtualService configuration
|
||||
virtualService:
|
||||
enabled: true
|
||||
allowWildcard: true
|
||||
gateways:
|
||||
public: false
|
||||
private: true
|
||||
@@ -55,6 +56,8 @@ env:
|
||||
CODER_OIDC_GROUP_FIELD: groups
|
||||
CODER_ACCESS_URL:
|
||||
value: "https://{subdomain}.{domain}"
|
||||
CODER_WILDCARD_ACCESS_URL:
|
||||
value: "*.{subdomain}.{domain}"
|
||||
CODER_OIDC_ICON_URL: "https://{subdomain}.{domain}/static/dist/assets/icons/icon.png"
|
||||
CODER_DISABLE_PASSWORD_AUTH: "true"
|
||||
CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS: "false"
|
||||
|
||||
@@ -491,6 +491,9 @@ spec:
|
||||
{{- include "common.virtualServiceGatewaysPublic" . | nindent 4 }}
|
||||
hosts:
|
||||
- {{ include "common.domain" . }}
|
||||
{{- if .Values.virtualService.allowWildcard }}
|
||||
- "*.{{ include "common.domain" . }}"
|
||||
{{- end }}
|
||||
- mesh
|
||||
http:
|
||||
- route:
|
||||
@@ -518,6 +521,9 @@ spec:
|
||||
{{- include "common.virtualServiceGatewaysPrivate" . | nindent 4 }}
|
||||
hosts:
|
||||
- {{ include "common.domain" . }}
|
||||
{{- if .Values.virtualService.allowWildcard }}
|
||||
- "*.{{ include "common.domain" . }}"
|
||||
{{- end }}
|
||||
- mesh
|
||||
http:
|
||||
- route:
|
||||
|
||||
Reference in New Issue
Block a user