From fd9fd09419c0fe5c97d4a04ac80e65b68ce830f8 Mon Sep 17 00:00:00 2001 From: Adam Piasecki Date: Tue, 20 May 2025 18:08:56 +0100 Subject: [PATCH] coreos-cincinnati: remove image value from spec.containers During recent migration to deployment, the oc command: `sudo rbac-playbook -l os_control_stg openshift-apps/coreos-cincinnati.yml` returns an error: ``` "stderr": "The Deployment \"coreos-cincinnati\" is invalid: \n* spec.template.spec.containers[0].image: Required value ``` This PR aims to fix the above. --- .../coreos-cincinnati/templates/deployment.yml.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/openshift-apps/coreos-cincinnati/templates/deployment.yml.j2 b/roles/openshift-apps/coreos-cincinnati/templates/deployment.yml.j2 index b5a1b07083..a18fa53bb4 100644 --- a/roles/openshift-apps/coreos-cincinnati/templates/deployment.yml.j2 +++ b/roles/openshift-apps/coreos-cincinnati/templates/deployment.yml.j2 @@ -26,7 +26,6 @@ spec: spec: containers: - name: fcos-graph-builder - image: "" args: [ "/usr/local/bin/fcos-graph-builder", "-v", @@ -37,7 +36,6 @@ spec: mountPath: /etc/cincinnati/ readOnly: true - name: fcos-policy-engine - image: "" args: [ "/usr/local/bin/fcos-policy-engine", "-v",