mirror of
https://github.com/coredns/coredns.git
synced 2025-12-20 09:05:14 -05:00
Add TLS support for k8s middleware (#289)
* Added TLS to k8s client Added options for TLS kubernetes client connection. * Fix k8s TLS config option parsing Brings config option parsing for kubernetes TLS in line with recent changes. * Put TLS config on one line Put kubernetes tls config on one line to match style established in etcd tls config. * Add tls option to README
This commit is contained in:
committed by
Miek Gieben
parent
b9cf32f7a9
commit
15297c8e63
@@ -40,7 +40,9 @@ This is the default kubernetes setup, with everything specified in full:
|
||||
# Example values: 60s, 5m, 1h
|
||||
resyncperiod 5m
|
||||
# Use url for k8s API endpoint
|
||||
endpoint http://localhost:8080
|
||||
endpoint https://k8sendpoint:8080
|
||||
# The tls cert, key and the CA cert filenames
|
||||
tls cert key cacert
|
||||
# Assemble k8s record names with the template
|
||||
template {service}.{namespace}.{zone}
|
||||
# Only expose the k8s namespace "demo"
|
||||
|
||||
Reference in New Issue
Block a user