k3s-configs/infra/authelia/secret-generator.yaml

18 lines
387 B
YAML
Raw Permalink Normal View History

2023-11-28 21:05:30 +00:00
apiVersion: viaduct.ai/v1
kind: ksops
metadata:
name: authelia-secret-generator
annotations:
config.kubernetes.io/function: |
exec:
path: ksops
secretFrom:
- metadata:
name: authelia-users-secret
namespace: auth
annotations:
kustomize.config.k8s.io/needs-hash: "false"
type: Opaque
files:
- users_database.yaml=./users_database.enc.yaml