Skip to content

Commit

Permalink
add possibility for customizing dnsconfig (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurymuski authored Oct 30, 2023
1 parent e21d7a5 commit c38621a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
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.0.9
version: 11.0.10
appVersion: 5.1.0
home: https://centrifugal.dev
icon: https://centrifugal.dev/img/favicon.png
Expand Down
9 changes: 9 additions & 0 deletions charts/centrifugo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,12 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- end }}
{{- if .Values.dnsConfig }}
dnsConfig:
{{- with .Values.dnsConfig }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/centrifugo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ tolerations: []

affinity: {}

## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsPolicy: ""
dnsConfig: {}

# Additional environment variables to be passed to Centrifugo container.
env: {}

Expand Down

0 comments on commit c38621a

Please sign in to comment.