-
Notifications
You must be signed in to change notification settings - Fork 153
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
Extend project-synchronizer to sync labels #12791
Conversation
/cherrypick release/v2.23 |
@xmudrii: once the present PR merges, I will cherry-pick it on top of release/v2.23 in a new PR and assign it to you. In response to this:
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/test-infra repository. |
/cherrypick release/v2.22 |
@xmudrii: once the present PR merges, I will cherry-pick it on top of release/v2.22 in a new PR and assign it to you. In response to this:
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/test-infra repository. |
/cherrypick release/v2.21 |
@xmudrii: once the present PR merges, I will cherry-pick it on top of release/v2.21 in a new PR and assign it to you. In response to this:
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/test-infra repository. |
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
e64cf7e
to
7fa4f8e
Compare
/approve |
LGTM label has been added. Git tree hash: 1cd63c70548d0b4436a0464e6b800ae06b5b5c83
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xrstf 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 |
@xmudrii: #12791 failed to apply on top of branch "release/v2.23":
In response to this:
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/test-infra repository. |
@xmudrii: #12791 failed to apply on top of branch "release/v2.22":
In response to this:
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/test-infra repository. |
@xmudrii: #12791 failed to apply on top of branch "release/v2.21":
In response to this:
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/test-infra repository. |
What this PR does / why we need it:
We observed that the metering report doesn't contain data for project-labels when master and seed clusters are separate. After some additional investigation, we found out that the reason for that is that we don't sync labels from Project objects in the master cluster to Project objects in the seed clusters. Metering uses the
kubermatic_project_labels
to determine Project labels, and the data source is per-seed Prometheus running in themonitoring
namespace.kubermatic_project_labels
is exported by bothkubermatic-master-controller-manager
andkubermatic-seed-controller-manager
, but because this Prometheus is per-seed, only data exported bykubermatic-seed-controller-manager
is accessible. For that to work properly, we also need to have labels on Project copy in the seed cluster.What type of PR is this?
/kind bug
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation:
/assign @xrstf @embik