Skip to content

Commit

Permalink
Merge pull request #52 from konvergence/master
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak authored May 17, 2021
2 parents 944ef13 + 560654d commit f03c142
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "1.26.1"
appVersion: "1.27.2"
description: Helm chart for fusionauth
type: application
name: fusionauth
Expand Down
22 changes: 20 additions & 2 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,40 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.kickstart.enabled }}

{{- if or .Values.kickstart.enabled .Values.extraVolumeMounts }}
volumeMounts:
{{- end }}

{{- if .Values.kickstart.enabled }}
- name: {{ template "fusionauth.fullname" . }}-config-volume
mountPath: /kickstart
{{- end }}

{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}

{{- if .Values.dnsConfig }}
dnsConfig:
{{- toYaml .Values.dnsConfig |nindent 8 }}
{{- end }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- if .Values.kickstart.enabled }}

{{- if or .Values.kickstart.enabled .Values.extraVolumes }}
volumes:
{{- end }}

{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}

{{- if .Values.kickstart.enabled }}
- name: {{ template "fusionauth.fullname" . }}-config-volume
configMap:
name: {{ template "fusionauth.fullname" . }}-kickstart-config
{{- end }}

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
16 changes: 14 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
# image.repository -- The name of the docker repository for fusionauth-app
repository: fusionauth/fusionauth-app
# image.repository -- The docker tag to pull for fusionauth-app
tag: 1.26.1
tag: 1.27.2
# image.pullPolicy -- Kubernetes image pullPolicy to use for fusionauth-app
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -79,6 +79,7 @@ search:
# search.password -- Password to use with basic auth when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
# password: ""


app:
# app.memory -- Configures the amount of memory Java can use
memory: 256M
Expand Down Expand Up @@ -224,4 +225,15 @@ startupProbe:
port: http
failureThreshold: 20
periodSeconds: 10
timeoutSeconds: 5
timeoutSeconds: 5

# extraVolumes -- Define extra Volumes. Allow to add existing claimName
extraVolumes: []
# - name: custom-css-data
# persistentVolumeClaim:
# claimName: custom-css-data

# extraVolumes -- Associate mountPath for each extraVolumes
extraVolumeMounts: []
# - name: custom-css-data
# mountPath: /usr/local/fusionauth/fusionauth-app/web/custom

0 comments on commit f03c142

Please sign in to comment.