Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
add load balancing to route
Browse files Browse the repository at this point in the history
  • Loading branch information
pb82 authored and slaskawi committed Oct 4, 2019
1 parent 1abeb2c commit ae9e507
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 3,090 deletions.
1 change: 1 addition & 0 deletions pkg/model/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ const (
AdminUsernameProperty = "ADMIN_USERNAME" // nolint
AdminPasswordProperty = "ADMIN_PASSWORD" // nolint
ServingCertSecretName = "sso-x509-https-secret" // nolint
RouteLoadBalancingStrategy = "source"
)
3 changes: 3 additions & 0 deletions pkg/model/keycloak_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ func KeycloakRoute(cr *kc.Keycloak) *v1.Route {
Labels: map[string]string{
"application": ApplicationName,
},
Annotations: map[string]string{
"haproxy.router.openshift.io/balance": RouteLoadBalancingStrategy,
},
},
Spec: v1.RouteSpec{
Port: &v1.RoutePort{
Expand Down
16 changes: 0 additions & 16 deletions vendor/github.com/evanphx/json-patch/.travis.yml

This file was deleted.

25 changes: 0 additions & 25 deletions vendor/github.com/evanphx/json-patch/LICENSE

This file was deleted.

292 changes: 0 additions & 292 deletions vendor/github.com/evanphx/json-patch/README.md

This file was deleted.

Loading

0 comments on commit ae9e507

Please sign in to comment.