diff --git a/modules/common/tls/tls.go b/modules/common/tls/tls.go index 6d179a41..a551438f 100644 --- a/modules/common/tls/tls.go +++ b/modules/common/tls/tls.go @@ -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 + VolumeMount corev1.VolumeMount } // NewTLS - initialize and return a TLS struct