Skip to content

Commit

Permalink
Merge pull request #303 from SSmallMonster/fix-fefault-container
Browse files Browse the repository at this point in the history
correct default container annotation
  • Loading branch information
SSmallMonster authored Sep 3, 2024
2 parents 1d15bf3 + 0db872d commit 2ffcb13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/install/localstorage/localstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ var juicesyncEnvName = "MIGRAGE_JUICESYNC_IMAGE"
var lsDaemonSetTemplate = appsv1.DaemonSet{
ObjectMeta: metav1.ObjectMeta{
Name: "hwameistor-local-storage",
Annotations: map[string]string{
"kubectl.kubernetes.io/default-container": memberContainerName,
},
},
Spec: appsv1.DaemonSetSpec{
Selector: &metav1.LabelSelector{
Expand All @@ -63,6 +60,9 @@ var lsDaemonSetTemplate = appsv1.DaemonSet{
Labels: map[string]string{
lsDaemonSetLabelSelectorKey: lsDaemonSetLabelSelectorValue,
},
Annotations: map[string]string{
"kubectl.kubernetes.io/default-container": memberContainerName,
},
},
Spec: corev1.PodSpec{
Affinity: &corev1.Affinity{
Expand Down

0 comments on commit 2ffcb13

Please sign in to comment.