Skip to content

Commit

Permalink
hetzner: Fix metrics-server config to use internal IP
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Sep 28, 2022
1 parent b7f752f commit 26011ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- --secure-port=4443
- --kubelet-use-node-status-port
- --metric-resolution=15s
- --kubelet-preferred-address-types={{ if IsIPv6Only }}InternalIP{{ else }}Hostname{{ end }}
- --kubelet-preferred-address-types={{ if or IsIPv6Only (eq GetCloudProvider "hetzner")}}InternalIP{{ else }}Hostname{{ end }}
{{ if not (WithDefaultBool .MetricsServer.Insecure true) }}
- --tls-cert-file=/srv/tls.crt
- --tls-private-key-file=/srv/tls.key
Expand Down

0 comments on commit 26011ad

Please sign in to comment.