Make port vars distinct.
This commit is contained in:
parent
7d337a0901
commit
89e67e5f1d
1 changed files with 16 additions and 16 deletions
|
@ -18,15 +18,6 @@ spec:
|
|||
namespace: flux-system
|
||||
|
||||
values:
|
||||
env:
|
||||
OP_BUS_PORT: "11220"
|
||||
OP_BUS_PEERS: "localhost:11221"
|
||||
OP_HTTP_PORT: &port 8080
|
||||
OP_SESSION:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: onepassword-connect-secret
|
||||
key: onepassword-credentials.json
|
||||
controllers:
|
||||
main:
|
||||
annotations:
|
||||
|
@ -36,6 +27,15 @@ spec:
|
|||
image:
|
||||
repository: docker.io/1password/connect-api
|
||||
tag: 1.7.2
|
||||
env:
|
||||
OP_BUS_PORT: "11220"
|
||||
OP_BUS_PEERS: "localhost:11221"
|
||||
OP_HTTP_PORT: &port-connect 8080
|
||||
OP_SESSION:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: onepassword-connect-secret
|
||||
key: onepassword-credentials.json
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
|
@ -43,7 +43,7 @@ spec:
|
|||
spec:
|
||||
httpGet:
|
||||
path: /heartbeat
|
||||
port: *port
|
||||
port: *port-connect
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
failureThreshold: 3
|
||||
|
@ -53,7 +53,7 @@ spec:
|
|||
spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: *port
|
||||
port: *port-connect
|
||||
initialDelaySeconds: 15
|
||||
startup:
|
||||
enabled: true
|
||||
|
@ -61,7 +61,7 @@ spec:
|
|||
spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: *port
|
||||
port: *port-connect
|
||||
failureThreshold: 30
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
|
@ -77,7 +77,7 @@ spec:
|
|||
name: onepassword-connect-secret
|
||||
key: onepassword-credentials.json
|
||||
- name: OP_HTTP_PORT
|
||||
value: &port 8081
|
||||
value: &port-sync 8081
|
||||
- name: OP_BUS_PORT
|
||||
value: "11221"
|
||||
- name: OP_BUS_PEERS
|
||||
|
@ -86,12 +86,12 @@ spec:
|
|||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: *port
|
||||
port: *port-sync
|
||||
initialDelaySeconds: 15
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /heartbeat
|
||||
port: *port
|
||||
port: *port-sync
|
||||
failureThreshold: 3
|
||||
periodSeconds: 30
|
||||
initialDelaySeconds: 15
|
||||
|
@ -103,7 +103,7 @@ spec:
|
|||
main:
|
||||
ports:
|
||||
http:
|
||||
port: *port
|
||||
port: *port-connect
|
||||
|
||||
ingress:
|
||||
main:
|
||||
|
|
Reference in a new issue