Skip to content

Commit

Permalink
[tls] update DeplomentResources type
Browse files Browse the repository at this point in the history
  • Loading branch information
stuggi committed Nov 9, 2023
1 parent db6f826 commit db3a003
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions modules/common/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,24 @@ type TLS struct {
// +kubebuilder:object:generate:=false
// DeplomentResources - holding information to be passed in to any deployment require tls certificates
type DeplomentResources struct {

// VolumeMounts -
VolumeMounts []corev1.VolumeMount
//VolumeMounts []corev1.VolumeMount
// Volumes -
Volumes []corev1.Volume
Volumes []Volume

// CAVolumeMounts -
CAVolumeMounts []corev1.VolumeMount
//CAVolumeMounts []corev1.VolumeMount
// CAVolumes -
CAVolumes []corev1.Volume
//CAVolumes []corev1.Volume
}

// +kubebuilder:object:generate:=false
// Volume -
type Volume struct {
IsCA bool
Volume corev1.Volume
VolumeMounts []corev1.VolumeMount
}

// NewTLS - initialize and return a TLS struct
Expand Down

0 comments on commit db3a003

Please sign in to comment.