fix(coredns): make sure to keep coredns repository namespace (#8572)
fix: regex fix: wrong regex_replace usage
This commit is contained in:
parent
a090038d02
commit
ee079f4740
2 changed files with 2 additions and 2 deletions
|
@ -21,5 +21,5 @@ etcd:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
dns:
|
dns:
|
||||||
type: CoreDNS
|
type: CoreDNS
|
||||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns.*$','') }}
|
imageRepository: {{ coredns_image_repo | regex_replace('/coredns(?!/coredns).*$','') }}
|
||||||
imageTag: {{ coredns_image_tag }}
|
imageTag: {{ coredns_image_tag }}
|
||||||
|
|
|
@ -84,7 +84,7 @@ etcd:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
dns:
|
dns:
|
||||||
type: CoreDNS
|
type: CoreDNS
|
||||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns.*$','') }}
|
imageRepository: {{ coredns_image_repo | regex_replace('/coredns(?!/coredns).*$','') }}
|
||||||
imageTag: {{ coredns_image_tag }}
|
imageTag: {{ coredns_image_tag }}
|
||||||
networking:
|
networking:
|
||||||
dnsDomain: {{ dns_domain }}
|
dnsDomain: {{ dns_domain }}
|
||||||
|
|
Loading…
Reference in a new issue