Skip to content

Commit

Permalink
fix(gw/api): undo inversion, misunderstood sean is misunderstood
Browse files Browse the repository at this point in the history
  • Loading branch information
seanknox committed Dec 21, 2017
1 parent d85d29c commit 1b72708
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion brigade-api/cmd/brigade-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func defaultAPIPort() string {
if port, ok := os.LookupEnv("BRIGADE_API_PORT"); ok {
return port
}
return "7744"
return "7745"
}

func cors(c *gin.Context) {
Expand Down
2 changes: 1 addition & 1 deletion brigade-gateway/cmd/brigade-gateway/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func defaultGatewayPort() string {
if port, ok := os.LookupEnv("BRIGADE_GATEWAY_PORT"); ok {
return port
}
return "7745"
return "7744"
}

func defaultBuildForkedPRs() bool {
Expand Down
2 changes: 1 addition & 1 deletion charts/brigade/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: BRIGADE_API_PORT
value: {{ default "7744" .Values.api.service.internalPort }}
value: {{ .Values.api.service.internalPort | quote }}
{{ if .Values.privateRegistry }}imagePullSecrets:
- name: {{.Values.privateRegistry}}{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion charts/brigade/templates/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- name: BRIGADE_BUILD_FORKED_PULL_REQUESTS
value: {{ default "" .Values.gw.buildForkedPullRequests }}
- name: BRIGADE_GATEWAY_PORT
value: {{ default "7745" .Values.service.internalPort }}
value: {{ .Values.service.internalPort | quote }}
{{ if .Values.privateRegistry }}imagePullSecrets:
- name: {{.Values.privateRegistry}}{{ end }}
{{ end }}
8 changes: 4 additions & 4 deletions charts/brigade/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ api:
service:
name: brigade-api
type: ClusterIP
externalPort: 7744
internalPort: 7744
externalPort: 7745
internalPort: 7745

# worker is the JavaScript worker. These are created on demand by the controller.
worker:
Expand Down Expand Up @@ -130,8 +130,8 @@ vacuum:
service:
name: brigade-service
type: LoadBalancer
externalPort: 7745
internalPort: 7745
externalPort: 7744
internalPort: 7744
# By default, this is off. If you enable it, you might want to change the
# service.type to ClusterIP
ingress:
Expand Down

0 comments on commit 1b72708

Please sign in to comment.