Skip to content

Commit

Permalink
feat: support dns resolving at helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
akostylev0 committed Jan 21, 2024
1 parent 5119245 commit fe1ec5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/ton-grpc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ spec:
- --ton-config-url
- {{ .Values.tonConfigUrl }}
{{- end }}
{{- if .Values.dnsResolve.host }}
- --dns-host
- {{ .Values.dnsResolve.host }}
- --dns-key
- {{ .Values.dnsResolve.key }}
{{- end }}
ports:
- name: http
containerPort: 50052
Expand Down
4 changes: 4 additions & 0 deletions charts/ton-grpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ metrics:
jobLabel: ""
relabelings: []
metricRelabelings: []

dnsResolve:
host: ~
key: ~

0 comments on commit fe1ec5d

Please sign in to comment.