From f87e727b4006175cba2285ca9ed9cebf3f7091ea Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 8 Feb 2025 19:02:07 -0600 Subject: [PATCH] update --- infra/longhorn/templates/secrets.yaml | 46 +++++++++++++-------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/infra/longhorn/templates/secrets.yaml b/infra/longhorn/templates/secrets.yaml index d7cb88b..8bbe2fa 100644 --- a/infra/longhorn/templates/secrets.yaml +++ b/infra/longhorn/templates/secrets.yaml @@ -1,23 +1,23 @@ -#apiVersion: external-secrets.io/v1beta1 -#kind: ExternalSecret -#metadata: -# name: external-longhorn-backup-token-secret -#spec: -# secretStoreRef: -# name: vault -# kind: ClusterSecretStore -# target: -# name: longhorn-backup-token-secret -# data: -# - secretKey: AWS_ACCESS_KEY_ID -# remoteRef: -# key: secrets/longhorn/backup -# property: AWS_ACCESS_KEY_ID -# - secretKey: AWS_ENDPOINTS -# remoteRef: -# key: secrets/longhorn/backup -# property: AWS_ENDPOINTS -# - secretKey: AWS_SECRET_ACCESS_KEY -# remoteRef: -# key: secrets/longhorn/backup -# property: AWS_SECRET_ACCESS_KEY +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: external-longhorn-backup-token-secret +spec: + secretStoreRef: + name: vault + kind: ClusterSecretStore + target: + name: longhorn-backup-token-secret + data: + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + key: kv/longhorn/backup + property: AWS_ACCESS_KEY_ID + - secretKey: AWS_ENDPOINTS + remoteRef: + key: kv/longhorn/backup + property: AWS_ENDPOINTS + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + key: kv/longhorn/backup + property: AWS_SECRET_ACCESS_KEY