mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-01 08:48:50 -03:30
Registry add TLS and authentication support (#8229)
* Add registry TLS support * Add registry configmap and htpasswd auth
This commit is contained in:
@@ -5,3 +5,27 @@ registry_storage_access_mode: "ReadWriteOnce"
|
||||
registry_disk_size: "10Gi"
|
||||
registry_port: 5000
|
||||
registry_replica_count: 1
|
||||
# name of kubernetes secret for registry TLS certs
|
||||
registry_tls_secret: ""
|
||||
|
||||
registry_htpasswd: ""
|
||||
|
||||
# registry configuration
|
||||
# see: https://docs.docker.com/registry/configuration/#list-of-configuration-options
|
||||
registry_config:
|
||||
version: 0.1
|
||||
log:
|
||||
fields:
|
||||
service: registry
|
||||
storage:
|
||||
cache:
|
||||
blobdescriptor: inmemory
|
||||
http:
|
||||
addr: :{{ registry_port }}
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
health:
|
||||
storagedriver:
|
||||
enabled: true
|
||||
interval: 10s
|
||||
threshold: 3
|
||||
|
||||
Reference in New Issue
Block a user