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 configuration
|
||||||
virtualService:
|
virtualService:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
allowWildcard: true
|
||||||
gateways:
|
gateways:
|
||||||
public: false
|
public: false
|
||||||
private: true
|
private: true
|
||||||
@@ -55,6 +56,8 @@ env:
|
|||||||
CODER_OIDC_GROUP_FIELD: groups
|
CODER_OIDC_GROUP_FIELD: groups
|
||||||
CODER_ACCESS_URL:
|
CODER_ACCESS_URL:
|
||||||
value: "https://{subdomain}.{domain}"
|
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_OIDC_ICON_URL: "https://{subdomain}.{domain}/static/dist/assets/icons/icon.png"
|
||||||
CODER_DISABLE_PASSWORD_AUTH: "true"
|
CODER_DISABLE_PASSWORD_AUTH: "true"
|
||||||
CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS: "false"
|
CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS: "false"
|
||||||
|
|||||||
@@ -491,6 +491,9 @@ spec:
|
|||||||
{{- include "common.virtualServiceGatewaysPublic" . | nindent 4 }}
|
{{- include "common.virtualServiceGatewaysPublic" . | nindent 4 }}
|
||||||
hosts:
|
hosts:
|
||||||
- {{ include "common.domain" . }}
|
- {{ include "common.domain" . }}
|
||||||
|
{{- if .Values.virtualService.allowWildcard }}
|
||||||
|
- "*.{{ include "common.domain" . }}"
|
||||||
|
{{- end }}
|
||||||
- mesh
|
- mesh
|
||||||
http:
|
http:
|
||||||
- route:
|
- route:
|
||||||
@@ -518,6 +521,9 @@ spec:
|
|||||||
{{- include "common.virtualServiceGatewaysPrivate" . | nindent 4 }}
|
{{- include "common.virtualServiceGatewaysPrivate" . | nindent 4 }}
|
||||||
hosts:
|
hosts:
|
||||||
- {{ include "common.domain" . }}
|
- {{ include "common.domain" . }}
|
||||||
|
{{- if .Values.virtualService.allowWildcard }}
|
||||||
|
- "*.{{ include "common.domain" . }}"
|
||||||
|
{{- end }}
|
||||||
- mesh
|
- mesh
|
||||||
http:
|
http:
|
||||||
- route:
|
- route:
|
||||||
|
|||||||
Reference in New Issue
Block a user