Upgrading app template for 1password connect/sync-api.
This commit is contained in:
parent
cee86d8cd2
commit
1c3dc0b172
1 changed files with 49 additions and 43 deletions
|
@ -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:
|
||||||
|
|
Reference in a new issue