@@ -5,12 +5,12 @@ import {Namespace} from "@pulumi/kubernetes/core/v1";
5
5
import versions from "../versions" ;
6
6
7
7
export function installCilium ( opts : CustomResourceOptions ) {
8
- return new helm . v3 . Chart ( "cilium" , {
9
- chart : " cilium" ,
10
- version : "1.15.6" ,
8
+ return new helm . v4 . Chart ( "cilium" , {
9
+ chart : versions . cilium . depName ,
10
+ version : versions . cilium . version ,
11
11
namespace : "kube-system" ,
12
- fetchOpts : {
13
- repo : "https://helm .cilium.io/" ,
12
+ repositoryOpts : {
13
+ repo : versions . cilium . registryUrl ,
14
14
} ,
15
15
} , opts )
16
16
}
@@ -19,10 +19,10 @@ export function installCilium(opts: CustomResourceOptions) {
19
19
20
20
export function installCertManager ( opts : CustomResourceOptions ) {
21
21
//TODO: Switch to Helm Release, to enable Hook Support
22
- return new helm . v3 . Chart ( "cert-manager" , {
22
+ return new helm . v4 . Chart ( "cert-manager" , {
23
23
chart : versions . certManager . depName ,
24
24
version : versions . certManager . version ,
25
- fetchOpts : {
25
+ repositoryOpts : {
26
26
repo : versions . certManager . registryUrl ,
27
27
} ,
28
28
namespace : "kube-system" ,
@@ -39,10 +39,10 @@ export function installExternalSecretsOperator(opts: CustomResourceOptions) {
39
39
name : "external-secrets"
40
40
}
41
41
} , opts )
42
- return new helm . v3 . Chart ( "external-secrets" , {
42
+ return new helm . v4 . Chart ( "external-secrets" , {
43
43
chart : versions . externalSecrets . depName ,
44
44
version : versions . externalSecrets . version ,
45
- fetchOpts : {
45
+ repositoryOpts : {
46
46
repo : versions . externalSecrets . registryUrl ,
47
47
} ,
48
48
namespace : ns . metadata . name ,
@@ -59,10 +59,10 @@ export function installIstio(opts: CustomResourceOptions) {
59
59
name : "istio-system"
60
60
}
61
61
} , opts )
62
- new helm . v3 . Chart ( "istio-base" , {
62
+ new helm . v4 . Chart ( "istio-base" , {
63
63
chart : versions . istioBase . depName ,
64
64
version : versions . istioBase . version ,
65
- fetchOpts : {
65
+ repositoryOpts : {
66
66
repo : versions . istioBase . registryUrl ,
67
67
} ,
68
68
namespace : ns . metadata . name ,
@@ -71,10 +71,10 @@ export function installIstio(opts: CustomResourceOptions) {
71
71
} ,
72
72
} , opts ) ;
73
73
74
- return new helm . v3 . Chart ( "istiod" , {
74
+ return new helm . v4 . Chart ( "istiod" , {
75
75
chart : versions . istioD . depName ,
76
76
version : versions . istioD . version ,
77
- fetchOpts : {
77
+ repositoryOpts : {
78
78
repo : versions . istioD . registryUrl ,
79
79
} ,
80
80
namespace : ns . metadata . name ,
@@ -123,11 +123,11 @@ export function installCSIDriver(token: Input<string>, opts: CustomResourceOptio
123
123
}
124
124
} , opts )
125
125
126
- return new helm . v3 . Chart ( "hcloud-csi" , {
126
+ return new helm . v4 . Chart ( "hcloud-csi" , {
127
127
chart : versions . hcloudCSI . depName ,
128
128
namespace : "kube-system" ,
129
129
version : versions . hcloudCSI . version ,
130
- fetchOpts : {
130
+ repositoryOpts : {
131
131
repo : versions . hcloudCSI . registryUrl
132
132
} ,
133
133
} , opts )
0 commit comments