This commit is contained in:
Raiko Oll
2026-02-16 15:55:17 +02:00
parent 784a50dc45
commit ab82394cae
8 changed files with 21 additions and 6 deletions

BIN
.app.yaml.kate-swp Normal file

Binary file not shown.

BIN
.deployment.yaml.kate-swp Normal file

Binary file not shown.

2
Chart.yaml Normal file
View File

@@ -0,0 +1,2 @@
name: memelord
version: 1.0.0

View File

@@ -24,7 +24,7 @@ spec:
env:
- name: DOMAIN
value: "memelord-raiko.ee-lte-1.codemowers.io"
value: "{{ .Values.hostname }}"
- name: DB_ENGINE
value: "postgres"
- name: POSTGRES_USER

View File

@@ -149,7 +149,7 @@ metadata:
spec:
secretName: memelord-raiko-tls
dnsNames:
- memelord-raiko.ee-lte-1.codemowers.io
- {{ .Values.hostname }}
issuerRef:
name: letsencrypt
kind: ClusterIssuer
@@ -163,7 +163,7 @@ metadata:
spec:
ingressClassName: traefik
rules:
- host: memelord-raiko.ee-lte-1.codemowers.io
- host: {{ .Values.hostname }}
http:
paths:
- pathType: Prefix

View File

@@ -79,10 +79,9 @@ spec:
value: "http://passmower.passmower.svc.cluster.local/token"
- name: GF_AUTH_GENERIC_OAUTH_API_URL
value: "http://passmower.passmower.svc.cluster.local/me"
- name: GF_AUTH_GENERIC_OAUTH_SIGNOUT_REDIRECT_URL
value: "https://auth.ee-lte-1.codemowers.io/logout"
# - name: GF_AUTH_GENERIC_OAUTH_SIGNOUT_REDIRECT_URL
# value: "https://auth.ee-lte-1.codemowers.io//openid/session/end"
# Give Admin role to allowed group members
- name: GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH
value: "contains(groups[*], 'github.com:codemowers:admins') && 'Admin' || Viewer"

13
templates/http-probe.yaml Normal file
View File

@@ -0,0 +1,13 @@
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
name: reddit-probe
spec:
module: http_2xx
prober:
url: blackbox-exporter.monitoring.svc.cluster.local
targets:
staticConfig:
static:
- reddit.com

1
values.yaml Normal file
View File

@@ -0,0 +1 @@
hostname: memelord-raiko.ee-lte-1.codemowers.io