You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for similar issues and couldn't find anything matching
I've included steps to reproduce the behavior
Affected Components
K8sGPT (CLI)
K8sGPT Operator
K8sGPT Version
v0.3.0
Kubernetes Version
v1.27.0
Host OS and its Version
Ubuntu
Steps to reproduce
// Update metrics
k8sgptNumberOfResultsByType.With(prometheus.Labels{
"kind": resultSpec.Kind,
"name": resultSpec.Name,
}).Inc()
err = r.Create(ctx, &result)
if err != nil {
// if the result already exists, we will update it
if errors.IsAlreadyExists(err) {
// Get the actual result with metadata rather than our local construct
var newResult corev1alpha1.Result
err = r.Get(ctx, client.ObjectKey{Namespace: k8sgptConfig.Namespace,
Name: name}, &newResult)
if err != nil {
k8sgptReconcileErrorCount.Inc()
return r.finishReconcile(err, false)
}
Expected behaviour
This should be moved to the create phase only
Actual behaviour
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Affected Components
K8sGPT Version
v0.3.0
Kubernetes Version
v1.27.0
Host OS and its Version
Ubuntu
Steps to reproduce
Expected behaviour
This should be moved to the create phase only
Actual behaviour
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: