diff --git a/playbooks/openshift-apps/koschei.yml b/playbooks/openshift-apps/koschei.yml index 397ca6c202..730f0b7f5d 100644 --- a/playbooks/openshift-apps/koschei.yml +++ b/playbooks/openshift-apps/koschei.yml @@ -21,6 +21,10 @@ app: koschei template: buildconfig.yml objectname: buildconfig.yml + - role: openshift/object + app: koschei + template: configmap.yml + objectname: configmap.yml - role: openshift/object app: koschei template: service.yml diff --git a/roles/openshift-apps/koschei/templates/configmap.yml b/roles/openshift-apps/koschei/templates/configmap.yml new file mode 100644 index 0000000000..9dbea01916 --- /dev/null +++ b/roles/openshift-apps/koschei/templates/configmap.yml @@ -0,0 +1,8 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: koschei-configmap + labels: + app: koschei +data: {} diff --git a/roles/openshift-apps/koschei/templates/deploymentconfig.yml b/roles/openshift-apps/koschei/templates/deploymentconfig.yml index 4436629fb1..7fba6d2dbb 100644 --- a/roles/openshift-apps/koschei/templates/deploymentconfig.yml +++ b/roles/openshift-apps/koschei/templates/deploymentconfig.yml @@ -49,7 +49,10 @@ items: httpGet: path: / port: 80 - volumes: {} + volumes: + - name: config-volume + configMap: + name: bodhi-configmap triggers: {} kind: List metadata: {}