From 48cd117bb9097d81cbcfb968b2f1277f5e736a2b Mon Sep 17 00:00:00 2001
From: Victor Lacasse-Beaudoin <vlbeaudoin@agecem.org>
Date: Sun, 23 Feb 2025 14:58:08 -0500
Subject: [PATCH] kubernetes: ajouter example de config par kubernetes secret

---
 kubernetes/example-secret.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 kubernetes/example-secret.yaml

diff --git a/kubernetes/example-secret.yaml b/kubernetes/example-secret.yaml
new file mode 100644
index 0000000..ffeef1f
--- /dev/null
+++ b/kubernetes/example-secret.yaml
@@ -0,0 +1,25 @@
+apiVersion: v1
+kind: Secret
+metadata:
+  name: agecemorg-config-secret
+type: Opaque
+stringData:
+  config.yaml: |
+    server:
+      port: 8080
+      documents:
+        endpoint: 's3.example.com:443'
+        use_ssl: true
+        access_key_id: 'CHANGE_ME'
+        secret_access_key: 'CHANGE_ME'
+        buckets:
+          'politiques': 'Politiques'
+          'reglements': 'Règlements'
+          'formulaires': 'Formulaires'
+      api:
+        auth: true
+        key: 'CHANGE_ME'
+      admin:
+        auth: true
+        username: 'CHANGE_ME'
+        password: 'CHANGE_ME'