Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(charts/flipt): add support for custom args #173

Merged
merged 2 commits into from
Sep 18, 2024
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
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
Loading