diff --git a/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/OWNERS b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/OWNERS new file mode 100644 index 0000000000000..e14619fe50da9 --- /dev/null +++ b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/OWNERS @@ -0,0 +1,14 @@ +approvers: +- danil-grigorev +- elmiko +- fedosin +- joelspeed +- mandre +- mdbooth +reviewers: +- danil-grigorev +- elmiko +- fedosin +- joelspeed +- mandre +- mdbooth diff --git a/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-commands.sh b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-commands.sh new file mode 100644 index 0000000000000..97aa3686dfa52 --- /dev/null +++ b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-commands.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -euo pipefail + +cat < ${SHARED_DIR}/manifest_feature_gate.yaml +--- +apiVersion: config.openshift.io/v1 +kind: FeatureGate +metadata: + annotations: + include.release.openshift.io/self-managed-high-availability: "true" + include.release.openshift.io/single-node-developer: "true" + release.openshift.io/create-only: "true" + name: cluster +spec: + customNoUpgrade: + enabled: + - ExternalCloudProvider + - CSIMigrationAWS + - CSIMigrationOpenStack + featureSet: CustomNoUpgrade +EOF diff --git a/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.metadata.json b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.metadata.json new file mode 100644 index 0000000000000..dca4182c69dec --- /dev/null +++ b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.metadata.json @@ -0,0 +1,21 @@ +{ + "path": "ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml", + "owners": { + "approvers": [ + "danil-grigorev", + "elmiko", + "fedosin", + "joelspeed", + "mandre", + "mdbooth" + ], + "reviewers": [ + "danil-grigorev", + "elmiko", + "fedosin", + "joelspeed", + "mandre", + "mdbooth" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml new file mode 100644 index 0000000000000..547e777f19ae9 --- /dev/null +++ b/ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml @@ -0,0 +1,10 @@ +ref: + as: ccm-conf-pre-create-feature-gate + commands: ccm-conf-pre-create-feature-gate-commands.sh + from: cli + resources: + requests: + cpu: 10m + memory: 100Mi + documentation: |- + Apply custom featureGate configuration to cluster to enable CCM + CSI functionality