c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-secrets.yml.j2

11 lines
212 B
Text
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: registry-secret
namespace: {{ registry_namespace }}
type: Opaque
data:
{% if registry_htpasswd != "" %}
htpasswd: {{ registry_htpasswd | b64encode }}
{% endif %}