Skip to content

Commit 05510e5

Browse files
authored
Merge pull request #173 from flipt-io/gm/override-cmd
feat(charts/flipt): add support for custom args
2 parents bed7772 + 99d603b commit 05510e5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

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.70.0
6+
version: 0.70.1
77
appVersion: v1.50.0
88
maintainers:
99
- name: Flipt

charts/flipt/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ spec:
3535
{{- toYaml .Values.securityContext | nindent 12 }}
3636
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3737
imagePullPolicy: {{ .Values.image.pullPolicy }}
38+
command: ["/flipt"]
39+
{{- if .Values.flipt.args }}
40+
args:
41+
{{- toYaml .Values.flipt.args | nindent 12 }}
42+
{{- end }}
3843
ports:
3944
- name: http
4045
containerPort: {{ coalesce ((.Values.flipt.config).server).http_port .Values.flipt.httpPort .Values.containerPorts.http }}

charts/flipt/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ flipt:
137137
# grpcPort is the Flipt GRPC container port
138138
# @deprecated use containerPorts.grpc instead
139139
grpcPort: 9000
140+
args: []
140141
# extraEnvVars is a list of extra environment variables to set e.g.
141142
# - name: FLIPT_LOG_LEVEL
142143
# value: debug

0 commit comments

Comments
 (0)