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