-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 v1beta2 conditions to CABPK #11452
🌱 Add v1beta2 conditions to CABPK #11452
Conversation
// KubeadmConfigReadyV1Beta2Reason surfaces when the KubeadmConfig is ready. | ||
KubeadmConfigReadyV1Beta2Reason = clusterv1.ReadyV1Beta2Reason | ||
|
||
// KubeadmConfigNotReadyV1Beta2Reason surfaces when the KubeadmConfig is NOT ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// KubeadmConfigNotReadyV1Beta2Reason surfaces when the KubeadmConfig is NOT ready. | |
// KubeadmConfigNotReadyV1Beta2Reason surfaces when the KubeadmConfig is not ready. |
Type: bootstrapv1.KubeadmConfigDataSecretAvailableV1Beta2Condition, | ||
Status: metav1.ConditionFalse, | ||
Reason: bootstrapv1.KubeadmConfigDataSecretNotAvailableV1Beta2Reason, | ||
Message: "Failed to read content from secrets for spec.files", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For resolving this, a user needs to lookup the error from the logs right? Should we mention something here?
Also ok for me to see this as implicit and not worth to mention.
(note same below 1x, and 3 more times in line 722 - 752, and 3 more times line 874 - 904)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back and forth on this.
It is true that we are not adding full disclosure of the issue, but I think that "Failed to read content from secrets for spec.files" is enough to find the issue without the need of reading the logs (if points to content from secrets in spec.files, usually there are not many of them).
Same for the other messages
638b38d
to
18441d7
Compare
@fabriziopandini: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
/lgtm |
LGTM label has been added. Git tree hash: 97af8b34feca3095eb939c7e1ac23a04d1e544ce
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi 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 |
What this PR does / why we need it:
Rif #11105
/area provider/bootstrap-kubeadm