Skip to content

Conversation

trgeiger
Copy link
Contributor

Make spec.ServiceAccount an optional field and note that it's now deprecated and does not perform any function. Make OLM use cluster-admin by default for managing ClusterExtensions.

Remove the synthetic permissions experimental feature flag.

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 29, 2025
Copy link

netlify bot commented Sep 29, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit a6cfb8f
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/68e958df4830b8000872a29b
😎 Deploy Preview https://deploy-preview-2242--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@trgeiger trgeiger force-pushed the remove-sa branch 4 times, most recently from 29af310 to bc04e3d Compare October 6, 2025 19:43
Copy link

openshift-ci bot commented Oct 6, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kevinrizza for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@trgeiger trgeiger force-pushed the remove-sa branch 2 times, most recently from d2844ab to dad8dcb Compare October 8, 2025 20:29
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.39%. Comparing base (95c5934) to head (b994023).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2242      +/-   ##
==========================================
- Coverage   72.87%   72.39%   -0.48%     
==========================================
  Files          88       86       -2     
  Lines        8733     8151     -582     
==========================================
- Hits         6364     5901     -463     
+ Misses       1955     1869      -86     
+ Partials      414      381      -33     
Flag Coverage Δ
e2e 41.29% <100.00%> (+2.03%) ⬆️
experimental-e2e 49.80% <0.00%> (+3.49%) ⬆️
unit 56.77% <0.00%> (-1.23%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Namespace string `json:"namespace"`

// serviceAccount is a reference to a ServiceAccount used to perform all interactions
// Deprecated: ServiceAccount is ignored by OLM and will be removed in a future release.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to also log a warning during reconciliation if this field is still set by a user?

//
// <opcon:experimental>
// +optional
Config *ClusterExtensionConfig `json:"config,omitempty"`
Copy link
Member

@rashmigottipati rashmigottipati Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we are adding ClusterExtensionConfig to the spec. While it looks like a good start for supporting inline config, it seems unrelated to the serviceAccount deprecation work (unless I am missing something here).
Just checking - Is it intentional to include this here, or would it make sense to split it into a separate PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just coming to note that this looks like it needs to be rebased, since it's including changes from

d95f426 ✨ ClusterExtensionConfig API (#2163)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have re-based and just re-based again so I'm not sure why this is here... must be user error by me during some rebase reconciliation the other day. I'll remove this

Make spec.ServiceAccount an optional field and note that it's now
deprecated and does not perform any function. Make OLM use cluster-admin
by default for managing ClusterExtensions.

Remove the permissions preflight experimental feature flag.

Remove the synthetic permissions experimental feature flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants