From a9e645c0038b2e8e3290d35c8db85e9774d5a71c Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 27 Apr 2026 17:00:40 -0500 Subject: [PATCH] feat: add keys --- .../helm/dawarich/templates/external-secret.yaml | 12 ++++++++++++ clusters/cl01tl/helm/dawarich/values.yaml | 15 +++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/clusters/cl01tl/helm/dawarich/templates/external-secret.yaml b/clusters/cl01tl/helm/dawarich/templates/external-secret.yaml index 821516e39..9a482ca65 100644 --- a/clusters/cl01tl/helm/dawarich/templates/external-secret.yaml +++ b/clusters/cl01tl/helm/dawarich/templates/external-secret.yaml @@ -15,6 +15,18 @@ spec: remoteRef: key: /cl01tl/dawarich/key property: key + - secretKey: otp-primary-key + remoteRef: + key: /cl01tl/dawarich/key + property: otp-primary-key + - secretKey: otp-deterministic-key + remoteRef: + key: /cl01tl/dawarich/key + property: otp-deterministic-key + - secretKey: otp-derivation-salt + remoteRef: + key: /cl01tl/dawarich/key + property: otp-derivation-salt --- apiVersion: external-secrets.io/v1 diff --git a/clusters/cl01tl/helm/dawarich/values.yaml b/clusters/cl01tl/helm/dawarich/values.yaml index 48a472382..79aea2c87 100644 --- a/clusters/cl01tl/helm/dawarich/values.yaml +++ b/clusters/cl01tl/helm/dawarich/values.yaml @@ -83,6 +83,21 @@ dawarich: secretKeyRef: name: dawarich-key key: key + - name: OTP_ENCRYPTION_PRIMARY_KEY + valueFrom: + secretKeyRef: + name: dawarich-key + key: otp-primary-key + - name: OTP_ENCRYPTION_DETERMINISTIC_KEY + valueFrom: + secretKeyRef: + name: dawarich-key + key: otp-deterministic-key + - name: OTP_ENCRYPTION_KEY_DERIVATION_SALT + valueFrom: + secretKeyRef: + name: dawarich-key + key: otp-derivation-salt - name: RAILS_LOG_TO_STDOUT value: true - name: SELF_HOSTED