Skip to content

Commit 9e31b89

Browse files
committed
refactor: move to ingress folder
1 parent 1b78767 commit 9e31b89

File tree

7 files changed

+27
-28
lines changed

7 files changed

+27
-28
lines changed

charts/cluster-api-runtime-extensions-nutanix/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
4646
| helmRepository.securityContext.fsGroup | int | `65532` | |
4747
| helmRepository.securityContext.runAsGroup | int | `65532` | |
4848
| helmRepository.securityContext.runAsUser | int | `65532` | |
49-
| hooks.addons.awsLoadBalancerController.defaultValueTemplateConfigMap.create | bool | `true` | |
50-
| hooks.addons.awsLoadBalancerController.defaultValueTemplateConfigMap.name | string | `"default-aws-load-balancer-controller-helm-values-template"` | |
5149
| hooks.ccm.aws.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | `true` | |
5250
| hooks.ccm.aws.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-aws-ccm-helm-values-template"` | |
5351
| hooks.ccm.aws.k8sMinorVersionToCCMVersion."1.30" | string | `"v1.30.8"` | |
@@ -89,6 +87,8 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
8987
| hooks.csi.nutanix.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-nutanix-csi-helm-values-template"` | |
9088
| hooks.csi.snapshot-controller.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | `true` | |
9189
| hooks.csi.snapshot-controller.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-snapshot-controller-helm-values-template"` | |
90+
| hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.create | bool | `true` | |
91+
| hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.name | string | `"default-aws-load-balancer-controller-helm-values-template"` | |
9292
| hooks.nfd.crsStrategy.defaultInstallationConfigMap.name | string | `"node-feature-discovery"` | |
9393
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | `true` | |
9494
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-nfd-helm-values-template"` | |

charts/cluster-api-runtime-extensions-nutanix/templates/addons/aws-load-balancer-controller/helm-addon-installation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copyright 2025 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
{{- if .Values.hooks.addons.awsLoadBalancerController.defaultValueTemplateConfigMap.create }}
4+
{{- if .Values.hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.create }}
55
apiVersion: v1
66
kind: ConfigMap
77
metadata:
8-
name: '{{ .Values.hooks.addons.awsLoadBalancerController.defaultValueTemplateConfigMap.name }}'
8+
name: '{{ .Values.hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.name }}'
99
data:
1010
values.yaml: |-
1111
{{- .Files.Get "addons/aws-load-balancer-controller/values-template.yaml" | nindent 4 }}

charts/cluster-api-runtime-extensions-nutanix/values.schema.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -118,27 +118,6 @@
118118
"hooks": {
119119
"type": "object",
120120
"properties": {
121-
"addons": {
122-
"type": "object",
123-
"properties": {
124-
"awsLoadBalancerController": {
125-
"type": "object",
126-
"properties": {
127-
"defaultValueTemplateConfigMap": {
128-
"type": "object",
129-
"properties": {
130-
"create": {
131-
"type": "boolean"
132-
},
133-
"name": {
134-
"type": "string"
135-
}
136-
}
137-
}
138-
}
139-
}
140-
}
141-
},
142121
"ccm": {
143122
"type": "object",
144123
"properties": {
@@ -517,6 +496,27 @@
517496
}
518497
}
519498
},
499+
"ingress": {
500+
"type": "object",
501+
"properties": {
502+
"awsLoadBalancerController": {
503+
"type": "object",
504+
"properties": {
505+
"defaultValueTemplateConfigMap": {
506+
"type": "object",
507+
"properties": {
508+
"create": {
509+
"type": "boolean"
510+
},
511+
"name": {
512+
"type": "string"
513+
}
514+
}
515+
}
516+
}
517+
}
518+
}
519+
},
520520
"nfd": {
521521
"type": "object",
522522
"properties": {

charts/cluster-api-runtime-extensions-nutanix/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ hooks:
116116
defaultValueTemplateConfigMap:
117117
create: true
118118
name: default-registry-syncer-helm-values-template
119-
120-
addons:
119+
ingress:
121120
awsLoadBalancerController:
122121
defaultValueTemplateConfigMap:
123122
create: true

pkg/handlers/lifecycle/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api/v1alpha1"
1212
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/common/pkg/capi/clustertopology/handlers"
1313
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/common/pkg/capi/clustertopology/handlers/lifecycle"
14-
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/awsloadbalancercontroller"
1514
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/ccm"
1615
awsccm "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/ccm/aws"
1716
nutanixccm "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/ccm/nutanix"
@@ -25,6 +24,7 @@ import (
2524
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/csi/localpath"
2625
nutanixcsi "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/csi/nutanix"
2726
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/csi/snapshotcontroller"
27+
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/ingress/awsloadbalancercontroller"
2828
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/nfd"
2929
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/registry"
3030
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/pkg/handlers/lifecycle/registry/cncfdistribution"

0 commit comments

Comments
 (0)