@@ -53,15 +53,23 @@ func (m Chart) ExportData(e *environment.Environment) error {
5353 return nil
5454}
5555
56- func defaultProps () map [string ]interface {} {
56+ func defaultProps (reg string ) map [string ]interface {} {
5757 return map [string ]interface {}{
58+ "global" : map [string ]interface {}{
59+ "security" : map [string ]interface {}{
60+ "allowInsecureImages" : true ,
61+ },
62+ },
63+ "image" : map [string ]interface {}{
64+ "registry" : reg ,
65+ "repository" : "containers/debian-12" ,
66+ "tag" : "4.1.0" ,
67+ "debug" : true ,
68+ },
5869 "auth" : map [string ]interface {}{
5970 "clientProtocol" : "plaintext" ,
6071 "interBrokerProtocol" : "plaintext" ,
6172 },
62- "image" : map [string ]interface {}{
63- "debug" : true ,
64- },
6573 "provisioning" : map [string ]interface {}{
6674 "enabled" : true ,
6775 "resources" : map [string ]interface {}{
@@ -128,11 +136,11 @@ func NewVersioned(helmVersion string, props map[string]interface{}) environment.
128136 if reg == "" {
129137 panic ("BITNAMI_PRIVATE_REGISTRY not set, it is required for Helm charts" )
130138 }
131- dp := defaultProps ()
139+ dp := defaultProps (reg )
132140 config .MustMerge (& dp , props )
133141 return Chart {
134142 Name : "kafka" ,
135- Path : fmt .Sprintf ("%s/charts/debian-12/kafka" , reg ),
143+ Path : fmt .Sprintf ("%s/charts/debian-12/kafka:32.4.6 " , reg ),
136144 Values : & dp ,
137145 Version : helmVersion ,
138146 }
0 commit comments