-
Notifications
You must be signed in to change notification settings - Fork 106
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
SubnamespaceAnchor status should indicate errors reconciling labels/annotations #175
Comments
Marking as v1.1 but I'm in favour of backporting any fix to v1.0.1. /good-first-issue |
@adrianludwin: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Hey, I was going to give this issue as go as a first-issue but I'm unable to reproduce. Once I modify the
Looks like it's been fixed by #168, so I'm thinking this issue can be closed? |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. 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. |
I did a manual test of the new feature introduced in #149, and even if this feature is marked as beta, I think the user feedback must be improved.
Given a default configuration of HNC, which does not allow any managed labels/annotations, I created a
SubnamespaceAnchor
. Initially I did not try to manage any namespace labels nor annotations:The child namespace is created successfully.
Then I modify the
SubnamespaceAnchor
, trying to add one label and one annotation to the child namespace:The resource is updated successfully, and the status indicates a successful reconcile:
But no label or annotation is added to the child namespace. This is expected, but I think the
SubnamespaceAnchor
status should indicate that HNC was unable to reconcile the spec. The log in the HNC controller pod reports the error, but this log is not available to the user (just admins).Note: Trying to create the
SubnamespaceAnchor
with the label/annotation is correctly denied by the webhook. So this is an update problem.The text was updated successfully, but these errors were encountered: