fix: use atmosphere_images for an image manifest
diff --git a/roles/kubernetes/meta/main.yml b/roles/kubernetes/meta/main.yml
index c2c9f7e..ef85549 100644
--- a/roles/kubernetes/meta/main.yml
+++ b/roles/kubernetes/meta/main.yml
@@ -24,4 +24,5 @@
- focal
dependencies:
+ - role: defaults
- role: containerd
diff --git a/roles/kubernetes/templates/haproxy.yaml.j2 b/roles/kubernetes/templates/haproxy.yaml.j2
index e780b05..d47c015 100644
--- a/roles/kubernetes/templates/haproxy.yaml.j2
+++ b/roles/kubernetes/templates/haproxy.yaml.j2
@@ -6,7 +6,7 @@
spec:
containers:
- name: haproxy
- image: "{{ lookup('vexxhost.atmosphere.image_ref', 'haproxy', output='ref') }}"
+ image: "{{ atmosphere_images['haproxy'] | docker_image('ref') }}"
livenessProbe:
failureThreshold: 8
httpGet:
diff --git a/roles/kubernetes/templates/keepalived.yaml.j2 b/roles/kubernetes/templates/keepalived.yaml.j2
index 0312b42..3a350d7 100644
--- a/roles/kubernetes/templates/keepalived.yaml.j2
+++ b/roles/kubernetes/templates/keepalived.yaml.j2
@@ -7,7 +7,7 @@
spec:
containers:
- name: keepalived
- image: "{{ lookup('vexxhost.atmosphere.image_ref', 'keepalived', output='ref') }}"
+ image: "{{ atmosphere_images['keepalived'] | docker_image('ref') }}"
command: ["keepalived", "-f", "/etc/keepalived/keepalived.conf", "--dont-fork", "--log-console", "--log-detail", "--dump-conf"]
resources: {}
securityContext: