diff --git a/Infrastructure/helm-charts/haspman/templates/deployment.yaml b/Infrastructure/helm-charts/haspman/templates/deployment.yaml index f57d9d5c..f7168fca 100644 --- a/Infrastructure/helm-charts/haspman/templates/deployment.yaml +++ b/Infrastructure/helm-charts/haspman/templates/deployment.yaml @@ -37,6 +37,13 @@ spec: secretKeyRef: name: {{ include "haspman.fullname" . }} key: DB_CONNECTION_STRING + - name: Storage__ConnectionString + valueFrom: + secretKeyRef: + name: {{ include "haspman.fullname" . }} + key: STORAGE_CONNECTION_STRING + - name: Storage__StorageContainerName + value: {{ required "A valid .Values.haspman.storageContainerName entry is required" .Values.haspman.storageContainerName | quote }} - name: Oidc__Authority value: {{ required "A valid .Values.haspman.oauth.authority entry required!" .Values.haspman.oauth.authority | quote }} - name: Oidc__Audience diff --git a/Infrastructure/helm-charts/haspman/templates/secret.yaml b/Infrastructure/helm-charts/haspman/templates/secret.yaml index 702236ba..846a30d3 100644 --- a/Infrastructure/helm-charts/haspman/templates/secret.yaml +++ b/Infrastructure/helm-charts/haspman/templates/secret.yaml @@ -7,4 +7,5 @@ metadata: type: Opaque data: CLIENT_SECRET: {{ required "A valid .Values.haspman.oauth.clientSecret entry required!" .Values.haspman.oauth.clientSecret | b64enc | quote }} - DB_CONNECTION_STRING: {{ required "A valid .Values.haspman.dbConnectionString entry required!" .Values.haspman.dbConnectionString | b64enc | quote }} \ No newline at end of file + DB_CONNECTION_STRING: {{ required "A valid .Values.haspman.dbConnectionString entry required!" .Values.haspman.dbConnectionString | b64enc | quote }} + STORAGE_CONNECTION_STRING: {{ required "A valid .Values.haspman.storageConnectionString entry required!" .Values.haspman.storageConnectionString | b64enc | quote }} \ No newline at end of file diff --git a/Infrastructure/helm-charts/haspman/values.yaml b/Infrastructure/helm-charts/haspman/values.yaml index ea9fed3e..4a1c9c60 100644 --- a/Infrastructure/helm-charts/haspman/values.yaml +++ b/Infrastructure/helm-charts/haspman/values.yaml @@ -72,6 +72,8 @@ affinity: {} haspman: environment: Dev dbConnectionString: "" + storageConnectionString: "" + storageContainerName: "" oauth: clientId: "" clientSecret: "" diff --git a/Web/appsettings.json b/Web/appsettings.json index 177aefc9..97ab6cc2 100644 --- a/Web/appsettings.json +++ b/Web/appsettings.json @@ -10,5 +10,5 @@ "Storage": { "ConnectionString": "", "StorageContainerName": "" - } + } }