Make the path of the Readiness and Liveness prob dynamically with the value of the pathPrefix of the helm chart like this :
livenessProbe:
httpGet:
path: /"{{ .Values.ingress.pathPrefix }}"
port: http
readinessProbe:
httpGet:
path: /"{{ .Values.ingress.pathPrefix }}"
port: http