Commit 27b9a29e authored by Jens Langhammer's avatar Jens Langhammer

add dependency and initial setting to yaml

parent 93e4fd81
Pipeline #3375 failed with stage
in 3 minutes and 38 seconds
......@@ -29,3 +29,16 @@ external_auth_only: false
# If this is true, images are automatically claimed if the windows user exists
# in django
auto_claim_enabled: true
# LDAP Authentication
ldap:
enabled: false
server:
uri: 'ldap://dc1.example.com'
tls: false
bind:
dn: ''
password: ''
search_base: ''
filter: '(sAMAccountName=%(user)s)'
require_group: ''
......@@ -35,8 +35,6 @@ data:
port: 8000
threads: 30
debug: false
secure_proxy_header:
HTTP_X_FORWARDED_PROTO: https
redis: redis
# Error reporting, disabled by default
error_report_enabled: {{ .Values.config.error_reporting }}
......@@ -62,6 +60,20 @@ data:
# If this is true, images are automatically claimed if the windows user exists
# in django
auto_claim_enabled: true
# LDAP Authentication
ldap:
enabled: false
server:
uri: 'ldap://dc1.example.com'
tls: false
bind:
dn: ''
password: ''
search_base: ''
filter: '(sAMAccountName=%(user)s)'
require_group: ''
{{- if .Values.config.secret_key }}
secret_key: {{ .Values.config.secret_key }}
{{- else }}
......
......@@ -118,6 +118,7 @@ INSTALLED_APPS = [
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend',
'django_auth_ldap.backend.LDAPBackend',
)
MIDDLEWARE = [
......
# This is the default configuration file
databases:
default:
engine: 'django.db.backends.sqlite3'
name: 'db.sqlite3'
engine: "django.db.backends.sqlite3"
name: "db.sqlite3"
log:
level:
console: DEBUG
......@@ -11,8 +11,8 @@ log:
email:
host: localhost
port: 25
user: ''
password: ''
user: ""
password: ""
use_tls: false
use_ssl: false
from: pyazo <pyazo@domain.tld>
......@@ -45,3 +45,16 @@ external_auth_only: false
# If this is true, images are automatically claimed if the windows user exists
# in django
auto_claim_enabled: true
# LDAP Authentication
ldap:
enabled: false
server:
uri: "ldap://dc1.example.com"
tls: false
bind:
dn: ""
password: ""
search_base: ""
filter: "(sAMAccountName=%(user)s)"
require_group: ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment