Merge pull request #481 from navilg/467-csi-snapshotter-without-crd
feat: allow csi-snapshotter to be enabled without installing CRDs
This commit is contained in:
commit
7f8802f9c1
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
{{- if .Values.externalSnapshotter.enabled -}}
|
||||
{{- if and .Values.externalSnapshotter.enabled .Values.externalSnapshotter.customResourceDefinitions.enabled -}}
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
@ -6,6 +6,7 @@ metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.8.0
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/665"
|
||||
"helm.sh/resource-policy": keep
|
||||
creationTimestamp: null
|
||||
name: volumesnapshots.snapshot.storage.k8s.io
|
||||
spec:
|
||||
@ -314,6 +315,7 @@ metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.8.0
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/665"
|
||||
"helm.sh/resource-policy": keep
|
||||
creationTimestamp: null
|
||||
name: volumesnapshotclasses.snapshot.storage.k8s.io
|
||||
spec:
|
||||
@ -448,6 +450,7 @@ metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.8.0
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/665"
|
||||
"helm.sh/resource-policy": keep
|
||||
creationTimestamp: null
|
||||
name: volumesnapshotcontents.snapshot.storage.k8s.io
|
||||
spec:
|
||||
|
||||
@ -138,6 +138,10 @@ externalSnapshotter:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
# Create volume snapshot CRDs.
|
||||
customResourceDefinitions:
|
||||
enabled: true #if set true, VolumeSnapshot, VolumeSnapshotContent and VolumeSnapshotClass CRDs will be created. Set it false, If they already exist in cluster.
|
||||
|
||||
## Reference to one or more secrets to be used when pulling images
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user