Skip to content

Commit

Permalink
salt: Make sure container engine is ready before importing nginx
Browse files Browse the repository at this point in the history
In repo salt state we import the nginx image before creating the
repository manifest. Add a requisite to make the container engine is
ready before importing this nginx container image
  • Loading branch information
TeddyAndrieux committed Jan 8, 2021
1 parent 5e1a1a2 commit 18cc26a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions salt/metalk8s/repo/installed.sls
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@
include:
- .configured
- metalk8s.container-engine.running
Inject nginx image:
containerd.image_managed:
- name: {{ image_fullname }}
- archive_path: {{ archives[saltenv].path }}/images/{{ image_name }}-{{ image_version }}.tar
- require:
- sls: metalk8s.container-engine.running
Install repositories manifest:
metalk8s.static_pod_managed:
Expand Down

0 comments on commit 18cc26a

Please sign in to comment.