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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
0 deletions
-
helm/squidex/templates/service.yaml
-
helm/squidex/values.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 }} |
|
|
@ -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. |
|
|
## |
|
|
## |
|
|
|