Skip to content

Commit

Permalink
Merge pull request #474 from momoXD007/ds_annotations
Browse files Browse the repository at this point in the history
feat: adding annotations to Dameon Set of fluent-bit
  • Loading branch information
benjaminhuo committed Nov 29, 2022
2 parents 7d3e106 + 991f080 commit 4b984f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/operator/daemonset.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import (
func MakeDaemonSet(fb fluentbitv1alpha2.FluentBit, logPath string) appsv1.DaemonSet {
ds := appsv1.DaemonSet{
ObjectMeta: metav1.ObjectMeta{
Name: fb.Name,
Namespace: fb.Namespace,
Labels: fb.Labels,
Name: fb.Name,
Namespace: fb.Namespace,
Labels: fb.Labels,
Annotations: fb.Annotations,
},
Spec: appsv1.DaemonSetSpec{
Selector: &metav1.LabelSelector{
Expand Down

0 comments on commit 4b984f7

Please sign in to comment.