Skip to content

Commit

Permalink
sss
Browse files Browse the repository at this point in the history
  • Loading branch information
knightXun committed Feb 16, 2020
1 parent 0abd540 commit f360f32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions kubernetes/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ Create the name of the service account to use
{{- end -}}

{{- define "metad.endpoints" -}}
{{- $thriftPort := toString (.Values.port.metad.thriftPort) }}
{{- range $key, $value := (.Values.Hosts) }}
{{ $value }}:{{ $thriftPort }},
{{- end -}}
{{- $node := .Values.MetadHosts | list }}
{{- join "," $node -}}
{{- end -}}
8 changes: 4 additions & 4 deletions kubernetes/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ port:
httpPort: 11000
http2Port: 11002

Hosts:
- 192.168.8.21
- 192.168.8.22
- 192.168.8.23
MetadHosts:
- 192.168.8.21:44500
- 192.168.8.22:44500
- 192.168.8.23:44500

## Storage Setting of Nebula-Metad and Nebula-Storaged
storage:
Expand Down

0 comments on commit f360f32

Please sign in to comment.