user-app nodeport added
This commit is contained in:
parent
980ac76757
commit
b5886b0f3a
@ -11,5 +11,8 @@ spec:
|
|||||||
port: 9090
|
port: 9090
|
||||||
targetPort: 9090
|
targetPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if eq .Values.type "NodePort" }}
|
||||||
|
nodePort: {{ .Values.nodePort }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "user-app.selectorLabels" . | nindent 4 }}
|
{{- include "user-app.selectorLabels" . | nindent 4 }}
|
||||||
|
|||||||
@ -26,4 +26,5 @@ pdb:
|
|||||||
enabled: false
|
enabled: false
|
||||||
service:
|
service:
|
||||||
targetPort: 9090
|
targetPort: 9090
|
||||||
type: ClusterIP
|
type: NodePort
|
||||||
|
nodePort: 31756
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user