Browse Source

Added nodePort as an attribute of the Helm chart. (#1117)

Co-authored-by: Joel <joel@tripplanner.one>
pull/1121/head
Joel Arrechea 2 years ago
committed by GitHub
parent
commit
3aaa472f77
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      helm/squidex/templates/service.yaml
  2. 3
      helm/squidex/values.yaml

3
helm/squidex/templates/service.yaml

@ -11,5 +11,8 @@ spec:
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http
{{- if and (eq (lower .Values.service.type) "nodeport") .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector: selector:
{{- include "squidex.selectors" . | indent 4 }} {{- include "squidex.selectors" . | indent 4 }}

3
helm/squidex/values.yaml

@ -9,6 +9,9 @@ service:
## @param service.port Kubernetes Service port ## @param service.port Kubernetes Service port
## ##
port: 80 port: 80
## @param service.port Kubernetes Service port
##
nodePort: null
deployment: deployment:
## @param deployment.replicaCount Number of instances. ## @param deployment.replicaCount Number of instances.
## ##

Loading…
Cancel
Save