Skip to content

Commit

Permalink
add volume crd
Browse files Browse the repository at this point in the history
Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
  • Loading branch information
wenchajun committed Jan 7, 2022
1 parent 09bfa63 commit 2559a3c
Show file tree
Hide file tree
Showing 6 changed files with 4,432 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/fluentbitoperator/v1alpha2/fluentbit_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ type FluentBitSpec struct {
RuntimeClassName string `json:"runtimeClassName,omitempty"`
// PriorityClassName represents the pod's priority class.
PriorityClassName string `json:"priorityClassName,omitempty"`
// List of volumes that can be mounted by containers belonging to the pod.
Volumes []corev1.Volume `json:"volumes,omitempty"`
// Pod volumes to mount into the container's filesystem.
VolumesMounts []corev1.VolumeMount `json:"volumesMounts,omitempty"`
}

// FluentBitStatus defines the observed state of FluentBit
Expand Down
14 changes: 14 additions & 0 deletions api/fluentbitoperator/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2559a3c

Please sign in to comment.