Skip to content

Commit

Permalink
add comment to test. remove extra lines from config map.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Dec 12, 2023
1 parent a91564b commit a083657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion acceptance/tests/segments/segments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ func TestSegments_MeshWithAgentfulClients(t *testing.T) {
"server.replicas": "3",
"server.extraConfig": `"{\"segments\": [{\"name\":\"alpha1\"\,\"bind\":\"0.0.0.0\"\,\"port\":8303}]}"`,

"client.enabled": "true",
"client.enabled": "true",
// need to configure clients to connect to port 8303 that the alpha segment was configured on rather than
// the standard serf LAN port.
"client.join[0]": "${CONSUL_FULLNAME}-server-0.${CONSUL_FULLNAME}-server.${NAMESPACE}.svc:8303",
"client.join[1]": "${CONSUL_FULLNAME}-server-1.${CONSUL_FULLNAME}-server.${NAMESPACE}.svc:8303",
"client.join[2]": "${CONSUL_FULLNAME}-server-2.${CONSUL_FULLNAME}-server.${NAMESPACE}.svc:8303",
Expand Down
2 changes: 0 additions & 2 deletions charts/consul/templates/client-config-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ data:
"log_level": "{{ .Values.client.logLevel | upper }}"
{{- end }}
}
central-config.json: |-
{
"enable_central_service_config": true
}
{{- if .Values.connectInject.enabled }}
{{/* We set check_update_interval to 0s so that check output is immediately viewable
in the UI. */}}
Expand Down

0 comments on commit a083657

Please sign in to comment.