mirror of
https://github.com/booklore-app/booklore.git
synced 2025-12-23 22:28:11 -05:00
* first pass at a helm chart * more cleanup * adding more stuff * trying to generate the DB password * more fixes and hardening * Don't need to bake this in * switching these back to the defaults * more cleanup * bumping the app version to match release * some fixes * updating volumeMounts too * and disabling the PVCs if we aren't using them * fixing the spacing --------- Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
14 lines
391 B
YAML
14 lines
391 B
YAML
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "booklore.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "booklore.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
|
{{- end }}
|