-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathop-scim-bridge-gw.yaml
64 lines (64 loc) · 1.86 KB
/
op-scim-bridge-gw.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: op-scim-bridge
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/minScale: "1"
autoscaling.knative.dev/maxScale: "1"
run.googleapis.com/cpu-throttling: "false"
run.googleapis.com/startup-cpu-boost: "true"
spec:
containers:
- name: scim
image: 1password/scim:v2.9.9
ports:
- name: http1
containerPort: 3002
env:
- name: OP_WORKSPACE_CREDENTIALS
value: /home/opuser/.op/workspace-credentials/.json
- name: OP_WORKSPACE_SETTINGS
value: /home/opuser/.op/workspace-settings/.json
resources:
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: credentials
mountPath: /home/opuser/.op
- name: workspace-credentials
mountPath: /home/opuser/.op/workspace-credentials
- name: workspace-settings
mountPath: /home/opuser/.op/workspace-settings
- name: redis
image: redis
args:
- --maxmemory 256mb
- --maxmemory-policy volatile-lru
- --save ""
resources:
limits:
cpu: 500m
memory: 512Mi
volumes:
- name: credentials
secret:
secretName: scimsession
items:
- key: latest
path: scimsession
- name: workspace-credentials
secret:
secretName: workspace-credentials
items:
- key: latest
path: .json
- name: workspace-settings
secret:
secretName: workspace-settings
items:
- key: latest
path: .json