forked from apecloud/kubeblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support: install option for kubeblocks-csi-driver (apecloud#1884)
- Loading branch information
1 parent
ccae95d
commit 1cd6563
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
apiVersion: extensions.kubeblocks.io/v1alpha1 | ||
kind: Addon | ||
metadata: | ||
name: kubeblocks-csi-driver | ||
labels: | ||
{{- include "kubeblocks.labels" . | nindent 4 }} | ||
spec: | ||
description: 'Kubeblocks CSI driver provides a container storage interface used by Container Orchestrators | ||
to manage the lifecycle of block storage for cloud vendors.' | ||
type: Helm | ||
|
||
helm: | ||
# chartLocationURL: https://github.com/apecloud/helm-charts/releases/download/kubeblocks-csi-driver-0.1.0/kubeblocks-csi-driver-0.1.0.tgz | ||
chartLocationURL: https://jihulab.com/api/v4/projects/85949/packages/helm/stable/charts/kubeblocks-csi-driver-0.1.0.tgz | ||
valuesMapping: | ||
valueMap: | ||
replicaCount: controller.replicaCount | ||
jsonMap: | ||
tolerations: controller.tolerations | ||
|
||
resources: | ||
cpu: | ||
requests: controller.resources.requests.cpu | ||
limits: controller.resources.limits.cpu | ||
memory: | ||
requests: controller.resources.requests.memory | ||
limits: controller.resources.limits.memory | ||
extras: | ||
- name: node | ||
jsonMap: | ||
tolerations: node.tolerations | ||
|
||
resources: | ||
cpu: | ||
requests: node.resources.requests.cpu | ||
limits: node.resources.limits.cpu | ||
memory: | ||
requests: node.resources.requests.memory | ||
limits: node.resources.limits.memory | ||
|
||
defaultInstallValues: | ||
- enabled: false | ||
|
||
installable: | ||
autoInstall: {{ get ( get ( .Values | toYaml | fromYaml ) "kubeblocks-csi-driver" ) "enabled" }} | ||
selectors: | ||
- key: KubeGitVersion | ||
operator: Contains | ||
values: | ||
- eks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters