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

add extraArgs to values #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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/centrifugo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: centrifugo
description: Centrifugo is a scalable real-time messaging server in language-agnostic way
version: 11.8.5
version: 11.8.6
appVersion: 5.4.5
home: https://centrifugal.dev
icon: https://centrifugal.dev/img/favicon.png
Expand Down
5 changes: 4 additions & 1 deletion charts/centrifugo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ spec:
- "{{ .Values.grpcService.port }}"
- --uni_grpc_port
- "{{ .Values.uniGrpcService.port }}"
{{- range .Values.extraArgs }}
- {{ . | quote }}
{{- end }}
env:
- name: CENTRIFUGO_ADMIN_PASSWORD
valueFrom:
Expand Down Expand Up @@ -150,7 +153,7 @@ spec:
{{- range .Values.envSecret }}
- name: {{ .name }}
valueFrom:
secretKeyRef:
secretKeyRef:
{{- tpl (toYaml .secretKeyRef) $ | nindent 18 }}
{{- end }}
{{- range $key, $value := .Values.env }}
Expand Down
3 changes: 3 additions & 0 deletions charts/centrifugo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ priorityClassName: ""
# Annotations to be added to the deployment
annotations: {}

extraArgs: []
# - --config /centrifugo/myconfig.json

service:
## Service type
##
Expand Down