Skip to content

Commit

Permalink
feat(charts/flipt): add support for custom args
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMac committed Sep 18, 2024
1 parent bed7772 commit f872e34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/flipt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: flipt
home: https://flipt.io
description: Flipt is an open-source, self-hosted feature flag solution.
type: application
version: 0.70.0
version: 0.70.1
appVersion: v1.50.0
maintainers:
- name: Flipt
Expand Down
5 changes: 5 additions & 0 deletions charts/flipt/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: "/flipt"
{{- if .Values.flipt.args }}
args:
{{- toYaml .Values.flipt.args | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ coalesce ((.Values.flipt.config).server).http_port .Values.flipt.httpPort .Values.containerPorts.http }}
Expand Down
1 change: 1 addition & 0 deletions charts/flipt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ flipt:
# grpcPort is the Flipt GRPC container port
# @deprecated use containerPorts.grpc instead
grpcPort: 9000
args: []
# extraEnvVars is a list of extra environment variables to set e.g.
# - name: FLIPT_LOG_LEVEL
# value: debug
Expand Down

0 comments on commit f872e34

Please sign in to comment.