mirror of
https://github.com/PurpleComputing/scim-examples.git
synced 2026-09-16 16:50:41 +01:00
Merge pull request #175 from ag-adampike/pike/k8s-refresh
Update Kubernetes deployment example
This commit is contained in:
@@ -16,7 +16,12 @@ spec:
|
||||
- name: op-scim-bridge
|
||||
image: 1password/scim:v2.3.1
|
||||
ports:
|
||||
- containerPort: 3002
|
||||
# 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: scimsession
|
||||
mountPath: "/secret"
|
||||
|
||||
@@ -6,17 +6,18 @@ metadata:
|
||||
app: op-scim-bridge
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
# Traffic on :80 is needed for the status page and to perform the
|
||||
# LetsEncrypt certificate challenges after which all SCIM traffic
|
||||
# will be served on :443.
|
||||
ports:
|
||||
# Use this port in the standard configuration to terminate TLS at the SCIM
|
||||
# bridge container using Let's Encrypt
|
||||
- protocol: TCP
|
||||
name: https
|
||||
port: 443
|
||||
targetPort: 8443
|
||||
- protocol: TCP
|
||||
name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
targetPort: https
|
||||
# Use this port when terminating TLS in front of the SCIM bridge to listen
|
||||
# for unencrypted traffic redirected from a reverse proxy or load balancer
|
||||
#- protocol: TCP
|
||||
# name: http
|
||||
# port: 3002
|
||||
# targetPort: http
|
||||
selector:
|
||||
app: op-scim-bridge
|
||||
|
||||
@@ -17,3 +17,4 @@ spec:
|
||||
image: redis:latest
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
|
||||
@@ -7,6 +7,6 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- port: 6379
|
||||
targetPort: 6379
|
||||
targetPort: redis
|
||||
selector:
|
||||
app: op-scim-redis
|
||||
|
||||
Reference in New Issue
Block a user