Skip to content

Commit 81f9cf5

Browse files
authored
fix: allow to set pod priority (#242)
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
1 parent fcc7fb4 commit 81f9cf5

6 files changed

Lines changed: 15 additions & 3 deletions

File tree

charts/flipt-v2/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55
Flipt v2 is a Git-native, open-source feature flag solution with enhanced
66
authentication and multi-environment support.
77
type: application
8-
version: 2.1.0
8+
version: 2.1.1
99
appVersion: v2.1.0
1010
maintainers:
1111
- name: Flipt

charts/flipt-v2/templates/deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ spec:
3535
imagePullSecrets:
3636
{{- toYaml . | nindent 8 }}
3737
{{- end }}
38+
{{- if .Values.priorityClassName }}
39+
priorityClassName: {{ .Values.priorityClassName }}
40+
{{- end}}
3841
serviceAccountName: {{ include "flipt-v2.serviceAccountName" . }}
3942
securityContext:
4043
{{- toYaml .Values.podSecurityContext | nindent 8 }}
@@ -139,4 +142,4 @@ spec:
139142
{{- with .Values.topologySpreadConstraints }}
140143
topologySpreadConstraints:
141144
{{- toYaml . | nindent 8 }}
142-
{{- end }}
145+
{{- end }}

charts/flipt-v2/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ podSecurityContext:
3636
runAsGroup: 1000
3737
fsGroup: 1000
3838

39+
# Specifies whether a specific priorityClassName should be used
40+
# priorityClassName: ""
41+
3942
securityContext:
4043
allowPrivilegeEscalation: false
4144
capabilities:

charts/flipt/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: flipt
33
home: https://flipt.io
44
description: Flipt is an open-source, self-hosted feature flag solution.
55
type: application
6-
version: 0.86.0
6+
version: 0.86.1
77
appVersion: v1.60.0
88
maintainers:
99
- name: Flipt

charts/flipt/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ spec:
3535
imagePullSecrets:
3636
{{- toYaml . | nindent 8 }}
3737
{{- end }}
38+
{{- if .Values.priorityClassName }}
39+
priorityClassName: {{ .Values.priorityClassName }}
40+
{{- end}}
3841
serviceAccountName: {{ include "flipt.serviceAccountName" . }}
3942
securityContext:
4043
{{- toYaml .Values.podSecurityContext | nindent 8 }}

charts/flipt/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ podSecurityContext:
3636
runAsGroup: 1000
3737
fsGroup: 1000
3838

39+
# Specifies whether a specific priorityClassName should be used
40+
# priorityClassName: ""
41+
3942
securityContext:
4043
allowPrivilegeEscalation: false
4144
capabilities:

0 commit comments

Comments
 (0)