Skip to content

Commit fc1d403

Browse files
committed
Fix apiVersion mismatch for proxmox crds
1 parent 2c688db commit fc1d403

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

charts/capi-proxmox/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords:
88
- bootstrapping
99
- kubernetes
1010
- proxmox
11-
version: 1.0.2
11+
version: 1.0.3
1212
appVersion: v1beta1
1313
home: https://github.com/ionos-cloud/cluster-api-provider-proxmox
1414
sources:

charts/capi-proxmox/templates/proxmox-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: infrastructure.cluster.x-k8s.io/{{ .Values.clusterapiVersion }}
2+
apiVersion: infrastructure.cluster.x-k8s.io/{{ .Values.capmoxApiVersion }}
33
kind: ProxmoxCluster
44
metadata:
55
name: {{ include "capi-proxmox.name" . }}

charts/capi-proxmox/templates/proxmox-machine-templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ range $index, $template := .Values.machineTemplates }}
33
{{- $object := dict "ProxmoxMachineTemplate" $template "Index" $index "Context" $ -}}
44
---
5-
apiVersion: infrastructure.cluster.x-k8s.io/{{ $.Values.clusterapiVersion }}
5+
apiVersion: infrastructure.cluster.x-k8s.io/{{ $.Values.capmoxApiVersion }}
66
kind: ProxmoxMachineTemplate
77
metadata:
88
name: {{ include "capi-proxmox.machineTemplateName" $object }}

charts/capi-proxmox/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
# CAPMOX version for every created manifest
3+
capmoxApiVersion: v1alpha1
34
clusterapiVersion: v1beta1
45
clusterLabels: {}
56
users: []

0 commit comments

Comments
 (0)