mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 07:26:45 +00:00
fix(chart): backend service missing configuration
This commit is contained in:
@@ -64,9 +64,13 @@ metadata:
|
|||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
type: {{ .Values.backend.service.type }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "infisical.backend.matchLabels" . | nindent 8 }}
|
{{- include "infisical.backend.matchLabels" . | nindent 8 }}
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 4000
|
port: 4000
|
||||||
targetPort: 4000 # container port
|
targetPort: 4000 # container port
|
||||||
|
{{- if eq .Values.frontend.service.type "NodePort" }}
|
||||||
|
nodePort: {{ .Values.frontend.service.nodePort }}
|
||||||
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user