Skip to content

Commit

Permalink
add info log
Browse files Browse the repository at this point in the history
  • Loading branch information
m-yosefpor committed Feb 27, 2022
1 parent 5b9242b commit 034ff49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
labels:
control-plane: controller-manager
name: controller-manager-metrics-service
name: ctrl-metrics-service
namespace: system
spec:
ports:
Expand Down
1 change: 1 addition & 0 deletions controllers/namespace_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ type NamespaceReconciler struct {
func (r *NamespaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
logger := log.FromContext(ctx)

logger.Info("Reconciling Namespace", "Namespace.Name", req.NamespacedName)
// getting serviceAccount
sa := &corev1.ServiceAccount{}
err := r.Get(ctx, types.NamespacedName{Name: baseSa, Namespace: req.Name}, sa)
Expand Down

0 comments on commit 034ff49

Please sign in to comment.