Skip to content

Commit

Permalink
Merge pull request #123 from a13x5/HMC-116
Browse files Browse the repository at this point in the history
Install EBS CSI driver by default
  • Loading branch information
Kshatrix authored Aug 1, 2024
2 parents e28b647 + 920622f commit 726df37
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/aws-hosted-cp/templates/k0smotroncontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
repositories:
- name: aws-cloud-controller-manager
url: https://kubernetes.github.io/cloud-provider-aws
- name: aws-ebs-csi-driver
url: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
charts:
- name: aws-cloud-controller-manager
namespace: kube-system
Expand All @@ -44,3 +46,12 @@ spec:
# Removing the default `node-role.kubernetes.io/control-plane` node selector
# TODO: it does not work
# nodeSelector: ""
- name: aws-ebs-csi-driver
namespace: kube-system
chartname: aws-ebs-csi-driver/aws-ebs-csi-driver
version: 2.33.0
values: |
defaultStorageClass:
enabled: true
node:
kubeletPath: /var/lib/k0s/kubelet
11 changes: 11 additions & 0 deletions templates/aws-standalone-cp/templates/k0scontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
repositories:
- name: aws-cloud-controller-manager
url: https://kubernetes.github.io/cloud-provider-aws
- name: aws-ebs-csi-driver
url: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
charts:
- name: aws-cloud-controller-manager
namespace: kube-system
Expand All @@ -44,6 +46,15 @@ spec:
- --cluster-cidr={{ first .Values.clusterNetwork.pods.cidrBlocks }}
- --allocate-node-cidrs=true
- --cluster-name={{ include "cluster.name" . }}
- name: aws-ebs-csi-driver
namespace: kube-system
chartname: aws-ebs-csi-driver/aws-ebs-csi-driver
version: 2.33.0
values: |
defaultStorageClass:
enabled: true
node:
kubeletPath: /var/lib/k0s/kubelet
machineTemplate:
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
Expand Down

0 comments on commit 726df37

Please sign in to comment.