mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 03:00:23 +00:00
33 lines
648 B
YAML
33 lines
648 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: container-registry-config
|
||
|
labels:
|
||
|
app: container-registry
|
||
|
stringData:
|
||
|
# /etc/docker/registry/config.yml
|
||
|
config.yml: |-
|
||
|
version: 0.1
|
||
|
log:
|
||
|
fields:
|
||
|
service: registry
|
||
|
storage:
|
||
|
cache:
|
||
|
blobdescriptor: inmemory
|
||
|
filesystem:
|
||
|
rootdirectory: /var/lib/registry
|
||
|
http:
|
||
|
addr: :5000
|
||
|
headers:
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
health:
|
||
|
storagedriver:
|
||
|
enabled: true
|
||
|
interval: 10s
|
||
|
threshold: 3
|
||
|
proxy:
|
||
|
remoteurl: https://docker.io
|
||
|
username: @@USERNAME@@
|
||
|
password: @@PASSWD@@
|