4ef2cf4c28
* Add registry TLS support * Add registry configmap and htpasswd auth
10 lines
239 B
Django/Jinja
10 lines
239 B
Django/Jinja
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: registry-config
|
|
namespace: {{ registry_namespace }}
|
|
{% if registry_config %}
|
|
data:
|
|
config.yml: |-
|
|
{{ registry_config | to_yaml(indent=2, width=1337) | indent(width=4) }}
|
|
{% endif %}
|