aa9b8453a0
* registry: service add clusterIP, nodePort, loadBalancer support * modify camelcase name to underscore * Add registry service type compatibility check
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
---
|
|
registry_namespace: "kube-system"
|
|
registry_storage_class: ""
|
|
registry_storage_access_mode: "ReadWriteOnce"
|
|
registry_disk_size: "10Gi"
|
|
registry_port: 5000
|
|
registry_replica_count: 1
|
|
|
|
# type of service: ClusterIP, LoadBalancer or NodePort
|
|
registry_service_type: "ClusterIP"
|
|
# you can specify your cluster IP address when registry_service_type is ClusterIP
|
|
registry_service_cluster_ip: ""
|
|
# you can specify your cloud provider assigned loadBalancerIP when registry_service_type is LoadBalancer
|
|
registry_service_loadbalancer_ip: ""
|
|
# annotations for managing Cloud Load Balancers
|
|
registry_service_annotations: {}
|
|
# you can specify the node port when registry_service_type is NodePort
|
|
registry_service_nodeport: ""
|
|
|
|
# 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
|