File tree 4 files changed +13
-11
lines changed
charts/cluster-api-runtime-extensions-nutanix
templates/virtual-ip/kube-vip/manifests
4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
59
59
| hooks.cni.cilium.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-cilium-cni-helm-values-template" ` | |
60
60
| hooks.csi.nutanix.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
61
61
| hooks.csi.nutanix.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-nutanix-csi-helm-values-template" ` | |
62
- | hooks.kubeVip.defaultTemplateConfigMap.create | bool | ` true ` | |
63
- | hooks.kubeVip.defaultTemplateConfigMap.name | string | ` "default-kube-vip-template" ` | |
64
62
| hooks.nfd.crsStrategy.defaultInstallationConfigMap.name | string | ` "node-feature-discovery" ` | |
65
63
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
66
64
| hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-nfd-helm-values-template" ` | |
65
+ | hooks.virtualIP.kubeVip.defaultTemplateConfigMap.create | bool | ` true ` | |
66
+ | hooks.virtualIP.kubeVip.defaultTemplateConfigMap.name | string | ` "default-kube-vip-template" ` | |
67
67
| image.pullPolicy | string | ` "IfNotPresent" ` | |
68
68
| image.repository | string | ` "ghcr.io/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix" ` | |
69
69
| image.tag | string | ` "" ` | |
Original file line number Diff line number Diff line change 5
5
# DO NOT EDIT THIS FILE
6
6
# IT HAS BEEN GENERATED BY /hack/addons/update-kube-vip-manifests.sh
7
7
# =================================================================
8
- {{- if .Values.hooks.kubeVip.defaultTemplateConfigMap.create }}
8
+ {{- if .Values.hooks.virtualIP. kubeVip.defaultTemplateConfigMap.create }}
9
9
apiVersion : v1
10
10
data :
11
11
kube-vip.yaml : |
71
71
kind : ConfigMap
72
72
metadata :
73
73
creationTimestamp : null
74
- name : ' {{ .Values.hooks.kubeVip.defaultTemplateConfigMap.name }}'
74
+ name : ' {{ .Values.hooks.virtualIP. kubeVip.defaultTemplateConfigMap.name }}'
75
75
{{- end -}}
Original file line number Diff line number Diff line change @@ -71,10 +71,12 @@ hooks:
71
71
defaultValueTemplateConfigMap :
72
72
create : true
73
73
name : default-cluster-autoscaler-helm-values-template
74
- kubeVip :
75
- defaultTemplateConfigMap :
76
- create : true
77
- name : default-kube-vip-template
74
+
75
+ virtualIP :
76
+ kubeVip :
77
+ defaultTemplateConfigMap :
78
+ create : true
79
+ name : default-kube-vip-template
78
80
79
81
helmAddonsConfigMap : default-helm-addons-config
80
82
Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ docker container run --rm ghcr.io/kube-vip/kube-vip:"${KUBE_VIP_VERSION}" \
33
33
gojq --yaml-input --yaml-output ' del(.metadata.creationTimestamp, .status) | .spec.containers[].imagePullPolicy |= "IfNotPresent"' |
34
34
sed " s/\" -99999\" /'{{ \` {{ .ControlPlaneEndpoint.Port }}\` }}'/" > " ${ASSETS_DIR} /${FILE_NAME} "
35
35
36
- kubectl create configmap " {{ .Values.hooks.kubeVip.defaultTemplateConfigMap.name }}" --dry-run=client --output yaml \
36
+ kubectl create configmap " {{ .Values.hooks.virtualIP. kubeVip.defaultTemplateConfigMap.name }}" --dry-run=client --output yaml \
37
37
--from-file " ${ASSETS_DIR} /${FILE_NAME} " \
38
38
> " ${ASSETS_DIR} /kube-vip-configmap.yaml"
39
39
40
40
# add warning not to edit file directly
41
- cat << EOF >"${GIT_REPO_ROOT} /charts/cluster-api-runtime-extensions-nutanix/templates/kube-vip/manifests/kube-vip-configmap.yaml"
41
+ cat << EOF >"${GIT_REPO_ROOT} /charts/cluster-api-runtime-extensions-nutanix/templates/virtual-ip/ kube-vip/manifests/kube-vip-configmap.yaml"
42
42
$( cat " ${GIT_REPO_ROOT} /hack/license-header.yaml.txt" )
43
43
44
44
#=================================================================
45
45
# DO NOT EDIT THIS FILE
46
46
# IT HAS BEEN GENERATED BY /hack/addons/update-kube-vip-manifests.sh
47
47
#=================================================================
48
- {{- if .Values.hooks.kubeVip.defaultTemplateConfigMap.create }}
48
+ {{- if .Values.hooks.virtualIP. kubeVip.defaultTemplateConfigMap.create }}
49
49
$( cat " ${ASSETS_DIR} /kube-vip-configmap.yaml" )
50
50
{{- end -}}
51
51
EOF
You can’t perform that action at this time.
0 commit comments