Skip to content

Commit facebb5

Browse files
committed
fix: handle nil maps in flagd-standalone
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent c6ccfc1 commit facebb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controllers/core/flagd/resources/deployment.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ func (r *FlagdDeployment) GetResource(ctx context.Context, flagd *api.Flagd) (cl
7777
},
7878
Template: corev1.PodTemplateSpec{
7979
ObjectMeta: metav1.ObjectMeta{
80-
Labels: labels,
80+
Labels: labels,
81+
Annotations: annotations,
8182
},
8283
Spec: corev1.PodSpec{
8384
ServiceAccountName: flagd.Spec.ServiceAccountName,

0 commit comments

Comments
 (0)