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,27 +29,13 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: onepassword-connect-secret
|
name: onepassword-connect-secret
|
||||||
key: onepassword-credentials.json
|
key: onepassword-credentials.json
|
||||||
|
controllers:
|
||||||
service:
|
|
||||||
main:
|
main:
|
||||||
ports:
|
containers:
|
||||||
http:
|
|
||||||
port: *port
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
main:
|
main:
|
||||||
enabled: true
|
image:
|
||||||
ingressClassName: "nginx"
|
repository: docker.io/1password/connect-api
|
||||||
annotations:
|
tag: 1.7.2
|
||||||
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
|
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -86,7 +67,31 @@ spec:
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 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
|
runAsUser: 999
|
||||||
runAsGroup: 999
|
runAsGroup: 999
|
||||||
|
|
||||||
|
@ -94,7 +99,8 @@ spec:
|
||||||
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