2023-06-16 07:01:34 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/firezone
|
|
|
|
pullPolicy: IfNotPresent
|
2023-09-07 08:27:15 +00:00
|
|
|
tag: v0.7.35@sha256:53c08baeb65dde8689ebb3bd1fc9fbb034970dfdc9bceb005c4ffa03fe2b3e93
|
2023-06-16 07:01:34 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
PUID: 0
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
|
2023-09-07 08:27:15 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
port: 13000
|
|
|
|
wireguard:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
wireguard:
|
|
|
|
enabled: true
|
|
|
|
protocol: udp
|
|
|
|
port: 51820
|
|
|
|
|
|
|
|
firezone:
|
|
|
|
web:
|
|
|
|
external_url: "https://example.com"
|
|
|
|
trusted_proxies: []
|
|
|
|
private_clients: []
|
|
|
|
admin:
|
|
|
|
reset_admin_on_boot: false
|
|
|
|
default_email: "admin@email.com"
|
|
|
|
default_password: "1234567890"
|
|
|
|
devices:
|
|
|
|
allow_unprivileged_device_management: true
|
|
|
|
allow_unprivileged_device_config: true
|
|
|
|
vpn_session_duration: 0
|
|
|
|
client_persistent_keepalive: 25
|
|
|
|
default_client_mtu: 1280
|
|
|
|
client_endpoint: ""
|
|
|
|
client_dns:
|
|
|
|
- 1.1.1.1
|
|
|
|
- 1.0.0.1
|
|
|
|
client_allowed_ips:
|
|
|
|
- 0.0.0.0/0
|
|
|
|
max_devices_per_user: 10
|
|
|
|
authorization:
|
|
|
|
local_auth_enabled: true
|
|
|
|
disable_vpn_on_oidc_error: false
|
|
|
|
wireguard:
|
|
|
|
ipv4_masquerade_enabled: true
|
|
|
|
connectivity:
|
|
|
|
checks_enabled: true
|
|
|
|
checks_interval: 43200
|
|
|
|
other:
|
|
|
|
telemetry_enabled: false
|
|
|
|
|
2023-06-16 07:01:34 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
# web
|
|
|
|
PHOENIX_HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
2023-09-07 08:27:15 +00:00
|
|
|
EXTERNAL_URL: "{{ .Values.firezone.web.external_url }}"
|
|
|
|
PHOENIX_SECURE_COOKIES: "{{ .Values.firezone.web.secure_cookies }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
# PHOENIX_HTTP_PROTOCOL_OPTIONS: "{}"
|
2023-09-07 08:27:15 +00:00
|
|
|
PHOENIX_EXTERNAL_TRUSTED_PROXIES: "{{ toJson .Values.firezone.web.trusted_proxies }}"
|
|
|
|
PHOENIX_PRIVATE_CLIENTS: "{{ toJson .Values.firezone.web.private_clients }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
# DB
|
|
|
|
DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
DATABASE_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
# DATABASE_POOL_SIZE
|
|
|
|
DATABASE_SSL_ENABLED: false
|
|
|
|
# DATABASE_SSL_OPTS: "{}"
|
|
|
|
# Admin
|
2023-09-07 08:27:15 +00:00
|
|
|
RESET_ADMIN_ON_BOOT: "{{ .Values.firezone.admin.reset_admin_on_boot }}"
|
|
|
|
DEFAULT_ADMIN_EMAIL: "{{ .Values.firezone.admin.default_email }}"
|
|
|
|
DEFAULT_ADMIN_PASSWORD: "{{ .Values.firezone.admin.default_password }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
# Secrets and Encryption
|
|
|
|
GUARDIAN_SECRET_KEY:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: GUARDIAN_SECRET_KEY
|
|
|
|
DATABASE_ENCRYPTION_KEY:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: DATABASE_ENCRYPTION_KEY
|
|
|
|
SECRET_KEY_BASE:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: SECRET_KEY_BASE
|
|
|
|
LIVE_VIEW_SIGNING_SALT:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: LIVE_VIEW_SIGNING_SALT
|
|
|
|
COOKIE_SIGNING_SALT:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: COOKIE_SIGNING_SALT
|
|
|
|
COOKIE_ENCRYPTION_SALT:
|
|
|
|
secretKeyRef:
|
2023-09-07 08:27:15 +00:00
|
|
|
name: firezone-secrets
|
2023-06-16 07:01:34 +00:00
|
|
|
key: COOKIE_ENCRYPTION_SALT
|
|
|
|
# Devices
|
2023-09-07 08:27:15 +00:00
|
|
|
ALLOW_UNPRIVILEGED_DEVICE_MANAGEMENT: "{{ .Values.firezone.devices.allow_unprivileged_device_management }}"
|
|
|
|
ALLOW_UNPRIVILEGED_DEVICE_CONFIGURATION: "{{ .Values.firezone.devices.allow_unprivileged_device_config }}"
|
|
|
|
VPN_SESSION_DURATION: "{{ .Values.firezone.devices.vpn_session_duration }}"
|
|
|
|
DEFAULT_CLIENT_PERSISTENT_KEEPALIVE: "{{ .Values.firezone.devices.client_persistent_keepalive }}"
|
|
|
|
DEFAULT_CLIENT_MTU: "{{ .Values.firezone.devices.default_client_mtu }}"
|
|
|
|
DEFAULT_CLIENT_ENDPOINT: "{{ .Values.firezone.devices.client_endpoint }}"
|
|
|
|
DEFAULT_CLIENT_DNS: '{{ join "," .Values.firezone.devices.client_dns }}'
|
|
|
|
DEFAULT_CLIENT_ALLOWED_IPS: '{{ join "," .Values.firezone.devices.client_allowed_ips }}'
|
2023-06-16 07:01:34 +00:00
|
|
|
# Limits
|
2023-09-07 08:27:15 +00:00
|
|
|
MAX_DEVICES_PER_USER: "{{ .Values.firezone.devices.max_devices_per_user }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
# Authorization
|
2023-09-07 08:27:15 +00:00
|
|
|
LOCAL_AUTH_ENABLED: "{{ .Values.firezone.authorization.local_auth_enabled }}"
|
|
|
|
DISABLE_VPN_ON_OIDC_ERROR: "{{ .Values.firezone.authorization.disable_vpn_on_oidc_error }}"
|
|
|
|
# SAML_ENTITY_ID: "urn:firezone.dev:firezone-app"
|
2023-06-16 07:01:34 +00:00
|
|
|
# SAML_KEYFILE_PATH: "/var/firezone/saml.key"
|
|
|
|
# SAML_CERTFILE_PATH: "/var/firezone/saml.crt"
|
|
|
|
# OPENID_CONNECT_PROVIDERS: "[]"
|
|
|
|
# SAML_IDENTITY_PROVIDERS: "[]"
|
|
|
|
# WireGuard
|
|
|
|
WIREGUARD_PORT: "{{ .Values.service.wireguard.ports.wireguard.port }}"
|
|
|
|
WIREGUARD_IPV4_ENABLED: true
|
2023-09-07 08:27:15 +00:00
|
|
|
WIREGUARD_IPV4_MASQUERADE: "{{ .Values.firezone.wireguard.ipv4_masquerade_enabled }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
WIREGUARD_IPV6_ENABLED: false
|
2023-09-07 08:27:15 +00:00
|
|
|
WIREGUARD_IPV6_MASQUERADE: false
|
2023-06-16 07:01:34 +00:00
|
|
|
# Outbound Emails
|
2023-09-07 08:27:15 +00:00
|
|
|
# OUTBOUND_EMAIL_FROM: ""
|
|
|
|
# OUTBOUND_EMAIL_ADAPTER: "Elixir.FzHttpWeb.Mailer.NoopAdapter"
|
2023-06-16 07:01:34 +00:00
|
|
|
# OUTBOUND_EMAIL_ADAPTER_OPTS: "{}"
|
|
|
|
# Connectivity Checks
|
2023-09-07 08:27:15 +00:00
|
|
|
CONNECTIVITY_CHECKS_ENABLED: "{{ .Values.firezone.connectivity.checks_enabled }}"
|
|
|
|
CONNECTIVITY_CHECKS_INTERVAL: "{{ .Values.firezone.connectivity.checks_interval }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
# Telemetry
|
2023-09-07 08:27:15 +00:00
|
|
|
TELEMETRY_ENABLED: "{{ .Values.firezone.other.telemetry_enabled }}"
|
2023-06-16 07:01:34 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/var/firezone"
|
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: firezone
|
|
|
|
database: firezone
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|