From c11372909d046adee34dcce33331f4493c2a32ad Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Fri, 17 Jul 2020 10:01:36 +0000 Subject: [PATCH] coreos-cincinnati: add new split binaries to the pod --- .../templates/deploymentconfig.yml | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/coreos-cincinnati/templates/deploymentconfig.yml b/roles/openshift-apps/coreos-cincinnati/templates/deploymentconfig.yml index 028430881e..213b6142db 100644 --- a/roles/openshift-apps/coreos-cincinnati/templates/deploymentconfig.yml +++ b/roles/openshift-apps/coreos-cincinnati/templates/deploymentconfig.yml @@ -39,11 +39,27 @@ spec: - containerPort: 8081 - containerPort: 9081 volumeMounts: - - name: "config" + - name: "stub-config" mountPath: "/etc/cincinnati/" readOnly: true + - name: "fcos-graph-builder" + image: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}" + args: [ + "/usr/local/bin/fcos-graph-builder" + ] + ports: + - containerPort: 5050 + - containerPort: 6060 + - name: "fcos-policy-engine" + image: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}" + args: [ + "/usr/local/bin/fcos-policy-engine" + ] + ports: + - containerPort: 5051 + - containerPort: 6061 volumes: - - name: "config" + - name: "stub-config" configMap: name: "coreos-cincinnati-config-stub" triggers: