Clean Code
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: registry-secret
|
||||
namespace: {{ registry_namespace }}
|
||||
type: Opaque
|
||||
data:
|
||||
{% if registry_htpasswd != "" %}
|
||||
htpasswd: {{ registry_htpasswd | b64encode }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user