koschei: Define ImageStream
This commit is contained in:
parent
8b1db147ba
commit
87ac0c75d0
4 changed files with 13 additions and 4 deletions
|
@ -39,6 +39,7 @@
|
||||||
template: "{{ item }}.yml"
|
template: "{{ item }}.yml"
|
||||||
objectname: "{{ item }}.yml"
|
objectname: "{{ item }}.yml"
|
||||||
with_items:
|
with_items:
|
||||||
|
- imagestream
|
||||||
- frontend-config
|
- frontend-config
|
||||||
- backend-config
|
- backend-config
|
||||||
- frontend-deployment
|
- frontend-deployment
|
||||||
|
|
|
@ -18,8 +18,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{service}}
|
- name: {{service}}
|
||||||
image: "{{ koschei_container_image }}"
|
image: koschei:latest
|
||||||
imagePullPolicy: Always
|
|
||||||
command: [/usr/bin/koschei-{{service}}]
|
command: [/usr/bin/koschei-{{service}}]
|
||||||
env:
|
env:
|
||||||
- name: KRB5_CONFIG
|
- name: KRB5_CONFIG
|
||||||
|
|
|
@ -18,8 +18,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: "{{ koschei_container_image }}"
|
image: koschei:latest
|
||||||
imagePullPolicy: Always
|
|
||||||
command: [/usr/bin/koschei-frontend]
|
command: [/usr/bin/koschei-frontend]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
10
roles/openshift-apps/koschei/templates/imagestream.yml
Normal file
10
roles/openshift-apps/koschei/templates/imagestream.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ImageStream
|
||||||
|
metadata:
|
||||||
|
name: koschei
|
||||||
|
spec:
|
||||||
|
tags:
|
||||||
|
- name: latest
|
||||||
|
from:
|
||||||
|
kind: DockerImage
|
||||||
|
name: "{{ koschei_container_image }}"
|
Loading…
Add table
Add a link
Reference in a new issue