helm
This commit is contained in:
BIN
.app.yaml.kate-swp
Normal file
BIN
.app.yaml.kate-swp
Normal file
Binary file not shown.
BIN
.deployment.yaml.kate-swp
Normal file
BIN
.deployment.yaml.kate-swp
Normal file
Binary file not shown.
2
Chart.yaml
Normal file
2
Chart.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
name: memelord
|
||||||
|
version: 1.0.0
|
||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- name: DOMAIN
|
- name: DOMAIN
|
||||||
value: "memelord-raiko.ee-lte-1.codemowers.io"
|
value: "{{ .Values.hostname }}"
|
||||||
- name: DB_ENGINE
|
- name: DB_ENGINE
|
||||||
value: "postgres"
|
value: "postgres"
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
@@ -149,7 +149,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
secretName: memelord-raiko-tls
|
secretName: memelord-raiko-tls
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- memelord-raiko.ee-lte-1.codemowers.io
|
- {{ .Values.hostname }}
|
||||||
issuerRef:
|
issuerRef:
|
||||||
name: letsencrypt
|
name: letsencrypt
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
@@ -163,7 +163,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- host: memelord-raiko.ee-lte-1.codemowers.io
|
- host: {{ .Values.hostname }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
@@ -79,10 +79,9 @@ spec:
|
|||||||
value: "http://passmower.passmower.svc.cluster.local/token"
|
value: "http://passmower.passmower.svc.cluster.local/token"
|
||||||
- name: GF_AUTH_GENERIC_OAUTH_API_URL
|
- name: GF_AUTH_GENERIC_OAUTH_API_URL
|
||||||
value: "http://passmower.passmower.svc.cluster.local/me"
|
value: "http://passmower.passmower.svc.cluster.local/me"
|
||||||
- name: GF_AUTH_GENERIC_OAUTH_SIGNOUT_REDIRECT_URL
|
# - name: GF_AUTH_GENERIC_OAUTH_SIGNOUT_REDIRECT_URL
|
||||||
value: "https://auth.ee-lte-1.codemowers.io/logout"
|
# 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
|
- name: GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH
|
||||||
value: "contains(groups[*], 'github.com:codemowers:admins') && 'Admin' || Viewer"
|
value: "contains(groups[*], 'github.com:codemowers:admins') && 'Admin' || Viewer"
|
||||||
|
|
||||||
13
templates/http-probe.yaml
Normal file
13
templates/http-probe.yaml
Normal 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
1
values.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
hostname: memelord-raiko.ee-lte-1.codemowers.io
|
||||||
Reference in New Issue
Block a user