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

Use Kubernetes Recommended Label for commonLabels #46

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

razo7
Copy link
Member

@razo7 razo7 commented May 8, 2023

Changing FAR's label from app: fence-agents-remediation-operator to app.kubernetes.io/name: fence-agents-remediation-operator, since it is one of Kubernetes recommended labels for commonLabels.

razo7 added 2 commits May 8, 2023 15:18
The recommended labels describe objects in a common manner that all tools can understand
Update bundle directory
@razo7
Copy link
Member Author

razo7 commented May 8, 2023

Another commonLabel that we might also consider of using is app.kubernetes.io/version.

@openshift-ci openshift-ci bot requested review from beekhof and clobrano May 8, 2023 12:27
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: razo7

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

@openshift-ci openshift-ci bot added the approved label May 8, 2023
@clobrano
Copy link
Contributor

clobrano commented May 8, 2023

/lgtm

Giving a chance to get more feedbacks, feel free to unhold
/hold

Copy link
Member

@slintes slintes left a comment

Choose a reason for hiding this comment

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

This will probably fail updates, see comment here: https://github.com/medik8s/node-healthcheck-operator/blob/main/config/default/kustomization.yaml#L13

Please check if that issue still exists. If so, you also need to change the name 🤷🏼

@razo7 razo7 changed the title Use Kubernetes recommended label for commonLabels Use Kubernetes Recommended Label for commonLabels May 9, 2023
@razo7
Copy link
Member Author

razo7 commented May 10, 2023

/retest

@beekhof
Copy link
Contributor

beekhof commented Jul 24, 2023

Merging. Updates from a pre-GA version that lacks resource deletion is not a priority

@beekhof beekhof merged commit 6af4f68 into medik8s:main Jul 24, 2023
@slintes
Copy link
Member

slintes commented Jul 24, 2023

Just for the record, the update issue with modified labels (if it still exists in OLM) can easily be worked around by changing the deployment name. Just in case we want to make Tech Preview users happy 🙂

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

Successfully merging this pull request may close these issues.

4 participants