mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 15:28:25 +00:00
fix: allow setting of nodeport
This commit is contained in:
@@ -48,3 +48,6 @@ spec:
|
|||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 3000 # service
|
port: 3000 # service
|
||||||
targetPort: 3000 # container port
|
targetPort: 3000 # container port
|
||||||
|
{{- if eq .Values.frontend.service.type "NodePort" }}
|
||||||
|
nodePort: {{ .Values.frontend.service.nodePort }}
|
||||||
|
{{- end }}
|
||||||
@@ -11,7 +11,10 @@ frontend:
|
|||||||
tag: "latest"
|
tag: "latest"
|
||||||
# kubeSecretRef: some-kube-secret-name
|
# kubeSecretRef: some-kube-secret-name
|
||||||
service:
|
service:
|
||||||
|
# type of the frontend service
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
# define the nodePort if service type is NodePort
|
||||||
|
# nodePort:
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user