sso-kustom/components/hydra-saml/resources/hydra-saml-remote-user.yaml

45 lines
1012 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: hydra-saml-remote-user
name: hydra-saml-remote-user
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: hydra-saml-remote-user
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/name: hydra-saml-remote-user
spec:
containers:
- name: hydra-saml-remote-user
image: reg.cadoles.com/cadoles/hydra-remote-user-base:2023.12.11-develop.1523.5f14595
envFrom:
- configMapRef:
name: hydra-saml-env
ports:
- containerPort: 8080
resources: {}
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: hydra-saml-remote-user
name: hydra-saml-remote-user
spec:
ports:
- name: http
port: 80
targetPort: 8080
selector:
app.kubernetes.io/name: hydra-saml-remote-user
status:
loadBalancer: {}