Skip to content

Commit

Permalink
helm: use ClusterIP instead of NodePort
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni authored and tiborsimko committed Nov 14, 2022
1 parent 322643f commit f056bb6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "reana.prefix" . }}-cache
namespace: {{ .Release.Namespace }}
spec:
type: NodePort
type: ClusterIP
selector:
app: {{ include "reana.prefix" . }}-cache
ports:
Expand Down
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: {{ include "reana.prefix" . }}-db
namespace: {{ .Release.Namespace }}
spec:
type: NodePort
type: ClusterIP
selector:
app: {{ include "reana.prefix" . }}-db
ports:
Expand Down
3 changes: 1 addition & 2 deletions helm/reana/templates/reana-message-broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "reana.prefix" . }}-message-broker
namespace: {{ .Release.Namespace }}
spec:
type: "NodePort"
type: "ClusterIP"
ports:
- port: 5672
targetPort: 5672
Expand All @@ -14,7 +14,6 @@ spec:
{{- if .Values.debug.enabled }}
- port: 31672
targetPort: 15672
nodePort: 31672
name: "management"
protocol: TCP
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "reana.prefix" . }}-server
namespace: {{ .Release.Namespace }}
spec:
type: "NodePort"
type: "ClusterIP"
ports:
- port: 80
targetPort: 5000
Expand Down
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: {{ include "reana.prefix" . }}-ui
namespace: {{ .Release.Namespace }}
spec:
type: "NodePort"
type: "ClusterIP"
ports:
- port: 80
targetPort: 80
Expand Down
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-workflow-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ include "reana.prefix" . }}-workflow-controller
namespace: {{ .Release.Namespace }}
spec:
type: "NodePort"
type: "ClusterIP"
ports:
- port: 80
targetPort: 5000
Expand Down

0 comments on commit f056bb6

Please sign in to comment.