1
0
forked from k-space/kube

Rename alias generator to wildflock

This commit is contained in:
Lauri Võsandi 2023-07-30 11:55:01 +03:00
parent a3b2f76652
commit 19ad42bd2b

View File

@ -2,12 +2,12 @@
apiVersion: codemowers.io/v1alpha1
kind: OIDCGWClient
metadata:
name: walias
name: wildflock
spec:
displayName: Wildduck disposable alias generator
uri: "https://walias.k-space.ee/auth-oidc"
uri: "https://wildflock.k-space.ee/auth-oidc"
redirectUris:
- "https://walias.k-space.ee/auth-oidc/callback"
- "https://wildflock.k-space.ee/auth-oidc/callback"
grantTypes:
- "authorization_code"
- "refresh_token"
@ -23,7 +23,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: walias
name: wildflock
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
@ -31,14 +31,14 @@ metadata:
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
spec:
rules:
- host: walias.k-space.ee
- host: wildflock.k-space.ee
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: walias
name: wildflock
port:
number: 3030
tls:
@ -48,11 +48,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: walias
name: wildflock
spec:
type: ClusterIP
selector:
app: walias
app: wildflock
ports:
- protocol: TCP
port: 3030
@ -60,27 +60,27 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: walias
name: wildflock
labels:
app: walias
app: wildflock
spec:
selector:
matchLabels:
app: walias
app: wildflock
replicas: 1
template:
metadata:
labels:
app: walias
app: wildflock
spec:
containers:
- name: walias
- name: wildflock
image: harbor.k-space.ee/k-space/walias:latest
ports:
- containerPort: 3030
env:
- name: CLIENT_URL
value: https://walias.k-space.ee
value: https://wildflock.k-space.ee
- name: WILDDUCK_DOMAIN
value: k6.ee
- name: NODE_ENV
@ -94,4 +94,4 @@ spec:
key: WILDDUCK_API_TOKEN
envFrom:
- secretRef:
name: oidc-client-walias-owner-secrets
name: oidc-client-wildflock-owner-secrets