update app-template syntax.

This commit is contained in:
Joseph Hanson 2023-10-04 17:22:50 -05:00
parent d8bb8e56f9
commit 7d337a0901
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -66,37 +66,38 @@ spec:
periodSeconds: 5 periodSeconds: 5
successThreshold: 1 successThreshold: 1
timeoutSeconds: 1 timeoutSeconds: 1
sync: sync:
name: sync image:
image: docker.io/1password/connect-sync:1.7.2@sha256:fe527ed9d81f193d8dfbba4140d61f9e8c8dceb0966b3009259087504e5ff79c repository: docker.io/1password/connect-sync
env: tag: 1.7.2
- name: OP_SESSION env:
valueFrom: - name: OP_SESSION
secretKeyRef: valueFrom:
name: onepassword-connect-secret secretKeyRef:
key: onepassword-credentials.json name: onepassword-connect-secret
- name: OP_HTTP_PORT key: onepassword-credentials.json
value: &port 8081 - name: OP_HTTP_PORT
- name: OP_BUS_PORT value: &port 8081
value: "11221" - name: OP_BUS_PORT
- name: OP_BUS_PEERS value: "11221"
value: "localhost:11220" - name: OP_BUS_PEERS
probes: value: "localhost:11220"
readinessProbe: probes:
httpGet: readinessProbe:
path: /health httpGet:
port: *port path: /health
initialDelaySeconds: 15 port: *port
livenessProbe: initialDelaySeconds: 15
httpGet: livenessProbe:
path: /heartbeat httpGet:
port: *port path: /heartbeat
failureThreshold: 3 port: *port
periodSeconds: 30 failureThreshold: 3
initialDelaySeconds: 15 periodSeconds: 30
volumeMounts: initialDelaySeconds: 15
- name: shared volumeMounts:
mountPath: /home/opuser/.op/data - name: shared
mountPath: /home/opuser/.op/data
service: service:
main: main: