Skip to content

Commit 39224ce

Browse files
authored
feat(flipt-v2): add option to set additional labels on PVC (#261)
1 parent 7bf62d0 commit 39224ce

3 files changed

Lines changed: 6 additions & 1 deletion

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.6.0
8+
version: 2.6.1
99
appVersion: v2.6.0
1010
maintainers:
1111
- name: Flipt

charts/flipt-v2/templates/pvc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
labels:
88
{{- include "flipt-v2.labels" . | nindent 4 }}
9+
{{- with .Values.persistence.labels }}
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
912
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
1013
annotations:
1114
{{- if .Values.persistence.annotations }}

charts/flipt-v2/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ containerPorts:
144144
persistence:
145145
## enabled enables persistence using Persistent Volume Claims
146146
enabled: false
147+
## labels are additional custom labels for the PVC │
148+
labels: {}
147149
## annotations are additional custom annotations for the PVC
148150
annotations: {}
149151
## existingClaim sets the name of an existing PVC to use for persistence

0 commit comments

Comments
 (0)