Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helm/flowforge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ For other values please refer to the documentation below.
- `forge.podLabels` allows to add custom labels to the core application pod (default `{}`)
- `forge.replicas` allows the number of instances of the FlowFuse App to be set. Scaling only supported with ingress-nginx controller (default `1`)
- `forge.tolerations` allows to configure [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for the core application deployment (default `[]`)
- `forge.priorityClassName` allows to set [priorityClassName](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/) for all deployments created by this Helm chart (default not set)


note: `forge.projectSelector` and `forge.managementSelector` defaults mean that you must have at least 2 nodes in your cluster and they need to be labeled before installing.
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/templates/broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.forge.priorityClassName }}
priorityClassName: "{{ .Values.forge.priorityClassName}}"
{{- end }}
automountServiceAccountToken: false
securityContext:
{{- toYaml .Values.forge.broker.podSecurityContext | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
prometheus.io/path: "/metrics"
{{- end }}
spec:
{{- if .Values.forge.priorityClassName }}
priorityClassName: "{{ .Values.forge.priorityClassName}}"
{{- end }}
serviceAccountName: flowforge
automountServiceAccountToken: true
securityContext:
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/templates/file-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
prometheus.io/path: "/metrics"
{{- end }}
spec:
{{- if .Values.forge.priorityClassName }}
priorityClassName: "{{ .Values.forge.priorityClassName}}"
{{- end }}
automountServiceAccountToken: false
securityContext:
{{- toYaml .Values.forge.fileStore.podSecurityContext | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@
}
}
},
"priorityClassName": {
"type": "string"
},
"livenessProbe": {
"type": "object",
"properties": {
Expand Down
2 changes: 2 additions & 0 deletions helm/flowforge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ forge:

tolerations: []

priorityClassName: ""

logPassthrough: false
customHostname:
enabled: false
Expand Down
Loading