Skip to content

Commit

Permalink
grab endpoint port straight from values.yaml instead of going thru a cm
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Oct 24, 2023
1 parent e28f727 commit 92accfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion charts/tezos-signer-forwarder/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
name: tezos-signer-forwarder-config-{{ $name }}-{{ $i }}
data:
authorized_keys: "{{ $endpoint.ssh_pubkey }} signer"
tunnel_endpoint_port: "{{ $endpoint.tunnel_endpoint_port }}"
---
{{- end }}
{{- end }}
6 changes: 1 addition & 5 deletions charts/tezos-signer-forwarder/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ spec:
readOnly: true
env:
- name: TUNNEL_ENDPOINT_PORT
valueFrom:
configMapKeyRef:
name: tezos-signer-forwarder-config-{{ $name }}-{{ $i }}
defaultMode: 0400
key: tunnel_endpoint_port
value: {{ $endpoint.tunnel_endpoint_port }}
ports:
- name: signer
containerPort: {{ $signer_port }}
Expand Down

0 comments on commit 92accfe

Please sign in to comment.