Prefix openshift/import-image

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-11-28 18:16:55 +01:00
parent e5a47b8e0d
commit c5f8fe7189
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
3 changed files with 5 additions and 3 deletions

View file

@ -32,7 +32,8 @@
- name: Import upstream image into OpenShift
include_role: name=openshift/import-image
vars:
imagestreamname: koschei
import_image_app: "{{ app }}"
import_image_imagestreamname: koschei
- name: Run database migrations
include_role: name=openshift-apps/koschei/job

View file

@ -19,7 +19,8 @@
- name: Import upstream image into OpenShift
include_role: name=openshift/import-image
vars:
imagestreamname: koschei
import_image_app: "{{ app }}"
import_image_imagestreamname: koschei
- name: Restart all deployments
shell: oc -n koschei rollout restart deploy

View file

@ -1,3 +1,3 @@
---
- name: Run `oc import-image`
shell: oc -n {{app}} import-image {{imagestreamname}}
shell: oc -n {{import_image_app}} import-image {{import_image_imagestreamname}}