From c7f9aaca7ae2fcdb690373c2d568ce31cf9b31c6 Mon Sep 17 00:00:00 2001
From: Michelle Weidling <weidling@sub.uni-goettingen.de>
Date: Tue, 12 Sep 2023 09:06:02 +0200
Subject: [PATCH] fix: readd Vault annotations

---
 quiver-mongoapi-helm/Chart.yaml  |  2 +-
 quiver-mongoapi-helm/values.yaml | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/quiver-mongoapi-helm/Chart.yaml b/quiver-mongoapi-helm/Chart.yaml
index e5025f8..7170e4f 100644
--- a/quiver-mongoapi-helm/Chart.yaml
+++ b/quiver-mongoapi-helm/Chart.yaml
@@ -15,7 +15,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.3.1
+version: 0.3.2
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
diff --git a/quiver-mongoapi-helm/values.yaml b/quiver-mongoapi-helm/values.yaml
index f53edbb..84d58b3 100644
--- a/quiver-mongoapi-helm/values.yaml
+++ b/quiver-mongoapi-helm/values.yaml
@@ -10,16 +10,16 @@ image:
   # Overrides the image tag whose default is the chart appVersion.
   tag: "main"
 
-podAnnotations: {}
-#  vault.hashicorp.com/agent-inject: "true"
-#  vault.hashicorp.com/agent-inject-secret-credentials.txt: subugoe/ocrd-quiver/mongodb
-#  vault.hashicorp.com/agent-inject-template-credentials.txt: |
-#          {{- with secret "subugoe/ocrd-quiver/mongodb" -}}
-#          {{ .Data.data.users }}
-#          {{ .Data.data.usersPasswords }}
-#          {{- end -}}
-#  vault.hashicorp.com/secret-volume-path-credentials.txt: /var/lib/quiver
-#  vault.hashicorp.com/role: subugoe
+podAnnotations:
+  vault.hashicorp.com/agent-inject: "true"
+  vault.hashicorp.com/agent-inject-secret-credentials.txt: subugoe/ocrd-quiver/mongodb
+  vault.hashicorp.com/agent-inject-template-credentials.txt: |
+          {{- with secret "subugoe/ocrd-quiver/mongodb" -}}
+          {{ .Data.data.users }}
+          {{ .Data.data.usersPasswords }}
+          {{- end -}}
+  vault.hashicorp.com/secret-volume-path-credentials.txt: /var/lib/quiver
+  vault.hashicorp.com/role: subugoe
 
 
 imagePullSecrets: []
-- 
GitLab