Skip to content

Commit

Permalink
Support to add the volume, volume mount and privileged for vineyardd …
Browse files Browse the repository at this point in the history
…CRD (v6d-io#1671)


Signed-off-by: Ye Cao <[email protected]>
  • Loading branch information
dashanji authored Dec 19, 2023
1 parent e5e096e commit 79a5a46
Show file tree
Hide file tree
Showing 35 changed files with 3,906 additions and 186 deletions.
2 changes: 1 addition & 1 deletion charts/vineyard-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ appVersion: 0.19.1
dependencies:
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.9.1
version: v1.8.0
condition: cert-manager.enabled
27 changes: 1 addition & 26 deletions charts/vineyard-operator/templates/backup-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down Expand Up @@ -67,7 +67,6 @@ spec:
- kind
- name
type: object
x-kubernetes-map-type: atomic
dataSourceRef:
properties:
apiGroup:
Expand All @@ -80,7 +79,6 @@ spec:
- kind
- name
type: object
x-kubernetes-map-type: atomic
resources:
properties:
limits:
Expand Down Expand Up @@ -123,7 +121,6 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
storageClassName:
type: string
volumeMode:
Expand Down Expand Up @@ -210,7 +207,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
user:
type: string
required:
Expand All @@ -229,7 +225,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
volumeID:
type: string
required:
Expand All @@ -252,7 +247,6 @@ spec:
uid:
type: string
type: object
x-kubernetes-map-type: granular
csi:
properties:
controllerExpandSecretRef:
Expand All @@ -262,43 +256,31 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
controllerPublishSecretRef:
properties:
name:
type: string
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
driver:
type: string
fsType:
type: string
nodeExpandSecretRef:
properties:
name:
type: string
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
nodePublishSecretRef:
properties:
name:
type: string
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
nodeStageSecretRef:
properties:
name:
type: string
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
readOnly:
type: boolean
volumeAttributes:
Expand Down Expand Up @@ -348,7 +330,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
required:
- driver
type: object
Expand Down Expand Up @@ -426,7 +407,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
targetPortal:
type: string
required:
Expand Down Expand Up @@ -499,12 +479,10 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
persistentVolumeReclaimPolicy:
type: string
Expand Down Expand Up @@ -569,7 +547,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
user:
type: string
required:
Expand All @@ -593,7 +570,6 @@ spec:
namespace:
type: string
type: object
x-kubernetes-map-type: atomic
sslEnabled:
type: boolean
storageMode:
Expand Down Expand Up @@ -634,7 +610,6 @@ spec:
uid:
type: string
type: object
x-kubernetes-map-type: atomic
volumeName:
type: string
volumeNamespace:
Expand Down
2 changes: 1 addition & 1 deletion charts/vineyard-operator/templates/csidriver-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/vineyard-operator/templates/globalobject-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/vineyard-operator/templates/localobject-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/vineyard-operator/templates/operation-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/vineyard-operator/templates/recover-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: '{{ .Release.Namespace }}/{{ include "vineyard-operator.fullname"
. }}-serving-cert'
controller-gen.kubebuilder.io/version: v0.11.0
controller-gen.kubebuilder.io/version: v0.8.0
labels:
{{- include "vineyard-operator.labels" . | nindent 4 }}
spec:
Expand Down
Loading

0 comments on commit 79a5a46

Please sign in to comment.