4ef2cf4c28
* Add registry TLS support * Add registry configmap and htpasswd auth
10 lines
212 B
Django/Jinja
10 lines
212 B
Django/Jinja
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: registry-secret
|
|
namespace: {{ registry_namespace }}
|
|
type: Opaque
|
|
data:
|
|
{% if registry_htpasswd != "" %}
|
|
htpasswd: {{ registry_htpasswd | b64encode }}
|
|
{% endif %}
|