Skip to content

Commit 052f0ce

Browse files
committed
Make compile again.
1 parent 1378fb2 commit 052f0ce

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

pkg/controller/actuator.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -784,16 +784,16 @@ func seedObjects(auditConfig *v1alpha1.AuditConfig, secrets map[string]*corev1.S
784784
},
785785
},
786786
Volumes: []corev1.Volume{
787-
{
788-
Name: "ca-vpn",
789-
MountPath: "/proxy/ca",
790-
ReadOnly: true,
791-
},
792-
{
793-
Name: "http-proxy",
794-
MountPath: "/proxy/client",
795-
ReadOnly: true,
796-
},
787+
// {
788+
// Name: "ca-vpn",
789+
// MountPath: "/proxy/ca",
790+
// ReadOnly: true,
791+
// },
792+
// {
793+
// Name: "http-proxy",
794+
// MountPath: "/proxy/client",
795+
// ReadOnly: true,
796+
// },
797797
},
798798
},
799799
},

pkg/webhook/kapiserver/ensurer.go

-2
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ func ensureVolumeMounts(c *corev1.Container) {
5353
Name: "audit-policy",
5454
ReadOnly: true,
5555
MountPath: "/etc/audit-webhook/policy",
56-
// SubPath: "audit-policy.yaml",
5756
})
5857
c.VolumeMounts = extensionswebhook.EnsureVolumeMountWithName(c.VolumeMounts, corev1.VolumeMount{
5958
Name: "audit-webhook-config",
6059
ReadOnly: true,
6160
MountPath: "/etc/audit-webhook/config",
62-
// SubPath: "audit-webhook-config.yaml",
6361
})
6462
}
6563

0 commit comments

Comments
 (0)