diff --git a/charts/library-chart/templates/_ingress.tpl b/charts/library-chart/templates/_ingress.tpl
index 1c5fee9f632d11dd533d4e4e60f055d59347213d..d7407b7887855c5de806e68040d204abc05182d3 100644
--- a/charts/library-chart/templates/_ingress.tpl
+++ b/charts/library-chart/templates/_ingress.tpl
@@ -56,7 +56,7 @@ spec:
   tls:
     - hosts:
         - {{ .Values.ingress.hostname | quote }}
-      secretName: {{ $fullName }}-tls
+      secretName: {{ printf "%s-tls" .Values.ingress.hostname }}
 {{- end }}
   rules:
     - host: {{ .Values.ingress.hostname | quote }}
@@ -97,7 +97,7 @@ spec:
   tls:
     - hosts:
         - {{ .Values.ingress.userHostname | quote }}
-      secretName: {{ $fullName }}-tls  
+      secretName: {{ printf "%s-tls" .Values.ingress.userHostname }}
 {{- end }}
   rules:
     - host: {{ .Values.ingress.userHostname | quote }}
@@ -139,7 +139,7 @@ spec:
   tls:
     - hosts:
         - {{ .Values.ingress.sparkHostname | quote }}
-      secretName: {{ $fullName }}-tls  
+      secretName: {{ printf "%s-tls" .Values.ingress.sparkHostname }}
 {{- end }}
   rules:
     - host: {{ .Values.ingress.sparkHostname | quote }}