Skip to content

Commit 1fa1aeb

Browse files
committed
Use the custom certificate in components
1 parent 9054a83 commit 1fa1aeb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ func certmanager(ctx *common.RenderContext) ([]runtime.Object, error) {
4848
}
4949

5050
if ctx.Config.CustomCACert != nil {
51+
gitpodCaBundleSources = append(gitpodCaBundleSources, trust.BundleSource{
52+
Secret: &trust.SourceObjectKeySelector{
53+
Name: ctx.Config.CustomCACert.Name,
54+
KeySelector: trust.KeySelector{Key: "ca.crt"},
55+
},
56+
})
57+
5158
gitpodCustomCertificateBundleSource = append(gitpodCaBundleSources, trust.BundleSource{
5259
Secret: &trust.SourceObjectKeySelector{
5360
Name: ctx.Config.CustomCACert.Name,

0 commit comments

Comments
 (0)