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

initial version of mintmaker service #3729

Closed
wants to merge 1 commit into from

Conversation

scoheb
Copy link
Member

@scoheb scoheb commented May 16, 2024

  • This is just a simple skeleton controller such
    that we can get mintmaker integrated.

@openshift-ci openshift-ci bot requested review from tisutisu and zregvart May 16, 2024 21:21
Copy link

openshift-ci bot commented May 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: scoheb

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

The pull request process is described 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

@redhat-appstudio-qe-bot

❗ Detected an outage of the following critical component(s)❗

  • redhat: registry.connect.redhat.com

Due to this issue E2E tests will probably fail. Please keep an eye on the following status pages:

and add a comment /retest-required once the reported issues are solved

2 similar comments
@redhat-appstudio-qe-bot

❗ Detected an outage of the following critical component(s)❗

  • redhat: registry.connect.redhat.com

Due to this issue E2E tests will probably fail. Please keep an eye on the following status pages:

and add a comment /retest-required once the reported issues are solved

@redhat-appstudio-qe-bot

❗ Detected an outage of the following critical component(s)❗

  • redhat: registry.connect.redhat.com

Due to this issue E2E tests will probably fail. Please keep an eye on the following status pages:

and add a comment /retest-required once the reported issues are solved

@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Copy link
Member

Choose a reason for hiding this comment

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

this is not needed anymore

metadata:
name: crd-manager-for-mintmaker
rules:
- verbs:
Copy link
Member

Choose a reason for hiding this comment

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

not needed as well

@gbenhaim
Copy link
Member

@scoheb before deploying it, I asked the mintmaker team for a technical overview. I would like to understand how this service is going to work and what it will require from the cluster.

kind: Kustomization
resources:
- ../base
- https://github.com/konflux-ci/mintmaker/config/default?ref=9e3dd3bfec43fbbae2d2dfb931f3f3cb082ae9af
Copy link
Contributor

Choose a reason for hiding this comment

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

The manifest brought by this revision do have kube linter issues, this needs to be fixed as we have a check for that, which is failing. Pasting the issues here so you do not have to drill down in the check logs:

<standard input>: (object: mintmaker/mintmaker-controller-manager apps/v1, Kind=Deployment) container "kube-rbac-proxy" does not have a read-only root file system (check: no-read-only-root-fs, remediation: Set readOnlyRootFilesystem to true in the container securityContext.)

<standard input>: (object: mintmaker/mintmaker-controller-manager apps/v1, Kind=Deployment) container "manager" does not have a read-only root file system (check: no-read-only-root-fs, remediation: Set readOnlyRootFilesystem to true in the container securityContext.)

- This is just a simple skeleton controller such
  that we can get mintmaker integrated.

Signed-off-by: Scott Hebert <scoheb@gmail.com>
Copy link

openshift-ci bot commented May 17, 2024

@scoheb: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/appstudio-hac-e2e-tests 7b724a2 link false /test appstudio-hac-e2e-tests
ci/prow/appstudio-upgrade-tests 7b724a2 link false /test appstudio-upgrade-tests

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ifireball
Copy link
Contributor

Can we have some context information added to this PR? The linked repo only seems to contain very basic auto-generated code and there is not much information in the README or any of the commits. We don't have any link here to any ADRs or Jira issues. "mintmaker" isn't a Google friendly term either.

@ifireball ifireball mentioned this pull request May 27, 2024
@gnaponie
Copy link

Can we have some context information added to this PR? The linked repo only seems to contain very basic auto-generated code and there is not much information in the README or any of the commits. We don't have any link here to any ADRs or Jira issues. "mintmaker" isn't a Google friendly term either.

Hello,
perhaps I can provide some context here.
My team is working on providing the Renovate service in Konflux to update dependencies and for future CVE remediation. And for this solution the name "Mintmaker" was chosen. It will substitute logically what Freshmaker does in the classical pipeline (here comes the name Mintmaker, in Freshmaker's honor).
The request is coming from Brian Cook and Ralph Bean.

apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: mintmaker-maintainers
namespace: mintmaker-service

Choose a reason for hiding this comment

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

Is this intended? Or should it be just mintmaker? I see in all other places it is mintmaker and not mintmaker-service.

@ifireball
Copy link
Contributor

Can we have some context information added to this PR? The linked repo only seems to contain very basic auto-generated code and there is not much information in the README or any of the commits. We don't have any link here to any ADRs or Jira issues. "mintmaker" isn't a Google friendly term either.

Hello, perhaps I can provide some context here. My team is working on providing the Renovate service in Konflux to update dependencies and for future CVE remediation. And for this solution the name "Mintmaker" was chosen. It will substitute logically what Freshmaker does in the classical pipeline (here comes the name Mintmaker, in Freshmaker's honor). The request is coming from Brian Cook and Ralph Bean.

@gnaponie thanks! Can you provide a link to a Jira issue tracking this work? Also ironing-out the technical details via the ADR process would be much appreciated, if it was not done yet.

@gnaponie
Copy link

@gnaponie thanks! Can you provide a link to a Jira issue tracking this work? Also ironing-out the technical details via the ADR process would be much appreciated, if it was not done yet.

Sure! Here's the jira issue: https://issues.redhat.com/browse/CLOUDWF-10108

We have a document, but that perhaps it is a bit outdated. User stories and requirements in that document are in line with the request, but the actual technical details and proposal plan is a bit different. Would it be ok if I send that?

@gnaponie
Copy link

So I've talked to @scoheb, and actually we've decided we're going to close this PR in favor of mine, which can be found here: #3798
This new PR includes Scott's commit.
@ifireball I don't think I have permission to close this PR, could you do it and we can continue our conversation in the other PR? Thank you!

@scoheb
Copy link
Member Author

scoheb commented May 28, 2024

closing in favour of 3798

@scoheb scoheb closed this May 28, 2024
@scoheb scoheb mentioned this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants