latest
This commit is contained in:
+2
-3
@@ -26,15 +26,14 @@
|
||||
- luanti_wasm_ingress_annotations is mapping
|
||||
fail_msg: Invalid Luanti identity, integer/boolean settings, image pull policy, or tmp size.
|
||||
|
||||
- name: Validate explicit versioned Luanti images
|
||||
- name: Validate explicit Luanti image references
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- item is string
|
||||
- item | length > 0
|
||||
- item is match('^(?:[a-z0-9]+(?:[.-][a-z0-9]+)*(?::[0-9]+)?/)?[a-z0-9]+(?:[._-][a-z0-9]+)*(?:/[a-z0-9]+(?:[._-][a-z0-9]+)*)*(?::[A-Za-z0-9_][A-Za-z0-9_.-]{0,127})?(?:@sha256:[a-f0-9]{64})?$')
|
||||
- item is search(':[A-Za-z0-9_][A-Za-z0-9_.-]*$') or item is search('@sha256:[a-f0-9]{64}$')
|
||||
- item is not search('(?i):latest(?:@|$)')
|
||||
fail_msg: Supply separate web/proxy image references with an explicit non-latest tag or sha256 digest.
|
||||
fail_msg: Supply separate web/proxy image references with an explicit tag or sha256 digest.
|
||||
loop: "{{ [luanti_wasm_web_image, luanti_wasm_proxy_image] }}"
|
||||
|
||||
- name: Validate Luanti list settings
|
||||
|
||||
Reference in New Issue
Block a user