Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #122 from rafaelcam/gateway-svc-type
Browse files Browse the repository at this point in the history
Adding value to parameterize the type of service to be created for the Cluster Gateway
  • Loading branch information
ChrisKujawa authored Aug 16, 2021
2 parents f76448e + 687a3c6 commit 5787b7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ This functionality is in beta and is subject to change. The design and code is l
| `gateway.podDisruptionBudget.enabled` | Create a PodDisruptionBudget for the gateway pods | `false`
| `gateway.podDisruptionBudget.minAvailable` | minimum number of available gateway pods for PodDisruptionBudget | `1`
| `gateway.podDisruptionBudget.maxUnavailable` | maximum number of unavailable gateway pods for PodDisruptionBudget |
| `serviceType` | The type of cluster service | `ClusterIP`
| `serviceGatewayType` | The type of cluster gateway service | `ClusterIP`
| `serviceHttpPort` | The http port used by the brokers and the gateway| `9600`
| `serviceGatewayPort` | The gateway port used by the gateway | `26500`
| `serviceInternalPort` | The internal port used by the brokers and the gateway | `26502`
Expand Down
1 change: 1 addition & 0 deletions charts/zeebe-cluster-helm/templates/gateway-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
spec:
type: {{ .Values.serviceGatewayType }}
selector:
{{- include "zeebe-cluster.labels.gateway" . | nindent 6 }}
ports:
Expand Down
1 change: 1 addition & 0 deletions charts/zeebe-cluster-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ JavaOpts: >-
labels:
app: zeebe
serviceType: ClusterIP
serviceGatewayType: ClusterIP
serviceHttpPort: 9600
serviceGatewayPort: 26500
serviceCommandPort: 26501
Expand Down

0 comments on commit 5787b7b

Please sign in to comment.