mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Merge pull request #273 from kubespray/default_to_insecure_registry
example env allow insecure-registry
This commit is contained in:
@@ -124,11 +124,13 @@ dns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(2)|ipaddr('address')
|
|||||||
# balance roundrobin
|
# balance roundrobin
|
||||||
# apiserver_loadbalancer_domain_name: "lb-apiserver.kubernetes.local"
|
# apiserver_loadbalancer_domain_name: "lb-apiserver.kubernetes.local"
|
||||||
|
|
||||||
##Set these proxy values in order to update docker daemon to use proxies
|
## Set these proxy values in order to update docker daemon to use proxies
|
||||||
#http_proxy: ""
|
# http_proxy: ""
|
||||||
#https_proxy: ""
|
# https_proxy: ""
|
||||||
#no_proxy: ""
|
# no_proxy: ""
|
||||||
|
|
||||||
##A string of extra options to pass to the docker daemon.
|
## A string of extra options to pass to the docker daemon.
|
||||||
##This string should be exactly as you wish it to appear.
|
## This string should be exactly as you wish it to appear.
|
||||||
#docker_options: ""
|
## An obvious use case is allowing insecure-registry access
|
||||||
|
## to self hosted registries like so:
|
||||||
|
docker_options: "--insecure-registry={{ kube_service_addresses }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user