Merge pull request #175 from ag-adampike/pike/k8s-refresh

Update Kubernetes deployment example
This commit is contained in:
De Ville Weppenaar
2022-03-25 13:14:01 -07:00
committed by GitHub
4 changed files with 17 additions and 10 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -17,3 +17,4 @@ spec:
image: redis:latest
ports:
- containerPort: 6379
name: redis

View File

@@ -7,6 +7,6 @@ metadata:
spec:
ports:
- port: 6379
targetPort: 6379
targetPort: redis
selector:
app: op-scim-redis