Skip to content

Commit

Permalink
Prepare for new vpn-gateway.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Nov 8, 2023
1 parent 052f0ce commit a8b71e2
Showing 1 changed file with 4 additions and 32 deletions.
36 changes: 4 additions & 32 deletions pkg/controller/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -757,44 +757,16 @@ func seedObjects(auditConfig *v1alpha1.AuditConfig, secrets map[string]*corev1.S
Value: "9443",
},
{
Name: "AUDIT_PROXY_CA_FILE",
Value: "/proxy/ca/bundle.crt",
Name: "AUDIT_PROXY_CA_SECRET_NAME",
Value: "ca-vpn",
},
{
Name: "AUDIT_PROXY_CLIENT_CRT_FILE",
Value: "/proxy/client/tls.crt",
},
{
Name: "AUDIT_PROXY_CLIENT_KEY_FILE",
Value: "/proxy/client/tls.key",
},
},
VolumeMounts: []corev1.VolumeMount{
{
Name: "ca-vpn",
MountPath: "/proxy/ca",
ReadOnly: true,
},
{
Name: "http-proxy",
MountPath: "/proxy/client",
ReadOnly: true,
Name: "AUDIT_PROXY_CLIENT_CERTS_SECRET_NAME",
Value: "http-proxy",
},
},
},
},
Volumes: []corev1.Volume{
// {
// Name: "ca-vpn",
// MountPath: "/proxy/ca",
// ReadOnly: true,
// },
// {
// Name: "http-proxy",
// MountPath: "/proxy/client",
// ReadOnly: true,
// },
},
},
},
},
Expand Down

0 comments on commit a8b71e2

Please sign in to comment.