Skip to content

Commit 6d50e29

Browse files
authored
Merge pull request #15 from clastix/releases/v0.0.4
feat: disable kamaji addons
2 parents 8f9e6fe + 10a2bd2 commit 6d50e29

File tree

4 files changed

+25
-15
lines changed

4 files changed

+25
-15
lines changed

charts/capi-kamaji-proxmox/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: capi-kamaji-proxmox
2-
version: 0.0.3
2+
version: 0.0.4
33
appVersion: 1.31.4
44
description: A Helm chart for deploying a Kamaji Tenant Cluster on Proxmox VE using Cluster API
55
and Kamaji.

charts/capi-kamaji-proxmox/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# capi-kamaji-proxmox
22

3-
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.31.4](https://img.shields.io/badge/AppVersion-1.31.4-informational?style=flat-square)
3+
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.31.4](https://img.shields.io/badge/AppVersion-1.31.4-informational?style=flat-square)
44

55
A Helm chart for deploying a Kamaji Tenant Cluster on Proxmox VE using Cluster API and Kamaji.
66

@@ -25,9 +25,10 @@ A Helm chart for deploying a Kamaji Tenant Cluster on Proxmox VE using Cluster A
2525
| cluster.clusterNetwork.pods.cidrBlocks | list | `["10.93.0.0/16"]` | CIDR range for pods |
2626
| cluster.clusterNetwork.serviceDomain | string | `"cluster.local"` | Service Domain for cluster DNS |
2727
| cluster.clusterNetwork.services.cidrBlocks | list | `["10.96.0.0/16"]` | CIDR range for services |
28-
| cluster.controlPlane.addons.coreDNS | object | `{}` | KamajiControlPlane coreDNS configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable. |
29-
| cluster.controlPlane.addons.konnectivity | object | `{}` | KamajiControlPlane konnectivity configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable. |
30-
| cluster.controlPlane.addons.kubeProxy | object | `{}` | KamajiControlPlane kube-proxy configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable. |
28+
| cluster.controlPlane.addons | object | `{"coreDNS":{},"konnectivity":{},"kubeProxy":{}}` | Configure addons for the control plane |
29+
| cluster.controlPlane.addons.coreDNS | object | `{}` | CoreDNS addon configuration |
30+
| cluster.controlPlane.addons.konnectivity | object | `{}` | Konnectivity addon configuration |
31+
| cluster.controlPlane.addons.kubeProxy | object | `{}` | Kube-proxy addon configuration |
3132
| cluster.controlPlane.dataStoreName | string | `"default"` | KamajiControlPlane dataStoreName |
3233
| cluster.controlPlane.deployment | object | `{"additionalMetadata":{"annotations":{},"labels":{}},"affinity":{},"nodeSelector":{"kubernetes.io/os":"linux"},"podAdditionalMetadata":{"annotations":{},"labels":{}},"tolerations":[],"topologySpreadConstraints":[]}` | Configure how KamajiControlPlane deployment should be done |
3334
| cluster.controlPlane.deployment.additionalMetadata | object | `{"annotations":{},"labels":{}}` | Additional metadata as labels and annotations |

charts/capi-kamaji-proxmox/templates/kamaji-control-plane.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ metadata:
1010
{{- end }}
1111
spec:
1212
dataStoreName: {{ .Values.cluster.controlPlane.dataStoreName | quote }}
13+
{{- with .Values.cluster.controlPlane.addons }}
1314
addons:
14-
{{- with .Values.cluster.controlPlane.addons }}
15-
coreDNS: {{ if gt (len .coreDNS) 0 }}
15+
{{- if hasKey . "coreDNS" }}
16+
coreDNS:
1617
{{- toYaml .coreDNS | nindent 6 }}
17-
{{- else }}{}{{ end }}
18-
kubeProxy: {{ if gt (len .kubeProxy) 0 }}
18+
{{- end }}
19+
{{- if hasKey . "kubeProxy" }}
20+
kubeProxy:
1921
{{- toYaml .kubeProxy | nindent 6 }}
20-
{{- else }}{}{{ end }}
21-
konnectivity: {{ if gt (len .konnectivity) 0 }}
22+
{{- end }}
23+
{{- if hasKey . "konnectivity" }}
24+
konnectivity:
2225
{{- toYaml .konnectivity | nindent 6 }}
23-
{{- else }}{}{{ end }}
2426
{{- end }}
27+
{{- end }}
2528
deployment:
2629
additionalMetadata:
2730
labels:

charts/capi-kamaji-proxmox/values.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,18 @@ cluster:
3939
replicas: 2
4040
# -- KamajiControlPlane dataStoreName
4141
dataStoreName: default
42+
# Set to null or remove the key entirely to disable the addon
43+
# addons:
44+
# coreDNS: {}
45+
# kubeProxy: {}
46+
# konnectivity: null
47+
# -- Configure addons for the control plane
4248
addons:
43-
# -- KamajiControlPlane coreDNS configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable.
49+
# -- CoreDNS addon configuration
4450
coreDNS: {}
45-
# -- KamajiControlPlane kube-proxy configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable.
51+
# -- Kube-proxy addon configuration
4652
kubeProxy: {}
47-
# -- KamajiControlPlane konnectivity configuration. Set to {} for default configuration, or specify custom config. Remove entirely to disable.
53+
# -- Konnectivity addon configuration
4854
konnectivity: {}
4955
# -- Configure how KamajiControlPlane deployment should be done
5056
deployment:

0 commit comments

Comments
 (0)