password
This commit is contained in:
@@ -35,6 +35,23 @@ spec:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
env:
|
||||
- name: SUPERUSER_NAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: netbox-superuser
|
||||
key: username
|
||||
|
||||
- name: SUPERUSER_EMAIL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: netbox-superuser
|
||||
key: email
|
||||
|
||||
- name: SUPERUSER_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: netbox-superuser
|
||||
key: password
|
||||
- name: DB_NAME
|
||||
value: netbox
|
||||
- name: DB_HOST
|
||||
|
||||
@@ -17,3 +17,14 @@ stringData:
|
||||
username: netbox
|
||||
user.pw: supersecure-netbox-password
|
||||
root.pw: secure-root-pw
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: netbox-superuser
|
||||
namespace: netbox
|
||||
type: Opaque
|
||||
stringData:
|
||||
username: admin
|
||||
email: admin@example.com
|
||||
password: 4IsTheMindKiller
|
||||
Reference in New Issue
Block a user