Skip to content

Commit 6fb534f

Browse files
Merge pull request #2242 from tmshort/preflight-checks
OPRUN-3780: Add feature flag for NewOLMPreflightPermissionCheck
2 parents 00e6260 + 607b001 commit 6fb534f

8 files changed

+27
-0
lines changed

features.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| ClusterVersionOperatorConfiguration| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
99
| Example2| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1010
| NewOLMCatalogdAPIV1Metas| | | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
11+
| NewOLMPreflightPermissionChecks| | | | <span style="background-color: #519450">Enabled</span> | | <span style="background-color: #519450">Enabled</span> |
1112
| SELinuxChangePolicy| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1213
| SELinuxMount| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | | |
1314
| 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
@@ -530,6 +530,14 @@ var (
530530
enableForClusterProfile(SelfManaged, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
531531
mustRegister()
532532

533+
FeatureGateNewOLMPreflightPermissionChecks = newFeatureGate("NewOLMPreflightPermissionChecks").
534+
reportProblemsToJiraComponent("olm").
535+
contactPerson("tshort").
536+
productScope(ocpSpecific).
537+
enhancementPR("https://github.com/openshift/enhancements/pull/1768").
538+
enableForClusterProfile(SelfManaged, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
539+
mustRegister()
540+
533541
FeatureGateInsightsOnDemandDataGather = newFeatureGate("InsightsOnDemandDataGather").
534542
reportProblemsToJiraComponent("insights").
535543
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
@@ -35,6 +35,9 @@
3535
},
3636
{
3737
"name": "NewOLMCatalogdAPIV1Metas"
38+
},
39+
{
40+
"name": "NewOLMPreflightPermissionChecks"
3841
}
3942
],
4043
"enabled": [

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

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
{
4343
"name": "NewOLMCatalogdAPIV1Metas"
4444
},
45+
{
46+
"name": "NewOLMPreflightPermissionChecks"
47+
},
4548
{
4649
"name": "SELinuxChangePolicy"
4750
},

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)