Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Move kube-rbac-proxy into base manager yaml #695

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Mar 13, 2024

Description

Having kube-rbac-proxy in a separate patch makes working with manager args confusing. We either have to include all args into that patch (e.g. like --feature-gates=ForceSemverUpgradeConstraints=true was added) or have a separate patch to override args.

Since we have always have kube-rbac-proxy enabled anyway - why not move it into the base manager manifest?

Reviewer Checklist

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

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
@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 Mar 13, 2024
Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for olmv1 failed.

Name Link
🔨 Latest commit 399add1
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/65f1a3a7615ccc00089ba015

Comment on lines +31 to +46
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- arm64
- ppc64le
- s390x
- key: kubernetes.io/os
operator: In
values:
- linux
Copy link
Member Author

Choose a reason for hiding this comment

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

This is not new: we already have affinity (see deleted config/default/manager_auth_proxy_patch.yaml).

@m1kola m1kola marked this pull request as ready for review March 13, 2024 13:09
@m1kola m1kola requested a review from a team as a code owner March 13, 2024 13:09
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 13, 2024
Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me, thanks @m1kola !

@m1kola m1kola added this pull request to the merge queue Mar 13, 2024
Merged via the queue into operator-framework:main with commit 47fd760 Mar 13, 2024
11 of 15 checks passed
@m1kola m1kola deleted the yaml-refactoring branch April 24, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants