Step: storage-conf-feature-gate

The feature-gate step enables given FeatureGate.Spec.FeatureSet in a running cluster.

Container image used for this step: tests

tests resolves to an image built or imported by the ci-operator configuration (documentation).

Environment

In addition to the default environment, the step exposes the following:

Variable Name Type Variable Content
FEATURESET Parameter[?] Name of FeatureSet to enable in the cluster.

Source Code

1
2
3
4
5
6
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

oc patch featuregate cluster  -p "{\"spec\":{\"featureSet\": \"$FEATURESET\"}}" --type=merge -o yaml

Properties

Property Value Description
Resource requests (cpu) 10m Used in .resources.requests of the pod running this step.
Resource requests (memory) 100Mi Used in .resources.requests of the pod running this step.

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/storage/conf/feature-gate/storage-conf-feature-gate-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub