From e551f7f166805bbb47033bde871c39594165ca9f Mon Sep 17 00:00:00 2001 From: Vlad Bologa Date: Wed, 18 Nov 2026 11:01:33 +0100 Subject: [PATCH 1/5] feat(openshift): add install-time feature gates and extra manifests --- chart/infra-server/static/flavors.yaml | 19 +++++++++++++++++++ .../static/workflow-openshift-4.yaml | 12 ++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/chart/infra-server/static/flavors.yaml b/chart/infra-server/static/flavors.yaml index e759687bc..3ae25fd68 100644 --- a/chart/infra-server/static/flavors.yaml +++ b/chart/infra-server/static/flavors.yaml @@ -333,6 +333,25 @@ Defines a list of capabilities to explicitly enable. These capabilities are enabled in addition to the capabilities specified in the baseline capability set. Example: `["DeploymentConfig", "ImageRegistry"]` + - name: feature-gates + description: OpenShift feature gates + value: "" + kind: optional + help: | + YAML flow list of feature gate settings, e.g., `["TLSGroupPreferences=true", "TLSAdherence=true"]`. + Setting this selects `CustomNoUpgrade`, which prevents cluster upgrades. + Known gates omitted from the list are disabled, including gates enabled by default. + Include any required default gates; these depend on the OpenShift release. + + - name: extra-manifest + description: Extra installation manifest + value: "" + kind: optional + fromFile: true + help: | + Upload a single YAML manifest to include during installation. + For the CLI, pass the file contents with `--arg "extra-manifest=$(cat manifest.yaml)"`. + - name: vm-os description: Guest OS list for optional VMs (empty skips virt) value: "" diff --git a/chart/infra-server/static/workflow-openshift-4.yaml b/chart/infra-server/static/workflow-openshift-4.yaml index 74866f881..ba04a9555 100644 --- a/chart/infra-server/static/workflow-openshift-4.yaml +++ b/chart/infra-server/static/workflow-openshift-4.yaml @@ -34,6 +34,10 @@ spec: value: "vCurrent" - name: additional-enabled-capabilities value: "" + - name: feature-gates + value: "" + - name: extra-manifest + value: "" - name: vm-os value: "" volumeClaimTemplates: @@ -102,7 +106,7 @@ spec: archive: none: {} container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }} + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-0.17.5-2-g222cd123c7-snapshot imagePullPolicy: Always command: - entrypoint.sh @@ -167,6 +171,10 @@ spec: value: '{{ "{{" }}workflow.parameters.baseline-capability-set{{ "}}" }}' - name: ADDITIONAL_ENABLED_CAPABILITIES value: '{{ "{{" }}workflow.parameters.additional-enabled-capabilities{{ "}}" }}' + - name: FEATURE_GATES + value: '{{ "{{" }}workflow.parameters.feature-gates{{ "}}" }}' + - name: EXTRA_MANIFEST + value: '{{ "{{" }}workflow.parameters.extra-manifest{{ "}}" }}' - name: VM_OS value: '{{ "{{" }}workflow.parameters.vm-os{{ "}}" }}' volumeMounts: @@ -209,7 +217,7 @@ spec: - name: destroy container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }} + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-0.17.5-2-g222cd123c7-snapshot imagePullPolicy: Always command: - entrypoint.sh From 6a934d1c33ded0df0fcfb4d4dd2949262203bff1 Mon Sep 17 00:00:00 2001 From: Vlad Bologa Date: Wed, 18 Nov 2026 13:42:34 +0100 Subject: [PATCH 2/5] Add missing params --- chart/infra-server/static/flavors.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chart/infra-server/static/flavors.yaml b/chart/infra-server/static/flavors.yaml index 3ae25fd68..6802d0da1 100644 --- a/chart/infra-server/static/flavors.yaml +++ b/chart/infra-server/static/flavors.yaml @@ -749,6 +749,14 @@ Defines a list of capabilities to explicitly enable. These capabilities are enabled in addition to the capabilities specified in the baseline capability set. Example: `["DeploymentConfig", "ImageRegistry"]` + - name: feature-gates + value: "" + kind: hardcoded + + - name: extra-manifest + value: "" + kind: hardcoded + - name: vm-os description: Guest OS list for optional VMs (empty skips virt) value: "" From afa6bfc9f05df1347a7295b8984e91b2d5c4fc04 Mon Sep 17 00:00:00 2001 From: Vlad Bologa Date: Wed, 18 Nov 2026 23:41:14 +0100 Subject: [PATCH 3/5] Fix description --- chart/infra-server/static/flavors.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/chart/infra-server/static/flavors.yaml b/chart/infra-server/static/flavors.yaml index 6802d0da1..c0b57895b 100644 --- a/chart/infra-server/static/flavors.yaml +++ b/chart/infra-server/static/flavors.yaml @@ -340,8 +340,6 @@ help: | YAML flow list of feature gate settings, e.g., `["TLSGroupPreferences=true", "TLSAdherence=true"]`. Setting this selects `CustomNoUpgrade`, which prevents cluster upgrades. - Known gates omitted from the list are disabled, including gates enabled by default. - Include any required default gates; these depend on the OpenShift release. - name: extra-manifest description: Extra installation manifest From af74dd730d1acfaae852c782cc4cf5c21d6dac60 Mon Sep 17 00:00:00 2001 From: Vlad Bologa Date: Thu, 19 Nov 2026 11:33:19 +0100 Subject: [PATCH 4/5] Update openshift-ipi image name --- chart/infra-server/Chart.yaml | 2 +- chart/infra-server/static/janitor-delete-openshift-4.yaml | 2 +- chart/infra-server/static/workflow-openshift-4-demo.yaml | 4 ++-- chart/infra-server/static/workflow-openshift-4.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chart/infra-server/Chart.yaml b/chart/infra-server/Chart.yaml index ee8630f95..21292733b 100644 --- a/chart/infra-server/Chart.yaml +++ b/chart/infra-server/Chart.yaml @@ -8,7 +8,7 @@ sources: - https://github.com/stackrox/infra annotations: acsDemoVersion: 5.0.0 - automationFlavorsVersion: 0.17.3 + automationFlavorsVersion: 0.17.5-3-ge0a9312854-snapshot ocpCredentialsMode: Passthrough dependencies: - name: argo-workflows diff --git a/chart/infra-server/static/janitor-delete-openshift-4.yaml b/chart/infra-server/static/janitor-delete-openshift-4.yaml index c0cc3370d..899445ad3 100644 --- a/chart/infra-server/static/janitor-delete-openshift-4.yaml +++ b/chart/infra-server/static/janitor-delete-openshift-4.yaml @@ -29,7 +29,7 @@ spec: - name: destroy container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }} + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-{{ .Chart.Annotations.automationFlavorsVersion }} imagePullPolicy: Always command: - entrypoint.sh diff --git a/chart/infra-server/static/workflow-openshift-4-demo.yaml b/chart/infra-server/static/workflow-openshift-4-demo.yaml index 1a658809a..1551171eb 100644 --- a/chart/infra-server/static/workflow-openshift-4-demo.yaml +++ b/chart/infra-server/static/workflow-openshift-4-demo.yaml @@ -80,7 +80,7 @@ spec: - name: create container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }} + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-{{ .Chart.Annotations.automationFlavorsVersion }} imagePullPolicy: Always volumeMounts: - name: data @@ -273,7 +273,7 @@ spec: - name: destroy container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-4-{{ .Chart.Annotations.automationFlavorsVersion }} + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-{{ .Chart.Annotations.automationFlavorsVersion }} imagePullPolicy: Always command: - entrypoint.sh diff --git a/chart/infra-server/static/workflow-openshift-4.yaml b/chart/infra-server/static/workflow-openshift-4.yaml index ba04a9555..2544fef7a 100644 --- a/chart/infra-server/static/workflow-openshift-4.yaml +++ b/chart/infra-server/static/workflow-openshift-4.yaml @@ -106,7 +106,7 @@ spec: archive: none: {} container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-0.17.5-2-g222cd123c7-snapshot + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-{{ .Chart.Annotations.automationFlavorsVersion }} imagePullPolicy: Always command: - entrypoint.sh @@ -217,7 +217,7 @@ spec: - name: destroy container: - image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-0.17.5-2-g222cd123c7-snapshot + image: quay.io/stackrox-io/ci:automation-flavors-openshift-ipi-{{ .Chart.Annotations.automationFlavorsVersion }} imagePullPolicy: Always command: - entrypoint.sh From 24e9b7eaae6f3f7613a2fb62ae87378e3ecd6e33 Mon Sep 17 00:00:00 2001 From: Vlad Bologa Date: Fri, 20 Nov 2026 10:53:47 +0100 Subject: [PATCH 5/5] Bump automation version --- chart/infra-server/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/infra-server/Chart.yaml b/chart/infra-server/Chart.yaml index 21292733b..4d060b2fe 100644 --- a/chart/infra-server/Chart.yaml +++ b/chart/infra-server/Chart.yaml @@ -8,7 +8,7 @@ sources: - https://github.com/stackrox/infra annotations: acsDemoVersion: 5.0.0 - automationFlavorsVersion: 0.17.5-3-ge0a9312854-snapshot + automationFlavorsVersion: 0.18.0 ocpCredentialsMode: Passthrough dependencies: - name: argo-workflows