Skip to content

Commit

Permalink
Add temporary debug prints
Browse files Browse the repository at this point in the history
Signed-off-by: Veronika Fisarova <[email protected]>
  • Loading branch information
Deydra71 committed Oct 6, 2023
1 parent 138cecf commit 1a6a9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/common/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ func (t *TLS) AddTLSToDeployment(d *deployment.Deployment) {
fmt.Println("CA SecretName:", t.Ca.CaSecretName)

tlsVolumes := t.CreateVolumes()
fmt.Println("Generated TLS Volumes:", tlsVolumes)
fmt.Println("Generated TLS Volumes:", tlsVolumes) //Debug

tlsVolumeMounts := t.CreateVolumeMounts()
fmt.Println("Generated TLS VolumeMounts:", tlsVolumeMounts)
fmt.Println("Generated TLS VolumeMounts:", tlsVolumeMounts) //Debug

currentDeployment := d.GetDeployment()
currentDeployment.Spec.Template.Spec.Volumes = append(currentDeployment.Spec.Template.Spec.Volumes, tlsVolumes...)
Expand Down

0 comments on commit 1a6a9ff

Please sign in to comment.