update app-template syntax.
This commit is contained in:
parent
d8bb8e56f9
commit
7d337a0901
1 changed files with 32 additions and 31 deletions
|
@ -66,37 +66,38 @@ spec:
|
|||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
sync:
|
||||
name: sync
|
||||
image: docker.io/1password/connect-sync:1.7.2@sha256:fe527ed9d81f193d8dfbba4140d61f9e8c8dceb0966b3009259087504e5ff79c
|
||||
env:
|
||||
- name: OP_SESSION
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: onepassword-connect-secret
|
||||
key: onepassword-credentials.json
|
||||
- name: OP_HTTP_PORT
|
||||
value: &port 8081
|
||||
- name: OP_BUS_PORT
|
||||
value: "11221"
|
||||
- name: OP_BUS_PEERS
|
||||
value: "localhost:11220"
|
||||
probes:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: *port
|
||||
initialDelaySeconds: 15
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /heartbeat
|
||||
port: *port
|
||||
failureThreshold: 3
|
||||
periodSeconds: 30
|
||||
initialDelaySeconds: 15
|
||||
volumeMounts:
|
||||
- name: shared
|
||||
mountPath: /home/opuser/.op/data
|
||||
sync:
|
||||
image:
|
||||
repository: docker.io/1password/connect-sync
|
||||
tag: 1.7.2
|
||||
env:
|
||||
- name: OP_SESSION
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: onepassword-connect-secret
|
||||
key: onepassword-credentials.json
|
||||
- name: OP_HTTP_PORT
|
||||
value: &port 8081
|
||||
- name: OP_BUS_PORT
|
||||
value: "11221"
|
||||
- name: OP_BUS_PEERS
|
||||
value: "localhost:11220"
|
||||
probes:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: *port
|
||||
initialDelaySeconds: 15
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /heartbeat
|
||||
port: *port
|
||||
failureThreshold: 3
|
||||
periodSeconds: 30
|
||||
initialDelaySeconds: 15
|
||||
volumeMounts:
|
||||
- name: shared
|
||||
mountPath: /home/opuser/.op/data
|
||||
|
||||
service:
|
||||
main:
|
||||
|
|
Reference in a new issue