Skip to content

Commit

Permalink
graphql-engine: add nodePort configuration (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman authored Jul 29, 2024
1 parent 61518f3 commit 9bb0f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/graphql-engine/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ spec:
- name: http
port: {{ coalesce .Values.config.port 8080 }}
targetPort: {{ coalesce .Values.config.port 8080 }}
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
type: {{ coalesce (.Values.service).type "ClusterIP" }}

1 change: 1 addition & 0 deletions charts/graphql-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ service:
annotations: {}
labels: {}
type: ClusterIP
## nodePort: 30020

## Ingress configuration for graphql-engine service
## ref https://kubernetes.io/docs/concepts/services-networking/ingress
Expand Down

0 comments on commit 9bb0f1d

Please sign in to comment.