Skip to content

Commit

Permalink
Signed-off-by: amerlin <antoniomerlindev@gmail.com> (jaegertracing#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomerlin authored May 12, 2024
1 parent 8e1d585 commit d439226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/deployment/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (a *Agent) Get() *appsv1.DaemonSet {
Annotations: commonSpec.Annotations,
},
Spec: corev1.PodSpec{
ImagePullSecrets: a.jaeger.Spec.ImagePullSecrets,
ImagePullSecrets: a.jaeger.Spec.Agent.ImagePullSecrets,
Containers: []corev1.Container{{
Image: util.ImageName(a.jaeger.Spec.Agent.Image, "jaeger-agent-image"),
Name: "jaeger-agent-daemonset",
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployment/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func TestAgentImagePullSecrets(t *testing.T) {
jaeger := v1.NewJaeger(types.NamespacedName{Name: "TestAllInOneImagePullSecrets"})
const pullSecret = "mysecret"
jaeger.Spec.Agent.Strategy = "daemonset"
jaeger.Spec.ImagePullSecrets = []corev1.LocalObjectReference{
jaeger.Spec.Agent.ImagePullSecrets = []corev1.LocalObjectReference{
{
Name: pullSecret,
},
Expand Down

0 comments on commit d439226

Please sign in to comment.