diff --git a/pkg/resources/deployments/console-deployment.go b/pkg/resources/deployments/console-deployment.go index 8e1e34885e6..fa7f9184a48 100644 --- a/pkg/resources/deployments/console-deployment.go +++ b/pkg/resources/deployments/console-deployment.go @@ -161,6 +161,15 @@ func NewConsole(t *miniov1.Tenant) *appsv1.Deployment { Items: tenantCertPaths, }, }) + // Console certificates generated by AutoCert + podVolumeSources = append(podVolumeSources, corev1.VolumeProjection{ + Secret: &corev1.SecretProjection{ + LocalObjectReference: corev1.LocalObjectReference{ + Name: t.ConsoleTLSSecretName(), + }, + Items: serverCertPaths, + }, + }) } else if t.ConsoleExternalCert() { serverCertSecret := t.Spec.Console.ExternalCertSecret.Name // This covers both secrets of type "kubernetes.io/tls" and