Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,15 @@ spec:
value: "{{ .ChainPeers }}"
- name: NODE_KEY
value: "{{ .NodeKey }}"
{% if controller_remote_signer_enabled %}
- name: REMOTE_SIGNER_ENABLED
value: "true"
- name: PRIV_VALIDATOR_LADDR
value: "tcp://0.0.0.0:26658"
{% else %}
- name: VALIDATOR_KEY
value: "{{ .ValidatorKey }}"
{% endif %}
- name: OPTS
value: "--pruning %%% pruning_strategy %%% --json-rpc.gas-cap 50000004 --api.enable=false --grpc.enable=true"
- name: CHAINID
Expand Down Expand Up @@ -200,6 +207,10 @@ spec:
- containerPort: 8545
- containerPort: 8546
- containerPort: 26660
{% if controller_remote_signer_enabled %}
- containerPort: 26658
name: privval
{% endif %}
resources:
%%% controller_chainlet_resources | to_nice_yaml(indent=2) | indent(12, true) | trim %%%
volumeMounts:
Expand Down
5 changes: 4 additions & 1 deletion ansible/roles/controller/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ controller_relayer_version: "0.4.2"
controller_relayer_wait_time: "0"
# Load Balancer Configuration
controller_chainlet_external_traffic_policy: Cluster
controller_chainlet_allocate_loadbalancer_node_ports: false
controller_chainlet_allocate_loadbalancer_node_ports: false

# Signer
controller_remote_signer_enabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ spec:
value: "%%% stake_owner_address %%%"
- name: KEYPASSWD
value: "%%% keychain_password %%%"
{% if controller_remote_signer_enabled %}
- name: REMOTE_SIGNER_ENABLED
value: "true"
- name: PRIV_VALIDATOR_LADDR
value: "tcp://0.0.0.0:26658"
{% endif %}
- name: AWS_ACCESS_KEY_ID
value: "%%% aws_access_key_id %%%"
- name: AWS_SECRET_ACCESS_KEY
Expand Down Expand Up @@ -132,6 +138,10 @@ spec:
- containerPort: 8545
- containerPort: 8546
- containerPort: 26660
{% if controller_remote_signer_enabled %}
- containerPort: 26658
name: privval
{% endif %}
resources:
%%% controller_chainlet_resources | to_nice_yaml(indent=2) | indent(12, true) | trim %%%
volumeMounts:
Expand Down