Skip to content

Commit

Permalink
Pass the pod template of StatefulSet (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
leochr committed Dec 1, 2022
1 parent e12b0c0 commit 7c7fce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/webspherelibertyapplication_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func (r *ReconcileWebSphereLiberty) Reconcile(ctx context.Context, request ctrl.
statefulSet.Spec.Template.Spec.Containers[0].VolumeMounts = append(statefulSet.Spec.Template.Spec.Containers[0].VolumeMounts,
getSemeruCertVolumeMount(instance))
semeruTLSSecretName := instance.Status.SemeruCompiler.TLSSecretName
err := lutils.AddSecretResourceVersionAsEnvVar(&deploy.Spec.Template, instance, r.GetClient(),
err := lutils.AddSecretResourceVersionAsEnvVar(&statefulSet.Spec.Template, instance, r.GetClient(),
semeruTLSSecretName, "SEMERU_TLS")
if err != nil {
return err
Expand Down

0 comments on commit 7c7fce6

Please sign in to comment.