Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Add empty value for `nodeCIDR` in `values.yaml`.
- Move `machineInfrastructure` ref from `KubeadmControlPlaneTemplate` to `ClusterClass`
Comment thread
erkanerol marked this conversation as resolved.
Outdated

## [0.2.2] - 2022-01-24

Expand Down
5 changes: 5 additions & 0 deletions helm/cluster-openstack/templates/_cluster_class.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ spec:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlaneTemplate
name: {{ include "resource.default.name" $ }}
machineInfrastructure:
ref:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4
kind: OpenStackMachineTemplate
name: {{ include "resource.default.name" . }}-{{ .Values.controlPlane.class }}
workers:
machineDeployments:
{{- range .Values.nodeClasses }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,4 @@ spec:
{{- include "sshPostKubeadmCommands" . | nindent 10 }}
users:
{{- include "sshUsers" . | nindent 10 }}
machineTemplate:
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4
kind: OpenStackMachineTemplate
name: {{ include "resource.default.name" . }}-{{ .Values.controlPlane.class }}
version: {{ .Values.kubernetesVersion }}
Comment thread
erkanerol marked this conversation as resolved.
{{- end -}}