added load balancer to secrets-bridge server (#281)
This commit is contained in:
parent
4fb5393c0d
commit
66713b3a94
@ -16,3 +16,9 @@ secrets-bridge:
|
||||
- ${CATTLE_SECRET_KEY}
|
||||
- --rancher-access
|
||||
- ${CATTLE_ACCESS_KEY}
|
||||
secrets-bridge-lb:
|
||||
ports:
|
||||
- "${LBPORT}:8081"
|
||||
image: rancher/load-balancer-service
|
||||
links:
|
||||
- secrets-bridge:secrets-bridge
|
||||
|
@ -34,3 +34,17 @@
|
||||
label: "Vault Cubbyhole Path"
|
||||
required: true
|
||||
description: "Path to get the permenant API key"
|
||||
- variable: LBPORT
|
||||
description: "Port for Secrets Bridge LB to listen on"
|
||||
type: string
|
||||
required: true
|
||||
secrets-bridge-lb:
|
||||
scale: 1
|
||||
load_balancer_config:
|
||||
haproxy_config: {}
|
||||
health_check:
|
||||
port: 42
|
||||
interval: 2000
|
||||
unhealthy_threshold: 3
|
||||
healthy_threshold: 2
|
||||
response_timeout: 2000
|
||||
|
Loading…
x
Reference in New Issue
Block a user