Skip to content

Commit

Permalink
Add channel field to MAAS CK8sConfigTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
kubeages authored Nov 14, 2024
1 parent 0450fd6 commit 4bf55fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/maas/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
name: ${CLUSTER_NAME}-control-plane
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
version: ${KUBERNETES_VERSION}
channel: ${CHANNEL}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: MaasMachineTemplate
Expand Down Expand Up @@ -97,4 +98,5 @@ metadata:
name: ${CLUSTER_NAME}-md-0
spec:
template:
spec: {}
spec:
channel: ${CHANNEL}
1 change: 1 addition & 0 deletions templates/maas/template-variables.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Kubernetes cluster configuration
export KUBERNETES_VERSION=v1.30.2
export CHANNEL=latest/edge
export CONTROL_PLANE_MACHINE_COUNT=1
export WORKER_MACHINE_COUNT=1

Expand Down

0 comments on commit 4bf55fa

Please sign in to comment.