File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
charts/cluster-api-runtime-extensions-nutanix/templates
kustomize/konnector-agent Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 3434 konnector-agent : |
3535 ChartName: konnector-agent
3636 ChartVersion: 1.3.0-rc.0
37- RepositoryURL: '{{ if .Values.helmRepository.enabled }}oci://helm-repository.{{ .Release.Namespace }}.svc/charts{{ else }}http ://192.168.1.7:8080 {{ end }}'
37+ RepositoryURL: '{{ if .Values.helmRepository.enabled }}oci://helm-repository.{{ .Release.Namespace }}.svc/charts{{ else }}https ://mesosphere.github.io/charts/stable/ {{ end }}'
3838 local-path-provisioner-csi : |
3939 ChartName: local-path-provisioner
4040 ChartVersion: 0.0.31
Original file line number Diff line number Diff line change @@ -126,9 +126,10 @@ func (s *Server) Start(ctx context.Context) error {
126126
127127 if t , ok := h .(lifecycle.BeforeClusterDelete ); ok {
128128 if err := webhookServer .AddExtensionHandler (runtimeserver.ExtensionHandler {
129- Hook : runtimehooksv1 .BeforeClusterDelete ,
130- Name : strings .ToLower (h .Name ()) + "-bcd" ,
131- HandlerFunc : t .BeforeClusterDelete ,
129+ Hook : runtimehooksv1 .BeforeClusterDelete ,
130+ Name : strings .ToLower (h .Name ()) + "-bcd" ,
131+ HandlerFunc : t .BeforeClusterDelete ,
132+ TimeoutSeconds : intToInt32Ptr (30 ), // 30 seconds timeout
132133 }); err != nil {
133134 setupLog .Error (err , "error adding handler" )
134135 return err
@@ -178,3 +179,9 @@ func (s *Server) Start(ctx context.Context) error {
178179
179180 return nil
180181}
182+
183+ // intToInt32Ptr converts an int to *int32 for use with TimeoutSeconds
184+ func intToInt32Ptr (value int ) * int32 {
185+ t := int32 (value )
186+ return & t
187+ }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ repositories:
3737 docker-registry :
3838 - 2.3.5
3939 konnector-agent :
40- repoURL : http ://192.168.1.7:8080
40+ repoURL : https ://mesosphere.github.io/charts/stable/
4141 charts :
4242 konnector-agent :
4343 - 1.3.0-rc.0
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ metadata:
1010helmCharts:
1111- name: konnector-agent
1212 namespace: ntnx-system
13- #repo: https://mesosphere.github.io/charts/stable
14- repo: http://192.168.1.7:8080
13+ repo: https://mesosphere.github.io/charts/stable
1514 releaseName: konnector-agent
1615 version: ${KONNECTOR_AGENT_VERSION}
1716 includeCRDs: true
You can’t perform that action at this time.
0 commit comments