mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
fix Consul DNS port parameter handling (#1312)
* fix Consul DNS port parameter handling * Update Chart.yaml
This commit is contained in:
committed by
Vic Iglesias
parent
733fb2573e
commit
d6bf67f2aa
@@ -1,6 +1,6 @@
|
||||
name: consul
|
||||
home: https://github.com/hashicorp/consul
|
||||
version: 0.3.0
|
||||
version: 0.3.1
|
||||
appVersion: 0.8.3
|
||||
description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and configuration easy.
|
||||
icon: https://raw.githubusercontent.com/hashicorp/consul/bce3809dfca37b883828c3715b84143dd71c0f85/website/source/assets/images/favicons/android-chrome-512x512.png
|
||||
|
||||
@@ -55,9 +55,12 @@ spec:
|
||||
protocol: "UDP"
|
||||
port: {{ .Values.SerfwanUdpPort }}
|
||||
- name: server
|
||||
port: {{ .Values.ServerPort }}
|
||||
- name: consuldns
|
||||
port: {{ .Values.ConsulDnsPort }}
|
||||
port: {{.Values.ServerPort}}
|
||||
- name: consuldns-tcp
|
||||
port: {{.Values.ConsulDnsPort}}
|
||||
- name: consuldns-udp
|
||||
protocol: "UDP"
|
||||
port: {{.Values.ConsulDnsPort}}
|
||||
clusterIP: None
|
||||
selector:
|
||||
component: "{{ .Release.Name }}-{{ .Values.Component }}"
|
||||
@@ -109,9 +112,12 @@ spec:
|
||||
protocol: "UDP"
|
||||
containerPort: {{ .Values.SerfwanUdpPort }}
|
||||
- name: server
|
||||
containerPort: {{ .Values.ServerPort }}
|
||||
- name: consuldns
|
||||
containerPort: {{ .Values.ConsulDnsPort }}
|
||||
containerPort: {{.Values.ServerPort}}
|
||||
- name: consuldns-tcp
|
||||
containerPort: {{.Values.ConsulDnsPort}}
|
||||
- name: consuldns-udp
|
||||
protocol: "UDP"
|
||||
containerPort: {{.Values.ConsulDnsPort}}
|
||||
resources:
|
||||
requests:
|
||||
cpu: "{{ .Values.Cpu }}"
|
||||
@@ -129,6 +135,8 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: DNSPORT
|
||||
value: "{{ .Values.ConsulDnsPort }}"
|
||||
volumeMounts:
|
||||
- name: datadir
|
||||
mountPath: /var/lib/consul
|
||||
@@ -183,7 +191,8 @@ spec:
|
||||
-advertise=${IP} \
|
||||
${PEERS} \
|
||||
${GOSSIP_KEY} \
|
||||
-client=0.0.0.0
|
||||
-client=0.0.0.0 \
|
||||
-dns-port=${DNSPORT}
|
||||
volumes:
|
||||
- name: gossip-key
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user