netbox config
This commit is contained in:
115
netbox/main.yaml
115
netbox/main.yaml
@@ -170,15 +170,15 @@ data:
|
|||||||
DEFAULT_LANGUAGE: "en-us"
|
DEFAULT_LANGUAGE: "en-us"
|
||||||
|
|
||||||
EMAIL:
|
EMAIL:
|
||||||
SERVER: "localhost"
|
SERVER: "mxe965.netcup.net"
|
||||||
PORT: 25
|
PORT: 587
|
||||||
USERNAME: ""
|
USERNAME: "philip.haupt@borninpain.de"
|
||||||
USE_SSL: false
|
USE_SSL: true
|
||||||
USE_TLS: false
|
USE_TLS: false
|
||||||
SSL_CERTFILE: ""
|
SSL_CERTFILE: ""
|
||||||
SSL_KEYFILE: ""
|
SSL_KEYFILE: ""
|
||||||
TIMEOUT: 10
|
TIMEOUT: 10
|
||||||
FROM_EMAIL: ""
|
FROM_EMAIL: "noreply@borninpain.de"
|
||||||
|
|
||||||
ENFORCE_GLOBAL_UNIQUE: true
|
ENFORCE_GLOBAL_UNIQUE: true
|
||||||
EXEMPT_VIEW_PERMISSIONS: []
|
EXEMPT_VIEW_PERMISSIONS: []
|
||||||
@@ -208,8 +208,8 @@ data:
|
|||||||
PREFER_IPV4: false
|
PREFER_IPV4: false
|
||||||
RACK_ELEVATION_DEFAULT_UNIT_HEIGHT: 22
|
RACK_ELEVATION_DEFAULT_UNIT_HEIGHT: 22
|
||||||
RACK_ELEVATION_DEFAULT_UNIT_WIDTH: 220
|
RACK_ELEVATION_DEFAULT_UNIT_WIDTH: 220
|
||||||
REMOTE_AUTH_ENABLED: false
|
REMOTE_AUTH_ENABLED: true
|
||||||
REMOTE_AUTH_BACKEND: ["netbox.authentication.RemoteUserBackend"]
|
REMOTE_AUTH_BACKEND: ["social_core.backends.open_id_connect.OpenIdConnectAuth"]
|
||||||
REMOTE_AUTH_HEADER: "HTTP_REMOTE_USER"
|
REMOTE_AUTH_HEADER: "HTTP_REMOTE_USER"
|
||||||
REMOTE_AUTH_USER_FIRST_NAME: "HTTP_REMOTE_USER_FIRST_NAME"
|
REMOTE_AUTH_USER_FIRST_NAME: "HTTP_REMOTE_USER_FIRST_NAME"
|
||||||
REMOTE_AUTH_USER_LAST_NAME: "HTTP_REMOTE_USER_LAST_NAME"
|
REMOTE_AUTH_USER_LAST_NAME: "HTTP_REMOTE_USER_LAST_NAME"
|
||||||
@@ -251,7 +251,7 @@ data:
|
|||||||
CSRF_COOKIE_NAME: "csrftoken"
|
CSRF_COOKIE_NAME: "csrftoken"
|
||||||
SESSION_COOKIE_NAME: sessionid
|
SESSION_COOKIE_NAME: sessionid
|
||||||
ENABLE_LOCALIZATION: false
|
ENABLE_LOCALIZATION: false
|
||||||
TIME_ZONE: "UTC"
|
TIME_ZONE: "CET"
|
||||||
DATE_FORMAT: "N j, Y"
|
DATE_FORMAT: "N j, Y"
|
||||||
SHORT_DATE_FORMAT: "Y-m-d"
|
SHORT_DATE_FORMAT: "Y-m-d"
|
||||||
TIME_FORMAT: "g:i a"
|
TIME_FORMAT: "g:i a"
|
||||||
@@ -271,8 +271,7 @@ metadata:
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
email_password: ""
|
secret_key: R19RQGVZSy1+dG9we3w6PVZEY0tVOHAnQjRkUShQLDsrVGFSc259WXNdIzBCUiFcJlZrN3MjIDxvPDpr
|
||||||
secret_key: Ym9JSkxAeXJYcW1YakxuMCIhK3JaclJqIScpM2RtS2kxTD4+VlIqXlg6OVtVMDQ9M2lrXHZLNWhbdDU3
|
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -287,25 +286,9 @@ type: Opaque
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
cache_password: ""
|
api_token: YzI4ZmQyZDUtYjhhMS00M2MxLWJiZWQtNTNiYzRmNzQzZDg0
|
||||||
tasks_password: Ymx1YmJlcg==
|
email: YWRtaW5AYm9ybmlucGFpbi5kZQ==
|
||||||
kind: Secret
|
password: OGhSTktFVnRkQg==
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: netbox
|
|
||||||
app.kubernetes.io/managed-by: Helm
|
|
||||||
app.kubernetes.io/name: netbox
|
|
||||||
app.kubernetes.io/version: v4.4.4
|
|
||||||
helm.sh/chart: netbox-7.1.11
|
|
||||||
name: netbox-kv
|
|
||||||
namespace: netbox
|
|
||||||
type: Opaque
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
data:
|
|
||||||
api_token: YjcwNzI5MGMtYmE3MC00MmMzLTg2MWYtMzUyMzU5YzIyNzc5
|
|
||||||
email: YWRtaW5AZXhhbXBsZS5jb20=
|
|
||||||
password: a0FCT2JxUTFJUA==
|
|
||||||
username: YWRtaW4=
|
username: YWRtaW4=
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
@@ -388,8 +371,8 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: 700ca816c994c518b5ab4d10edb328a359017172480d4199d5860a4713b4c091
|
checksum/config: 518377a27b37c4f3eaae50680f5306472640fbac84f2ddca358fafe23f25ca7e
|
||||||
checksum/secret: ac76943039914a3d7a2e7234a2fed36ba39dd6f42d379734eb6a6bc5a448944a
|
checksum/secret: 348f4ad1c8feaaef20c677da4b4914417ec4b430856cdbb4aebcec63b0d9bcf0
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: netbox
|
app.kubernetes.io/component: netbox
|
||||||
app.kubernetes.io/instance: netbox
|
app.kubernetes.io/instance: netbox
|
||||||
@@ -486,6 +469,9 @@ spec:
|
|||||||
- mountPath: /run/secrets/netbox
|
- mountPath: /run/secrets/netbox
|
||||||
name: secrets
|
name: secrets
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /run/config/extra/0
|
||||||
|
name: extra-config-0
|
||||||
|
readOnly: true
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
- mountPath: /opt/netbox/netbox/media
|
- mountPath: /opt/netbox/netbox/media
|
||||||
@@ -553,9 +539,9 @@ spec:
|
|||||||
name: netbox-config
|
name: netbox-config
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: email_password
|
- key: email-password
|
||||||
path: email_password
|
path: email_password
|
||||||
name: netbox-config
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: password
|
- key: password
|
||||||
@@ -570,14 +556,21 @@ spec:
|
|||||||
name: cnpg-netbox-cluster-app
|
name: cnpg-netbox-cluster-app
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: tasks_password
|
- key: kv-password
|
||||||
path: tasks_password
|
path: tasks_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: cache_password
|
- key: kv-password
|
||||||
path: cache_password
|
path: cache_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
|
- name: extra-config-0
|
||||||
|
secret:
|
||||||
|
items:
|
||||||
|
- key: oidc-secret
|
||||||
|
path: oidc_secret.yaml
|
||||||
|
optional: false
|
||||||
|
secretName: netbox
|
||||||
- emptyDir:
|
- emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
@@ -613,8 +606,8 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: b6611b66943044288475e05c9f4bf368a95203cd197dda8a35d9ed7498ac56b9
|
checksum/config: 02de8b4c4a16f16fcc43e93fab33e80bb92c925c4d6cbea6b1161ea8920fca4d
|
||||||
checksum/secret: d20d6403cee6e39c20d0033c4fe21c5311f96719861582c79d7030e48bf17e41
|
checksum/secret: 8ba4f922187d43cd5c28126ada22d47851885c3eec144599f72b10c7868d9d04
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: worker
|
app.kubernetes.io/component: worker
|
||||||
app.kubernetes.io/instance: netbox
|
app.kubernetes.io/instance: netbox
|
||||||
@@ -656,6 +649,9 @@ spec:
|
|||||||
- mountPath: /run/secrets/netbox
|
- mountPath: /run/secrets/netbox
|
||||||
name: secrets
|
name: secrets
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /run/config/extra/0
|
||||||
|
name: extra-config-0
|
||||||
|
readOnly: true
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
- mountPath: /opt/netbox/netbox/media
|
- mountPath: /opt/netbox/netbox/media
|
||||||
@@ -718,9 +714,9 @@ spec:
|
|||||||
name: netbox-config
|
name: netbox-config
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: email_password
|
- key: email-password
|
||||||
path: email_password
|
path: email_password
|
||||||
name: netbox-config
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: password
|
- key: password
|
||||||
@@ -735,14 +731,21 @@ spec:
|
|||||||
name: cnpg-netbox-cluster-app
|
name: cnpg-netbox-cluster-app
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: tasks_password
|
- key: kv-password
|
||||||
path: tasks_password
|
path: tasks_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: cache_password
|
- key: kv-password
|
||||||
path: cache_password
|
path: cache_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
|
- name: extra-config-0
|
||||||
|
secret:
|
||||||
|
items:
|
||||||
|
- key: oidc-secret
|
||||||
|
path: oidc_secret.yaml
|
||||||
|
optional: false
|
||||||
|
secretName: netbox
|
||||||
- emptyDir:
|
- emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
@@ -818,6 +821,9 @@ spec:
|
|||||||
- mountPath: /run/secrets/netbox
|
- mountPath: /run/secrets/netbox
|
||||||
name: secrets
|
name: secrets
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /run/config/extra/0
|
||||||
|
name: extra-config-0
|
||||||
|
readOnly: true
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
- mountPath: /opt/netbox/netbox/media
|
- mountPath: /opt/netbox/netbox/media
|
||||||
@@ -845,9 +851,9 @@ spec:
|
|||||||
name: netbox-config
|
name: netbox-config
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: email_password
|
- key: email-password
|
||||||
path: email_password
|
path: email_password
|
||||||
name: netbox-config
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: password
|
- key: password
|
||||||
@@ -855,14 +861,21 @@ spec:
|
|||||||
name: cnpg-netbox-cluster-app
|
name: cnpg-netbox-cluster-app
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: tasks_password
|
- key: kv-password
|
||||||
path: tasks_password
|
path: tasks_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
- secret:
|
- secret:
|
||||||
items:
|
items:
|
||||||
- key: cache_password
|
- key: kv-password
|
||||||
path: cache_password
|
path: cache_password
|
||||||
name: netbox-kv
|
name: netbox
|
||||||
|
- name: extra-config-0
|
||||||
|
secret:
|
||||||
|
items:
|
||||||
|
- key: oidc-secret
|
||||||
|
path: oidc_secret.yaml
|
||||||
|
optional: false
|
||||||
|
secretName: netbox
|
||||||
- emptyDir:
|
- emptyDir:
|
||||||
medium: Memory
|
medium: Memory
|
||||||
name: netbox-tmp
|
name: netbox-tmp
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ image:
|
|||||||
# See `existingSecret` for details
|
# See `existingSecret` for details
|
||||||
superuser:
|
superuser:
|
||||||
name: admin
|
name: admin
|
||||||
email: admin@example.com
|
email: admin@borninpain.de
|
||||||
password: ""
|
password: ""
|
||||||
apiToken: ""
|
apiToken: ""
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
@@ -364,9 +364,9 @@ rackElevationDefaultUnitWidth: 220
|
|||||||
|
|
||||||
# Remote authentication support
|
# Remote authentication support
|
||||||
remoteAuth:
|
remoteAuth:
|
||||||
enabled: false
|
enabled: true
|
||||||
backends:
|
backends:
|
||||||
- netbox.authentication.RemoteUserBackend
|
- social_core.backends.open_id_connect.OpenIdConnectAuth
|
||||||
header: HTTP_REMOTE_USER
|
header: HTTP_REMOTE_USER
|
||||||
userFirstName: HTTP_REMOTE_USER_FIRST_NAME
|
userFirstName: HTTP_REMOTE_USER_FIRST_NAME
|
||||||
userLastName: HTTP_REMOTE_USER_LAST_NAME
|
userLastName: HTTP_REMOTE_USER_LAST_NAME
|
||||||
@@ -467,7 +467,13 @@ shortDateTimeFormat: "Y-m-d H:i"
|
|||||||
# secretName: netbox-extra
|
# secretName: netbox-extra
|
||||||
# items: []
|
# items: []
|
||||||
# optional: false
|
# optional: false
|
||||||
extraConfig: []
|
extraConfig:
|
||||||
|
- secret:
|
||||||
|
secretName: netbox
|
||||||
|
items:
|
||||||
|
- key: oidc-secret
|
||||||
|
path: oidc_secret.yaml
|
||||||
|
optional: false
|
||||||
|
|
||||||
# If provided, this should be a 50+ character string of random characters. It
|
# If provided, this should be a 50+ character string of random characters. It
|
||||||
# will be randomly generated if left blank.
|
# will be randomly generated if left blank.
|
||||||
|
|||||||
Reference in New Issue
Block a user