Skip to content

Commit

Permalink
fix image.pullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Dec 27, 2024
1 parent 1a62db6 commit 4dfb81a
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions components/datadog/apps/dda/datadogagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,28 @@ func (d datadogAgentWorkload) defaultDDAYamlTransformations() []yaml.Transformat
imgPullSecretOverride := map[string]interface{}{
"nodeAgent": map[string]interface{}{
"image": map[string]interface{}{
"pullSecrets": map[string]interface{}{
"name": d.imagePullSecret.Metadata.Name(),
"pullSecrets": []map[string]interface{}{
{
"name": d.imagePullSecret.Metadata.Name(),
},
},
},
},
"clusterAgent": map[string]interface{}{
"image": map[string]interface{}{
"pullSecrets": map[string]interface{}{
"name": d.imagePullSecret.Metadata.Name(),
"pullSecrets": []map[string]interface{}{
{
"name": d.imagePullSecret.Metadata.Name(),
},
},
},
},
"clusterChecksRunner": map[string]interface{}{
"image": map[string]interface{}{
"pullSecrets": map[string]interface{}{
"name": d.imagePullSecret.Metadata.Name(),
"pullSecrets": []map[string]interface{}{
{
"name": d.imagePullSecret.Metadata.Name(),
},
},
},
},
Expand Down

0 comments on commit 4dfb81a

Please sign in to comment.