fix deployment

This commit is contained in:
kkb0318
2024-05-12 21:27:31 +09:00
parent 95b2ffea09
commit ba211ca2ec
3 changed files with 23 additions and 18 deletions
+8 -11
View File
@@ -117,21 +117,18 @@ func (b *baseManifestFactory) deployment() *appsv1.Deployment {
// Command: []string{}, // Command must be patched
VolumeMounts: []corev1.VolumeMount{
{
Name: "webhook-certs",
MountPath: "/var/run/app/certs",
ReadOnly: false,
Name: "cert",
MountPath: "/etc/webhook/certs",
ReadOnly: true,
},
},
},
},
Volumes: []corev1.Volume{
{
Name: "webhook-certs",
VolumeSource: corev1.VolumeSource{
EmptyDir: &corev1.EmptyDirVolumeSource{},
},
},
},
// Volumes: []corev1.Volume{ //Volumes must be patched
// {
// Name: "cert",
// },
// },
},
},
},