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
Kubebuilder uses github.com/go-logr/logr in controller logs but github.com/mittwald/go-helm-client uses it's own logger. Controller dumps logs in two different format, it should be all migrated to Kubebuilder's.
Example:
1.6668678216296868e+09 INFO submarineroperator-resource default {"name": "submariner-sample-operator"}
1.6668678216301413e+09 DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-connection-hub-roboscale-io-v1alpha1-submarineroperator", "code": 200, "reason": "", "UID": "9fd38543-19e1-4876-bd7c-9df6fbefc076", "allowed": true}
1.6668678216391764e+09 DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/validate-connection-hub-roboscale-io-v1alpha1-submarineroperator", "UID": "4be0d3d3-5768-44bc-ade5-33182108e4e9", "kind": "connection-hub.roboscale.io/v1alpha1, Kind=SubmarinerOperator", "resource": {"group":"connection-hub.roboscale.io","version":"v1alpha1","resource":"submarineroperators"}}
1.6668678216395795e+09 INFO submarineroperator-resource validate update{"name": "submariner-sample-operator"}
1.6668678216396165e+09 DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/validate-connection-hub-roboscale-io-v1alpha1-submarineroperator", "code": 200, "reason": "", "UID": "4be0d3d3-5768-44bc-ade5-33182108e4e9", "allowed": true}
1.666867821651269e+09 INFO FINALIZER: Submariner Operator is deleted gracefully. {"controller": "submarinerbroker", "controllerGroup": "connection-hub.roboscale.io", "controllerKind": "SubmarinerBroker", "SubmarinerBroker": {"name":"submariner-sample-broker"}, "namespace": "", "name": "submariner-sample-broker", "reconcileID": "4132fd66-9aed-459c-973e-3bfa8c57d220"}
1.666867821651563e+09 INFO FINALIZER: Submariner Broker is being deleted. {"controller": "submarinerbroker", "controllerGroup": "connection-hub.roboscale.io", "controllerKind": "SubmarinerBroker", "SubmarinerBroker": {"name":"submariner-sample-broker"}, "namespace": "", "name": "submariner-sample-broker", "reconcileID": "4132fd66-9aed-459c-973e-3bfa8c57d220"}
2022/10/27 10:50:21 WARNING: repository name "robolaunch" already exists
2022/10/27 10:50:21 uninstall: Deleting submariner-k8s-broker
2022/10/27 10:50:21 Starting delete for "submariner-k8s-broker-cluster" RoleBinding
2022/10/27 10:50:21 Starting delete for "submariner-k8s-broker-cluster" Role
2022/10/27 10:50:22 Starting delete for "submariner-k8s-broker-client" ServiceAccount
2022/10/27 10:50:22 purge requested for submariner-k8s-broker
2022/10/27 10:50:22 release uninstalled, response: &{0xc0003a0700 }
What did you expect to happen?
Controller logs should be in one format for debugging and tracing.
How can we reproduce it (as minimally and precisely as possible)?
After deploying the controller manager, run this to see controller logs:
What happened?
Kubebuilder uses
github.com/go-logr/logr
in controller logs butgithub.com/mittwald/go-helm-client
uses it's own logger. Controller dumps logs in two different format, it should be all migrated to Kubebuilder's.Example:
What did you expect to happen?
Controller logs should be in one format for debugging and tracing.
How can we reproduce it (as minimally and precisely as possible)?
After deploying the controller manager, run this to see controller logs:
Then create a
submariners.connection-hub.roboscale.io/v1alpha1
instance in another terminal.Kubernetes version
Container network interface (CNI) and version
kube-ovn
The text was updated successfully, but these errors were encountered: