Skip to content

Commit

Permalink
Merge pull request #2 from topos-network/feat/expose-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
foo0x29a authored Jun 23, 2023
2 parents eace49a + 19d8446 commit 3964613
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tce-all-in-one/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.6
version: 0.2.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 8 additions & 0 deletions charts/tce-all-in-one/templates/00-tce-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: {{ $.Values.ports.graphql }}
targetPort: graphql
protocol: TCP
name: graphql
selector:
app: {{ $.Values.mode }}-{{ $index }}
sessionAffinity: ClientIP
Expand All @@ -39,6 +43,10 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: {{ $.Values.ports.graphql }}
targetPort: graphql
protocol: TCP
name: graphql
selector:
node: {{ $.Values.mode }}
sessionAffinity: ClientIP
3 changes: 3 additions & 0 deletions charts/tce-all-in-one/templates/01-tce-deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ spec:
- name: http
containerPort: {{ $.Values.ports.http }}
protocol: TCP
- name: graphql
containerPort: {{ $.Values.ports.graphql }}
protocol: TCP
volumeMounts:
- mountPath: /tmp/shared
name: shared
Expand Down
1 change: 1 addition & 0 deletions charts/tce-all-in-one/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ acme:
ports:
http: 1340
p2p: 9090
graphql: 4000

image:
repository: nobody
Expand Down

0 comments on commit 3964613

Please sign in to comment.