Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Bind webhook controller to a non priviliged port (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
matzew authored and knative-prow-robot committed May 8, 2019
1 parent 27f0da7 commit 002a41a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
ServiceName: "build-webhook",
DeploymentName: "build-webhook",
Namespace: system.Namespace(),
Port: 443,
Port: 8443,
SecretName: "build-webhook-certs",
WebhookName: "webhook.build.knative.dev",
}
Expand Down
2 changes: 1 addition & 1 deletion config/400-webhook-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ metadata:
spec:
ports:
- port: 443
targetPort: 443
targetPort: 8443
selector:
role: build-webhook

0 comments on commit 002a41a

Please sign in to comment.