From 4c6887e36aaa3ddd858cb8d4064d0fbbf7f72162 Mon Sep 17 00:00:00 2001 From: Waleed Hammam Date: Thu, 27 Jul 2023 17:09:04 +0300 Subject: [PATCH] Add External Secret --- .../demo2-flux-system-externalsecret.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 eksctl-clusters/clusters/demo-secret-1/management/secrets/demo2-flux-system-externalsecret.yaml diff --git a/eksctl-clusters/clusters/demo-secret-1/management/secrets/demo2-flux-system-externalsecret.yaml b/eksctl-clusters/clusters/demo-secret-1/management/secrets/demo2-flux-system-externalsecret.yaml new file mode 100644 index 000000000..768a3df77 --- /dev/null +++ b/eksctl-clusters/clusters/demo-secret-1/management/secrets/demo2-flux-system-externalsecret.yaml @@ -0,0 +1,19 @@ +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + creationTimestamp: null + name: demo2 + namespace: flux-system +spec: + dataFrom: + - extract: + key: /dev/database + refreshInterval: 1h0m0s + secretStoreRef: + kind: SecretStore + name: aws-secret-store + target: + creationPolicy: Owner + name: demo2 +status: + refreshTime: null