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 %}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns.*$','') }}
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns(?!/coredns).*$','') }}
|
||||
imageTag: {{ coredns_image_tag }}
|
||||
|
|
|
@ -84,7 +84,7 @@ etcd:
|
|||
{% endif %}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns.*$','') }}
|
||||
imageRepository: {{ coredns_image_repo | regex_replace('/coredns(?!/coredns).*$','') }}
|
||||
imageTag: {{ coredns_image_tag }}
|
||||
networking:
|
||||
dnsDomain: {{ dns_domain }}
|
||||
|
|
Loading…
Reference in a new issue