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
|
namespace: flux-system
|
||||||
|
|
||||||
values:
|
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:
|
controllers:
|
||||||
main:
|
main:
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -36,6 +27,15 @@ spec:
|
||||||
image:
|
image:
|
||||||
repository: docker.io/1password/connect-api
|
repository: docker.io/1password/connect-api
|
||||||
tag: 1.7.2
|
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:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -43,7 +43,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /heartbeat
|
path: /heartbeat
|
||||||
port: *port
|
port: *port-connect
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
@ -53,7 +53,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
port: *port
|
port: *port-connect
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
startup:
|
startup:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -61,7 +61,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
port: *port
|
port: *port-connect
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
|
@ -77,7 +77,7 @@ spec:
|
||||||
name: onepassword-connect-secret
|
name: onepassword-connect-secret
|
||||||
key: onepassword-credentials.json
|
key: onepassword-credentials.json
|
||||||
- name: OP_HTTP_PORT
|
- name: OP_HTTP_PORT
|
||||||
value: &port 8081
|
value: &port-sync 8081
|
||||||
- name: OP_BUS_PORT
|
- name: OP_BUS_PORT
|
||||||
value: "11221"
|
value: "11221"
|
||||||
- name: OP_BUS_PEERS
|
- name: OP_BUS_PEERS
|
||||||
|
@ -86,12 +86,12 @@ spec:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
port: *port
|
port: *port-sync
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /heartbeat
|
path: /heartbeat
|
||||||
port: *port
|
port: *port-sync
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
|
@ -103,7 +103,7 @@ spec:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: *port
|
port: *port-connect
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
|
|
Reference in a new issue