kube/passmower/application-extras.yaml

36 lines
753 B
YAML
Raw Normal View History

2024-08-14 05:12:37 +00:00
---
2024-07-28 12:37:19 +00:00
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: auth2-redirect
spec:
redirectRegex:
regex: ^https://auth2.k-space.ee/(.*)
replacement: https://auth.k-space.ee/${1}
permanent: false
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: auth2
spec:
entryPoints:
- websecure
routes:
2024-08-14 05:12:37 +00:00
- match: Host(`auth2.k-space.ee`)
kind: Rule
middlewares:
- name: auth2-redirect
services:
- kind: TraefikService
name: api@internal
---
# Creates a dummy/stub in auth.k-space.ee user-facing service listing
apiVersion: codemowers.cloud/v1beta1
kind: OIDCMiddlewareClient
metadata:
name: slack
spec:
displayName: Slack
uri: 'https://k-space-ee.slack.com/'