Skip to content

Commit 59bc477

Browse files
committed
Fix the filename in env vars
1 parent b00d300 commit 59bc477

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/ws-manager-mk2/controllers/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ func createWorkspaceEnvironment(sctx *startWorkspaceContext) ([]corev1.EnvVar, e
562562
result = append(result, corev1.EnvVar{Name: "THEIA_MINI_BROWSER_HOST_PATTERN", Value: "browser-{{hostname}}"})
563563

564564
const (
565-
customCAMountPath = "/etc/ssl/certs/custom-ca.crt"
565+
customCAMountPath = "/etc/ssl/certs/gitpod-ca.crt"
566566
certsMountPath = "/etc/ssl/certs/"
567567
)
568568

install/installer/pkg/components/cluster/certmanager.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ func certmanager(ctx *common.RenderContext) ([]runtime.Object, error) {
3939
{
4040
UseDefaultCAs: pointer.Bool(false),
4141
},
42+
{
43+
Secret: &trust.SourceObjectKeySelector{
44+
Name: secretCAName,
45+
KeySelector: trust.KeySelector{Key: "ca.crt"},
46+
},
47+
},
4248
}
4349

4450
if ctx.Config.CustomCACert != nil {

0 commit comments

Comments
 (0)