Skip to content

Commit

Permalink
correct default container annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
SSmallMonster committed Sep 3, 2024
1 parent 1d15bf3 commit 4088ce0
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 4088ce0

Please sign in to comment.