Skip to content

Commit e95ef68

Browse files
committed
wip
1 parent 832e88f commit e95ef68

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

controllers/serviceaccount_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (r *GrafanaServiceAccountReconciler) Reconcile(ctx context.Context, req ctr
123123
return ctrl.Result{}, fmt.Errorf("removing finalizer: %w", err)
124124
}
125125

126-
return ctrl.Result{}, r.finalize(ctx, cr)
126+
return ctrl.Result{}, nil
127127
}
128128

129129
// 3. From here on, we're handling normal reconciliation (not deletion)

examples/grafana_serviceaccount/resources.yaml renamed to examples/serviceaccounts/resources.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ metadata:
55
spec:
66
name: "my-service-account"
77
role: "Admin"
8+
isDisabled: false
89
instanceName: "grafana"
910
tokens:
1011
- name: "my-token-a"
12+
secretName: thatsfine
1113
expires: 2029-12-31T14:00:00+02:00
1214
- name: "my-token-b"

0 commit comments

Comments
 (0)