Skip to content

Commit

Permalink
Re-enable streaming for clients
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow committed Nov 18, 2021
1 parent 53a6403 commit 9908d92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions charts/consul/templates/client-config-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ data:
in the UI. */}}
config.json: |-
{
"check_update_interval": "0s",
"use_streaming_backend": false
"check_update_interval": "0s"
}
{{- end }}
{{- end }}
6 changes: 2 additions & 4 deletions charts/consul/templates/create-federation-secret-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ spec:
mountPath: /consul/tls/client/ca
readOnly: true
{{- end }}
{{- if (or .Values.global.gossipEncryption.autoGenerate
(and .Values.global.gossipEncryption.secretName .Values.global.gossipEncryption.secretKey)) }}
{{- if (or .Values.global.gossipEncryption.autoGenerate (and .Values.global.gossipEncryption.secretName .Values.global.gossipEncryption.secretKey)) }}
- name: gossip-encryption-key
mountPath: /consul/gossip
readOnly: true
Expand All @@ -127,8 +126,7 @@ spec:
consul-k8s-control-plane create-federation-secret \
-log-level={{ .Values.global.logLevel }} \
-log-json={{ .Values.global.logJSON }} \
{{- if (or .Values.global.gossipEncryption.autoGenerate (and
.Values.global.gossipEncryption.secretName .Values.global.gossipEncryption.secretKey)) }}
{{- if (or .Values.global.gossipEncryption.autoGenerate (and .Values.global.gossipEncryption.secretName .Values.global.gossipEncryption.secretKey)) }}
-gossip-key-file=/consul/gossip/gossip.key \
{{- end }}
{{- if .Values.global.acls.createReplicationToken }}
Expand Down
2 changes: 1 addition & 1 deletion charts/consul/test/unit/client-daemonset.bats
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ load _helpers
--set 'connectInject.enabled=true' \
. | tee /dev/stderr |
yq -r '.spec.template.metadata.annotations."consul.hashicorp.com/config-checksum"' | tee /dev/stderr)
[ "${actual}" = 1b0252854bdef3197902ee928716ebd691ef39b173a19ad0d4e883ddb0443b88 ]
[ "${actual}" = b0be8c9b3ae8692a4e393b93976c55988e95cb9d9dae96fbd8626f3f5b6c404b ]
}

#--------------------------------------------------------------------
Expand Down

0 comments on commit 9908d92

Please sign in to comment.