metrics/kustomize: update Kustomize examples

This commit is contained in:
Nico Rey 2022-02-21 12:51:25 -03:00
parent fbc1843889
commit 14e49885fb
3 changed files with 11 additions and 0 deletions

View File

@ -5,4 +5,5 @@ metadata:
data: data:
server_url: $(PUBLIC_PROTO)://$(PUBLIC_HOSTNAME) server_url: $(PUBLIC_PROTO)://$(PUBLIC_HOSTNAME)
listen_addr: "0.0.0.0:8080" listen_addr: "0.0.0.0:8080"
metrics_listen_addr: "127.0.0.1:8081"
ephemeral_node_inactivity_timeout: "30m" ephemeral_node_inactivity_timeout: "30m"

View File

@ -25,6 +25,11 @@ spec:
configMapKeyRef: configMapKeyRef:
name: headscale-config name: headscale-config
key: listen_addr key: listen_addr
- name: METRICS_LISTEN_ADDR
valueFrom:
configMapKeyRef:
name: headscale-config
key: metrics_listen_addr
- name: DERP_MAP_PATH - name: DERP_MAP_PATH
value: /vol/config/derp.yaml value: /vol/config/derp.yaml
- name: EPHEMERAL_NODE_INACTIVITY_TIMEOUT - name: EPHEMERAL_NODE_INACTIVITY_TIMEOUT

View File

@ -26,6 +26,11 @@ spec:
configMapKeyRef: configMapKeyRef:
name: headscale-config name: headscale-config
key: listen_addr key: listen_addr
- name: METRICS_LISTEN_ADDR
valueFrom:
configMapKeyRef:
name: headscale-config
key: metrics_listen_addr
- name: DERP_MAP_PATH - name: DERP_MAP_PATH
value: /vol/config/derp.yaml value: /vol/config/derp.yaml
- name: EPHEMERAL_NODE_INACTIVITY_TIMEOUT - name: EPHEMERAL_NODE_INACTIVITY_TIMEOUT