mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/opensearch] fix: ✏️ ✅ Move SecurityContext to the proper section
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
@@ -61,12 +61,12 @@ func createJob(ctx context.Context, c kubernetes.Interface, name string, port st
|
||||
RestartPolicy: "Never",
|
||||
Containers: []v1.Container{
|
||||
{
|
||||
Name: "opensearch",
|
||||
Image: image,
|
||||
Command: []string{"curl", "-X", op, fmt.Sprintf("http://%s/%s", releaseName, index)},
|
||||
Name: "opensearch",
|
||||
Image: image,
|
||||
Command: []string{"curl", "-X", op, fmt.Sprintf("http://%s/%s", releaseName, index)},
|
||||
SecurityContext: securityContext,
|
||||
},
|
||||
},
|
||||
SecurityContext: securityContext,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user