c12s-kubespray/roles/kubernetes-apps/registry/defaults/main.yml

32 lines
701 B
YAML
Raw Normal View History

---
registry_namespace: "kube-system"
2018-02-09 07:47:57 +00:00
registry_storage_class: ""
registry_storage_access_mode: "ReadWriteOnce"
2018-02-09 07:47:57 +00:00
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