Skip to content

Commit 41c6c1c

Browse files
committed
Add feature flag for NewOLMPreflightPermissionCheck
Signed-off-by: Todd Short <[email protected]>
1 parent 3aa9dd5 commit 41c6c1c

8 files changed

+27
-0
lines changed

features.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| ClusterVersionOperatorConfiguration| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1010
| Example2| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1111
| NewOLMCatalogdAPIV1Metas| | | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
12+
| NewOLMPreflightPermissionChecks| | | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
1213
| SELinuxChangePolicy| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1314
| SELinuxMount| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1415
| ShortCertRotation| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |

features/features.go

+8
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,14 @@ var (
538538
enableForClusterProfile(SelfManaged, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
539539
mustRegister()
540540

541+
FeatureGateNewOLMPreflightPermissionChecks = newFeatureGate("NewOLMPreflightPermissionChecks").
542+
reportProblemsToJiraComponent("olm").
543+
contactPerson("tshort").
544+
productScope(ocpSpecific).
545+
enhancementPR("https://github.com/openshift/enhancements/pull/1768").
546+
enableForClusterProfile(SelfManaged, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
547+
mustRegister()
548+
541549
FeatureGateInsightsOnDemandDataGather = newFeatureGate("InsightsOnDemandDataGather").
542550
reportProblemsToJiraComponent("insights").
543551
contactPerson("tremes").

payload-manifests/featuregates/featureGate-Hypershift-Default.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
{
134134
"name": "NewOLMCatalogdAPIV1Metas"
135135
},
136+
{
137+
"name": "NewOLMPreflightPermissionChecks"
138+
},
136139
{
137140
"name": "NodeSwap"
138141
},

payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
{
4040
"name": "NewOLMCatalogdAPIV1Metas"
4141
}
42+
{
43+
"name": "NewOLMPreflightPermissionChecks"
44+
}
4245
],
4346
"enabled": [
4447
{

payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
{
4646
"name": "NewOLMCatalogdAPIV1Metas"
4747
},
48+
{
49+
"name": "NewOLMPreflightPermissionChecks"
50+
},
4851
{
4952
"name": "SELinuxChangePolicy"
5053
},

payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
{
134134
"name": "NewOLMCatalogdAPIV1Metas"
135135
},
136+
{
137+
"name": "NewOLMPreflightPermissionChecks"
138+
},
136139
{
137140
"name": "NodeSwap"
138141
},

payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@
203203
{
204204
"name": "NewOLMCatalogdAPIV1Metas"
205205
},
206+
{
207+
"name": "NewOLMPreflightPermissionChecks"
208+
},
206209
{
207210
"name": "NodeDisruptionPolicy"
208211
},

payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@
215215
{
216216
"name": "NewOLMCatalogdAPIV1Metas"
217217
},
218+
{
219+
"name": "NewOLMPreflightPermissionChecks"
220+
},
218221
{
219222
"name": "NodeDisruptionPolicy"
220223
},

0 commit comments

Comments
 (0)