fix deletion logic (when cleanup is false)

This commit is contained in:
kkb0318
2024-05-15 21:48:10 +09:00
parent 0e56e4ffba
commit 811d295b74
2 changed files with 8 additions and 12 deletions
@@ -111,9 +111,8 @@ func (b *baseManifestFactory) deployment() *appsv1.Deployment {
ServiceAccountName: b.serviceAccountMeta.Name,
Containers: []corev1.Container{
{
Name: "pod-identity-webhook",
Image: "amazon/amazon-eks-pod-identity-webhook:latest",
Name: "pod-identity-webhook",
Image: "amazon/amazon-eks-pod-identity-webhook:latest",
ImagePullPolicy: corev1.PullAlways,
// Command: []string{}, // Command must be patched
VolumeMounts: []corev1.VolumeMount{