File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ stringData:
4747 --max_log_size=256
4848 --undefok=num_cpus,enable_ysql
4949 --use_node_hostname_for_local_tserver=true
50- --rpc_bind_addresses={{ include "yugabyte.rpc_bind_address" $serviceValues }}
51- --server_broadcast_addresses={{ include "yugabyte.server_broadcast_address" $serviceValues }}
50+ --rpc_bind_addresses={{ $root.Values.master.rpcBindAddress | default ( include "yugabyte.rpc_bind_address" $serviceValues) }}
51+ --server_broadcast_addresses={{ $root.Values.master.serverBroadcastAddress | default ( include "yugabyte.server_broadcast_address" $serviceValues) }}
5252 --webserver_interface={{ include "yugabyte.webserver_interface" $serviceValues }}
5353{{- range $flag, $override := $root.Values.gflags.master }}
5454 --{{ $flag }}={{ $override }}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ stringData:
6262 --undefok=num_cpus,enable_ysql
6363 --use_node_hostname_for_local_tserver=true
6464 --cql_proxy_bind_address={{ include "yugabyte.cql_proxy_bind_address" $serviceValues }}
65- --rpc_bind_addresses={{ include "yugabyte.rpc_bind_address" $serviceValues }}
65+ --rpc_bind_addresses={{ $root.Values.tserver.rpcBindAddress | default ( include "yugabyte.rpc_bind_address" $serviceValues) }}
6666 --server_broadcast_addresses={{ $root.Values.tserver.serverBroadcastAddress | default (include "yugabyte.server_broadcast_address" $serviceValues) }}
6767 --webserver_interface={{ include "yugabyte.webserver_interface" $serviceValues }}
6868{{- range $flag, $override := $root.Values.gflags.tserver }}
Original file line number Diff line number Diff line change @@ -487,6 +487,15 @@ master:
487487 # fieldPath: status.hostIP
488488 extraEnv : []
489489
490+ # # Sets the --server_broadcast_addresses flag on the Master pods, no
491+ # # preflight checks are done for this address. You might need to add
492+ # # `use_private_ip: cloud` to the gflags.master and gflags.tserver.
493+ serverBroadcastAddress : " "
494+
495+ # # Sets the --rpc_bind_addresses flag on the Master pods, no
496+ # # preflight checks are done for this address.
497+ rpcBindAddress : " "
498+
490499 # secretEnv variables are used to expose secrets data as env variables in the master pod.
491500 # TODO Add namespace also to support copying secrets from other namespace.
492501 # secretEnv:
@@ -669,6 +678,10 @@ tserver:
669678 # # `use_private_ip: cloud` to the gflags.master and gflags.tserver.
670679 serverBroadcastAddress : " "
671680
681+ # # Sets the --rpc_bind_addresses flag on the TServer, no
682+ # # preflight checks are done for this address.
683+ rpcBindAddress : " "
684+
672685 # # Extra volumes
673686 # # extraVolumesMounts are mandatory for each extraVolumes.
674687 # # Ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#volume-v1-core
You can’t perform that action at this time.
0 commit comments