feat: add instructions for setting a dashboard password and create secret.yaml template
This commit is contained in:
@@ -33,6 +33,12 @@ spec:
|
||||
env:
|
||||
- name: CONFIG_LOCATION
|
||||
value: "config.yaml"
|
||||
# Uncomment to use dashboard password from secret
|
||||
# - name: KRAWL_DASHBOARD_PASSWORD
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: krawl-dashboard
|
||||
# key: dashboard-password
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /app/config.yaml
|
||||
|
||||
15
kubernetes/manifests/secret.yaml
Normal file
15
kubernetes/manifests/secret.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
# Source: krawl-chart/templates/secret.yaml
|
||||
# Uncomment and set your dashboard password below.
|
||||
# If not created, the password will be auto-generated and printed in the pod logs.
|
||||
#
|
||||
# apiVersion: v1
|
||||
# kind: Secret
|
||||
# metadata:
|
||||
# name: krawl-dashboard
|
||||
# namespace: krawl-system
|
||||
# labels:
|
||||
# app.kubernetes.io/name: krawl
|
||||
# app.kubernetes.io/instance: krawl
|
||||
# type: Opaque
|
||||
# stringData:
|
||||
# dashboard-password: "your-secret-password"
|
||||
Reference in New Issue
Block a user