forked from 1Password/scim-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathop-scim-deployment.yaml
50 lines (50 loc) · 1.28 KB
/
op-scim-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: op-scim-bridge
spec:
selector:
matchLabels:
app: op-scim-bridge
replicas: 1
template:
metadata:
labels:
app: op-scim-bridge
spec:
containers:
- name: op-scim-bridge
image: 1password/scim:v2.7.0
ports:
# HTTPS port (external TCP traffic should be forwarded to this port by default)
- name: https
containerPort: 8443
# HTTP port (forward unencrypted traffic to this port if not using Let's Encrypt)
- name: http
containerPort: 3002
volumeMounts:
- name: secrets
mountPath: "/secrets"
readOnly: false
resources:
requests:
cpu: 125m
memory: 256M
limits:
cpu: 250m
memory: 512M
envFrom:
- configMapRef:
name: op-scim-configmap
volumes:
- name: secrets
projected:
sources:
- secret:
name: scimsession
- secret:
name: workspace-credentials
optional: true
- secret:
name: workspace-settings
optional: true