Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,45 @@ spec:
metadata:
labels:
app: onepassword-connect
version: "1.7.3"
version: "1.8.2"
app.kubernetes.io/component: connect
spec:
priorityClassName: cluster-infrastructure
securityContext:
fsGroup: 999
runAsGroup: 999
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
volumes:
- name: shared-data
emptyDir: {}
- name: credentials
secret:
secretName: op-credentials
items:
- key: 1password-credentials.json
path: 1password-credentials.json
tolerations: []
containers:
- name: connect-api
image: 1password/connect-api:1.7.3
image: 1password/connect-api:1.8.2
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 999
runAsGroup: 999
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
resources:
limits:
memory: 128Mi
requests:
cpu: 0.2
env:
- name: OP_SESSION
valueFrom:
secretKeyRef:
name: op-credentials
key: 1password-credentials.json
value: /home/opuser/.op/1password-credentials.json
- name: OP_BUS_PORT
value: "11220"
- name: OP_BUS_PEERS
Expand All @@ -74,22 +83,24 @@ spec:
volumeMounts:
- mountPath: /home/opuser/.op/data
name: shared-data
- name: credentials
mountPath: /home/opuser/.op/1password-credentials.json
subPath: 1password-credentials.json
- name: connect-sync
image: 1password/connect-sync:1.7.3
image: 1password/connect-sync:1.8.2
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 999
runAsGroup: 999
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
resources: {}
env:
- name: OP_HTTP_PORT
value: "8081"
- name: OP_SESSION
valueFrom:
secretKeyRef:
name: op-credentials
key: 1password-credentials.json
value: /home/opuser/.op/1password-credentials.json
- name: OP_BUS_PORT
value: "11221"
- name: OP_BUS_PEERS
Expand All @@ -112,3 +123,6 @@ spec:
volumeMounts:
- mountPath: /home/opuser/.op/data
name: shared-data
- name: credentials
mountPath: /home/opuser/.op/1password-credentials.json
subPath: 1password-credentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ metadata:
helm.sh/hook-weight: "1"
spec:
restartPolicy: Never
securityContext:
fsGroup: 65532
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
containers:
- name: curl
image: curlimages/curl:latest
command: ["curl", "http://onepassword-connect:8080/health"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
2 changes: 1 addition & 1 deletion apps/1password-connect/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
chart:
spec:
chart: connect
version: 2.0.3
version: 2.4.1
sourceRef:
kind: HelmRepository
name: 1password-connect
Expand Down