Skip to content

Commit

Permalink
xnat-web fix NodePort service type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Taylor committed Feb 14, 2022
1 parent a382c1a commit f5e72d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releases/xnat/charts/xnat-web/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
selector:
{{- include "xnat-web.selectorLabels" . | nindent 4 }}
sessionAffinity: "ClientIP"

{{ if (eq .Values.service.type "ClusterIP") }}
---
apiVersion: v1
kind: Service
Expand All @@ -33,7 +33,7 @@ spec:
selector:
{{- include "xnat-web.selectorLabels" . | nindent 4 }}
sessionAffinity: "ClientIP"

{{- end }}
{{- if .Values.dicom_scp.recievers }}
---
apiVersion: v1
Expand Down

0 comments on commit f5e72d2

Please sign in to comment.