Skip to content

Commit

Permalink
Add NATS creds to server deployment
Browse files Browse the repository at this point in the history
This commit adds NATS creds to the server deployment in the Helm
chart.

Signed-off-by: John Schaeffer <[email protected]>
  • Loading branch information
jnschaeffer committed Jan 16, 2024
1 parent ea77d2e commit 534a7bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions chart/permissions-api/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
secret:
secretName: {{ . }}
{{- end }}
{{- with .Values.config.events.nats.credsSecretName }}
- name: nats-creds
secret:
secretName: {{ . }}
{{- end }}
{{- with .Values.config.spicedb.policyConfigMapName }}
- name: policy-file
configMap:
Expand All @@ -27,6 +32,10 @@
- name: spicedb-ca
mountPath: /etc/ssl/spicedb/
{{- end }}
{{- if .Values.config.events.nats.credsSecretName }}
- name: nats-creds
mountPath: /nats
{{- end }}
{{- if .Values.config.spicedb.policyConfigMapName }}
- name: policy-file
mountPath: /policy
Expand Down

0 comments on commit 534a7bf

Please sign in to comment.