feat: map snapshotController to control-plane, version bump efs csi driver

This commit is contained in:
Stefan Reimer 2022-01-11 14:42:07 +01:00
parent abc8df861c
commit 00ad93a667
7 changed files with 27 additions and 7 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-storage name: kubezero-storage
description: KubeZero umbrella chart for all things storage incl. AWS EBS/EFS, openEBS-lvm, gemini description: KubeZero umbrella chart for all things storage incl. AWS EBS/EFS, openEBS-lvm, gemini
type: application type: application
version: 0.5.2 version: 0.5.3
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords: keywords:
@ -32,7 +32,7 @@ dependencies:
condition: aws-ebs-csi-driver.enabled condition: aws-ebs-csi-driver.enabled
# repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver # repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
- name: aws-efs-csi-driver - name: aws-efs-csi-driver
version: 2.2.0 version: 2.2.1
condition: aws-efs-csi-driver.enabled condition: aws-efs-csi-driver.enabled
# repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver # repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
kubeVersion: ">= 1.20.0" kubeVersion: ">= 1.20.0"

View File

@ -1,6 +1,6 @@
# kubezero-storage # kubezero-storage
![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
KubeZero umbrella chart for all things storage incl. AWS EBS/EFS, openEBS-lvm, gemini KubeZero umbrella chart for all things storage incl. AWS EBS/EFS, openEBS-lvm, gemini
@ -19,7 +19,7 @@ Kubernetes: `>= 1.20.0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| | aws-ebs-csi-driver | 2.6.2 | | | aws-ebs-csi-driver | 2.6.2 |
| | aws-efs-csi-driver | 2.2.0 | | | aws-efs-csi-driver | 2.2.1 |
| | gemini | 0.0.8 | | | gemini | 0.0.8 |
| | lvm-localpv | 0.8.6 | | | lvm-localpv | 0.8.6 |
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.1.4 | | https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.1.4 |
@ -94,11 +94,14 @@ Kubernetes: `>= 1.20.0`
| lvm-localpv.storageClass.vgpattern | string | `""` | | | lvm-localpv.storageClass.vgpattern | string | `""` | |
| snapshotController.enabled | bool | `true` | | | snapshotController.enabled | bool | `true` | |
| snapshotController.logLevel | int | `2` | | | snapshotController.logLevel | int | `2` | |
| snapshotController.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
| snapshotController.replicas | int | `1` | | | snapshotController.replicas | int | `1` | |
| snapshotController.resources.limits.cpu | string | `"100m"` | | | snapshotController.resources.limits.cpu | string | `"100m"` | |
| snapshotController.resources.limits.memory | string | `"64Mi"` | | | snapshotController.resources.limits.memory | string | `"64Mi"` | |
| snapshotController.resources.requests.cpu | string | `"20m"` | | | snapshotController.resources.requests.cpu | string | `"20m"` | |
| snapshotController.resources.requests.memory | string | `"16Mi"` | | | snapshotController.resources.requests.memory | string | `"16Mi"` | |
| snapshotController.tolerations[0].effect | string | `"NoSchedule"` | |
| snapshotController.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
# Snapshotter # Snapshotter
- https://kubernetes-csi.github.io/docs/snapshot-controller.html#deployment - https://kubernetes-csi.github.io/docs/snapshot-controller.html#deployment

View File

@ -1,5 +1,8 @@
# Helm chart # Helm chart
# v2.2.1
* Bump app/driver version to `v1.3.5`
# v2.2.0 # v2.2.0
* Allow health ports to be configured * Allow health ports to be configured
* Add Missing "patch" permission for "events" * Add Missing "patch" permission for "events"

View File

@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
appVersion: 1.3.4 appVersion: 1.3.5
description: A Helm chart for AWS EFS CSI Driver description: A Helm chart for AWS EFS CSI Driver
home: https://github.com/kubernetes-sigs/aws-efs-csi-driver home: https://github.com/kubernetes-sigs/aws-efs-csi-driver
keywords: keywords:
@ -15,4 +15,4 @@ maintainers:
name: aws-efs-csi-driver name: aws-efs-csi-driver
sources: sources:
- https://github.com/kubernetes-sigs/aws-efs-csi-driver - https://github.com/kubernetes-sigs/aws-efs-csi-driver
version: 2.2.0 version: 2.2.1

View File

@ -9,7 +9,7 @@ replicaCount: 2
image: image:
repository: amazon/aws-efs-csi-driver repository: amazon/aws-efs-csi-driver
tag: "v1.3.4" tag: "v1.3.5"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
sidecars: sidecars:

View File

@ -38,3 +38,11 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
{{- toYaml .Values.snapshotController.resources | nindent 12 }} {{- toYaml .Values.snapshotController.resources | nindent 12 }}
{{- with .Values.snapshotController.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.snapshotController.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@ -3,6 +3,12 @@ snapshotController:
replicas: 1 replicas: 1
logLevel: 2 logLevel: 2
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
nodeSelector:
node-role.kubernetes.io/control-plane: ""
resources: resources:
requests: requests:
memory: 16Mi memory: 16Mi