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

add the ability to specify labels for the registry service #131

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

laverya
Copy link
Contributor

@laverya laverya commented May 20, 2024

Labels can currently be specified for the ingress, servicemonitor, prometheusRules, and the registry pods themselves.

This expands that to the registry service, so that we can exclude it from velero snapshots and restores. (why? because we create this with a static IP address, and velero does not restore static IP addresses)

I would also be happy to expand this pattern to all of the other resources in the repository - the configmap, cronjob, deployment, hpa, pdb, pvc, secret and serviceaccount objects.

@laverya
Copy link
Contributor Author

laverya commented May 29, 2024

Is this something that you'd be interested in @vyas-n ?

Copy link
Collaborator

@vyas-n vyas-n left a comment

Choose a reason for hiding this comment

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

Hey @laverya,

Thank you for your contribution and yes, I agree! I'm approving your PR; however, you'll need to sign your commits before we can merge them!

@laverya laverya force-pushed the laverya-add-service-labels branch from 10e0d69 to f3d2198 Compare June 2, 2024 06:07
@laverya
Copy link
Contributor Author

laverya commented Jun 2, 2024

I've pushed again with a signed-off commit - thanks for taking a look!

@laverya
Copy link
Contributor Author

laverya commented Jun 2, 2024

Let me know if you'd like me to expand this to the other resources as well!

@vyas-n
Copy link
Collaborator

vyas-n commented Jun 2, 2024

Hey @laverya,

Good idea to extend this to other resources as well, let's start with getting this in and other resources can be covered in another PR.

Looks like your recent force-push is still not signed: https://github.com/twuni/docker-registry.helm/pull/131/commits

If you need some help signing your commits, here's a good doc from GitHub that's helped me get my commits signed:

@laverya
Copy link
Contributor Author

laverya commented Jun 2, 2024

OH you meant cryptographically signed and not committed with -s!

Can do

Signed-off-by: Andrew Lavery <laverya@umich.edu>
@laverya laverya force-pushed the laverya-add-service-labels branch from f3d2198 to 680310d Compare June 3, 2024 17:54
@laverya
Copy link
Contributor Author

laverya commented Jun 3, 2024

Pushed with a GPG-signed commit now

@vyas-n vyas-n merged commit 99e99ec into twuni:main Jun 3, 2024
2 checks passed
@vyas-n
Copy link
Collaborator

vyas-n commented Jun 3, 2024

Thanks, @laverya!

If you want to coordinate with future changes, then feel free to open a Discussion with a msg including @vyas-n in it, and we can discuss some change ideas.

You can also continue opening PRs, and I'll do my best to review them in a timely manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants