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 common labels for the NATS manager resources #236

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

marcobebway
Copy link
Contributor

Description

Use common labels for the NATS manager resources.

Related issue(s)

@marcobebway marcobebway requested a review from a team as a code owner December 1, 2023 13:12
@marcobebway marcobebway requested a review from muralov December 1, 2023 13:12
@kyma-bot kyma-bot added the cla: yes Indicates the PR's author has signed the CLA. label Dec 1, 2023
@marcobebway marcobebway linked an issue Dec 1, 2023 that may be closed by this pull request
@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 1, 2023
@marcobebway marcobebway added kind/bug Categorizes issue or PR as related to a bug. area/eventing Issues or PRs related to eventing labels Dec 1, 2023
@marcobebway marcobebway self-assigned this Dec 1, 2023
@@ -226,8 +226,6 @@ func Test_Validate_CreateNATS(t *testing.T) {
// object in the K8s cluster, then tries to modify it with givenUpdates, and test the error that was caused by this
// update, against a wantErrMsg.
func Test_Validate_UpdateNATS(t *testing.T) {
t.Parallel()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to remove parallelism because it caused flakiness.

@marcobebway marcobebway requested review from k15r and removed request for muralov December 1, 2023 13:21
@marcobebway
Copy link
Contributor Author

/hold

@kyma-bot kyma-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 1, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Dec 4, 2023
@marcobebway
Copy link
Contributor Author

/hold cancel

@kyma-bot kyma-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 5, 2023
@kyma-bot kyma-bot merged commit 7854d5f into kyma-project:main Dec 5, 2023
9 checks passed
@marcobebway marcobebway deleted the 221-use-common-labels branch December 5, 2023 12:35
Comment on lines +319 to +324
commonLabels:
app.kubernetes.io/component: nats-manager
app.kubernetes.io/created-by: nats-manager
app.kubernetes.io/managed-by: nats-manager
app.kubernetes.io/part-of: nats-manager
control-plane: nats-manager
Copy link
Contributor Author

@marcobebway marcobebway Dec 5, 2023

Choose a reason for hiding this comment

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

I did not apply the following labels:

-      app.kubernetes.io/instance: eventing
+      app.kubernetes.io/instance: nats-manager
-      app.kubernetes.io/name: nats
+      app.kubernetes.io/name: nats-manager

because they will case the label selectors to change which we don't want for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/eventing Issues or PRs related to eventing cla: yes Indicates the PR's author has signed the CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NATS manager deployment uses generic labels for pod selector
3 participants