Upgrading app template for 1password connect/sync-api.

This commit is contained in:
Joseph Hanson 2023-10-04 16:31:43 -05:00
parent cee86d8cd2
commit 1c3dc0b172
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -9,7 +9,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.1
interval: 30m interval: 30m
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
@ -20,11 +20,6 @@ spec:
controller: controller:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
image:
repository: docker.io/1password/connect-api
tag: 1.7.2
env: env:
OP_BUS_PORT: "11220" OP_BUS_PORT: "11220"
OP_BUS_PEERS: "localhost:11221" OP_BUS_PEERS: "localhost:11221"
@ -34,6 +29,43 @@ spec:
secretKeyRef: secretKeyRef:
name: onepassword-connect-secret name: onepassword-connect-secret
key: onepassword-credentials.json key: onepassword-credentials.json
controllers:
main:
containers:
main:
image:
repository: docker.io/1password/connect-api
tag: 1.7.2
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /heartbeat
port: *port
initialDelaySeconds: 15
periodSeconds: 30
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 15
startup:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
failureThreshold: 30
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
service: service:
main: main:
@ -43,58 +75,32 @@ spec:
ingress: ingress:
main: main:
enabled: true classname: "nginx"
ingressClassName: "nginx"
annotations: annotations:
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
hosts: hosts:
- host: &host "1pwconnect.valinor.social" - host: &host "1pwconnect.valinor.social"
paths: paths:
- path: / - path: /
service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
probes: defaultPodOptions:
liveness: securityContext:
enabled: true runAsUser: 999
custom: true runAsGroup: 999
spec:
httpGet:
path: /heartbeat
port: *port
initialDelaySeconds: 15
periodSeconds: 30
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 15
startup:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
failureThreshold: 30
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
podSecurityContext:
runAsUser: 999
runAsGroup: 999
persistence: persistence:
shared: shared:
enabled: true enabled: true
type: emptyDir type: emptyDir
mountPath: /home/opuser/.op/data globalMounts:
- path: /home/opuser/.op/data
resources: resources:
requests: requests: