system-config/playbooks/roles/registry/templates/registry.yaml.j2

17 lines
430 B
Django/Jinja

registry:
address: '0.0.0.0'
port: 5000
public-url: https://insecure-ci-registry.opendev.org:5000
tls-cert: /certs/domain.crt
tls-key: /certs/domain.key
secret: {{ registry_token_secret }}
users:
- name: {{ registry_user }}
pass: {{ registry_password }}
access: write
storage:
driver: swift
cloud: registry
container: {{ registry_swift_container }}
expiration: 15552000 # 180 days