Skip to content

Commit 9e52f17

Browse files
committed
refactor: move to ingress folder
1 parent c2c92d6 commit 9e52f17

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.9"` | |
@@ -90,6 +88,8 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
9088
| hooks.csi.nutanix.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-nutanix-csi-helm-values-template"` | |
9189
| hooks.csi.snapshot-controller.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | `true` | |
9290
| hooks.csi.snapshot-controller.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | `"default-snapshot-controller-helm-values-template"` | |
91+
| hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.create | bool | `true` | |
92+
| hooks.ingress.awsLoadBalancerController.defaultValueTemplateConfigMap.name | string | `"default-aws-load-balancer-controller-helm-values-template"` | |
9393
| hooks.nfd.crsStrategy.defaultInstallationConfigMap.name | string | `"node-feature-discovery"` | |
9494
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | `true` | |
9595
| 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": {
@@ -520,6 +499,27 @@
520499
}
521500
}
522501
},
502+
"ingress": {
503+
"type": "object",
504+
"properties": {
505+
"awsLoadBalancerController": {
506+
"type": "object",
507+
"properties": {
508+
"defaultValueTemplateConfigMap": {
509+
"type": "object",
510+
"properties": {
511+
"create": {
512+
"type": "boolean"
513+
},
514+
"name": {
515+
"type": "string"
516+
}
517+
}
518+
}
519+
}
520+
}
521+
}
522+
},
523523
"nfd": {
524524
"type": "object",
525525
"properties": {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ hooks:
117117
defaultValueTemplateConfigMap:
118118
create: true
119119
name: default-registry-syncer-helm-values-template
120-
121-
addons:
120+
ingress:
122121
awsLoadBalancerController:
123122
defaultValueTemplateConfigMap:
124123
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)