Skip to content

Commit

Permalink
Merge pull request #110 from jalaziz/add-volumes-support
Browse files Browse the repository at this point in the history
feat: add support for extra volumes
  • Loading branch information
GeorgeMac authored Nov 13, 2023
2 parents 0f0614c + 401c2f2 commit d4ffdac
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/flipt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: flipt
home: https://flipt.io
description: Flipt is an open-source, self-hosted feature flag solution.
type: application
version: 0.44.1
version: 0.44.2
appVersion: v1.30.1
maintainers:
- name: Flipt
Expand Down
6 changes: 6 additions & 0 deletions charts/flipt/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ spec:
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{ if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
livenessProbe:
httpGet:
path: /health
Expand All @@ -80,6 +83,9 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
12 changes: 12 additions & 0 deletions charts/flipt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,15 @@ metrics:
scheme: http
# -- ServiceMonitor will use these tlsConfig settings to make the health check requests
tlsConfig: null

# extraVolumeMounts is a list of extra volumes to mount to the flipt container
# - name: flipt-git-ssh-key
# mountPath: /etc/flipt/ssh.key
# subPath: ssh.key
extraVolumeMounts: []

# extraVolumes is a list of extra volumes to mount to the pod
# - name: flipt-git-ssh-key
# secret:
# secretName: flit-git-ssh-key-secret
extraVolumes: []

0 comments on commit d4ffdac

Please sign in to comment.