Skip to content

Commit

Permalink
Introduce CASSANDRA_HOST_NAME env var for specifying host name to be …
Browse files Browse the repository at this point in the history
…verified during TLS handshake
  • Loading branch information
aromanovich committed Apr 19, 2021
1 parent 47d6aef commit 7948904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ persistence:
certData: {{ default .Env.CASSANDRA_CERT_DATA "" }}
keyData: {{ default .Env.CASSANDRA_CERT_KEY_DATA "" }}
enableHostVerification: {{ default .Env.CASSANDRA_HOST_VERIFICATION "false" }}
serverName: {{ default .Env.CASSANDRA_HOST_NAME "" }}
visibility:
cassandra:
hosts: "{{ default .Env.CASSANDRA_SEEDS "" }}"
Expand All @@ -47,6 +48,7 @@ persistence:
certData: {{ default .Env.CASSANDRA_CERT_DATA "" }}
keyData: {{ default .Env.CASSANDRA_CERT_KEY_DATA "" }}
enableHostVerification: {{ default .Env.CASSANDRA_HOST_VERIFICATION "false" }}
serverName: {{ default .Env.CASSANDRA_HOST_NAME "" }}
{{- else if eq $db "mysql" }}
default:
sql:
Expand Down

0 comments on commit 7948904

Please sign in to comment.