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

chore(RHTAPWATCH-819): Resolve kube-lint errors #13

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

hmariset
Copy link
Collaborator

When adding project-controller component to the infra- deployments repository it is failing due to kube-linter issues.

@hmariset hmariset requested a review from ifireball March 19, 2024 05:20
@hmariset hmariset force-pushed the resolve-kubelint-errors branch 3 times, most recently from 0ff2f99 to edfd123 Compare March 19, 2024 05:40
Copy link
Member

@ifireball ifireball left a comment

Choose a reason for hiding this comment

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

LGTM, but please add a Jira issue link to the PR and commit titles.

@hmariset hmariset force-pushed the resolve-kubelint-errors branch 3 times, most recently from a6cb600 to a9ced27 Compare March 19, 2024 15:37
@hmariset
Copy link
Collaborator Author

@ifireball I have updated controller image in kustomization file. Please review again.


images:
- name: controller
newName: quay.io/redhat-appstudio/project-controller
Copy link
Member

Choose a reason for hiding this comment

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

I think this should reside in the infra-deployments repo, not here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I checked image-controller repo and they have it here and when I give this commit sha in infra-deployments the kube-linter errors are resolved.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ifireball This is the PR in infra-deployments where the commit sha from here would be updated automatically after we have release plan admission setup.

Copy link
Member

Choose a reason for hiding this comment

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

This name configuration is specific to the Red Hat deployment, it shouldn't be here. It didn't use to matter for the repos in redhat-appstudio, but now in knoflux-ci it does. We need to make an effort to put the Red Hat specific stuff in infra-deployments if we can.

@hmariset hmariset force-pushed the resolve-kubelint-errors branch from a9ced27 to 90ed57f Compare March 19, 2024 16:25
@ifireball ifireball changed the title chore: Resolve kube-lint errors chore(RHTAPWATCH-819): Resolve kube-lint errors Mar 20, 2024
@hmariset hmariset force-pushed the resolve-kubelint-errors branch from 90ed57f to ea86979 Compare March 20, 2024 15:23
hmariset and others added 2 commits March 21, 2024 14:34
When adding project-controller component to the infra-
deployments repository it is failing due to kube-linter
issues.

Signed-off-by: Homaja Marisetty <[email protected]>
Set the controller image name to something more specific then "controller" but not as specific as what we've set for it when testing with
CRC. This is so we can override the name with the real image name in
cluster-specific configuration repos.

Signed-off-by: Barak Korren <[email protected]>
@ifireball ifireball force-pushed the resolve-kubelint-errors branch from ea86979 to 8a2c067 Compare March 21, 2024 12:45
@hmariset hmariset merged commit 9937d7d into konflux-ci:main Mar 21, 2024
4 checks passed
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.

2 participants