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:
spec:
chart: app-template
version: 1.5.1
version: 2.0.1
interval: 30m
sourceRef:
kind: HelmRepository
@ -20,11 +20,6 @@ spec:
controller:
annotations:
reloader.stakater.com/auto: "true"
image:
repository: docker.io/1password/connect-api
tag: 1.7.2
env:
OP_BUS_PORT: "11220"
OP_BUS_PEERS: "localhost:11221"
@ -34,27 +29,13 @@ spec:
secretKeyRef:
name: onepassword-connect-secret
key: onepassword-credentials.json
service:
controllers:
main:
ports:
http:
port: *port
ingress:
containers:
main:
enabled: true
ingressClassName: "nginx"
annotations:
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
hosts:
- host: &host "1pwconnect.valinor.social"
paths:
- path: /
tls:
- hosts:
- *host
image:
repository: docker.io/1password/connect-api
tag: 1.7.2
probes:
liveness:
enabled: true
@ -86,7 +67,31 @@ spec:
successThreshold: 1
timeoutSeconds: 1
podSecurityContext:
service:
main:
ports:
http:
port: *port
ingress:
main:
classname: "nginx"
annotations:
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
hosts:
- host: &host "1pwconnect.valinor.social"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
defaultPodOptions:
securityContext:
runAsUser: 999
runAsGroup: 999
@ -94,7 +99,8 @@ spec:
shared:
enabled: true
type: emptyDir
mountPath: /home/opuser/.op/data
globalMounts:
- path: /home/opuser/.op/data
resources:
requests: