Add gotify
This commit is contained in:
parent
dc1e1b6390
commit
ac3f6fe5ba
|
@ -55,7 +55,6 @@ spec:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "auth.${SECRET_NEW_DOMAIN}"
|
- host: &host "auth.${SECRET_NEW_DOMAIN}"
|
||||||
|
|
|
@ -19,10 +19,13 @@ spec:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
hosts:
|
hosts:
|
||||||
- host: pgsql.database.${SECRET_DOMAIN}
|
- host: &host pgsql.database.${SECRET_DOMAIN}
|
||||||
paths:
|
paths:
|
||||||
- path: "/"
|
- path: "/"
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- *host
|
||||||
|
secretName: wildcard-main-tls
|
|
@ -0,0 +1,63 @@
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: gotify
|
||||||
|
namespace: tools
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: app-template
|
||||||
|
version: 1.3.x
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: bjws-charts
|
||||||
|
namespace: flux-system
|
||||||
|
|
||||||
|
values:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/gotify/server
|
||||||
|
tag: latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
TZ: America/New_York
|
||||||
|
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
hosts:
|
||||||
|
- host: &host "notif.${SECRET_NEW_DOMAIN}"
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- *host
|
||||||
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /mnt/MainPool/Kubernetes/gotify
|
||||||
|
mountPath: /app/data
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 1m
|
||||||
|
memory: 8Mi
|
||||||
|
|
||||||
|
limits:
|
||||||
|
memory: 500Mi
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./helm-release.yaml
|
|
@ -50,7 +50,6 @@ spec:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "paste.${SECRET_NEW_DOMAIN}"
|
- host: &host "paste.${SECRET_NEW_DOMAIN}"
|
||||||
|
|
|
@ -5,4 +5,5 @@ resources:
|
||||||
- ./network_policy.yaml
|
- ./network_policy.yaml
|
||||||
- ./transfersh
|
- ./transfersh
|
||||||
- ./vaultwarden
|
- ./vaultwarden
|
||||||
- ./hastebin
|
- ./hastebin
|
||||||
|
- ./gotify
|
|
@ -46,7 +46,6 @@ spec:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "upload.${SECRET_NEW_DOMAIN}"
|
- host: &host "upload.${SECRET_NEW_DOMAIN}"
|
||||||
|
|
|
@ -33,7 +33,6 @@ spec:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "bitwarden.${SECRET_NEW_DOMAIN}"
|
- host: &host "bitwarden.${SECRET_NEW_DOMAIN}"
|
||||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
|
|
||||||
secretTemplate:
|
secretTemplate:
|
||||||
annotations:
|
annotations:
|
||||||
replicator.v1.mittwald.de/replicate-to: "traefik,download,media,tools,management,authentik"
|
replicator.v1.mittwald.de/replicate-to: "traefik,download,media,tools,management,authentik,database"
|
||||||
|
|
||||||
duration: 2160h # 90d
|
duration: 2160h # 90d
|
||||||
renewBefore: 360h # 15d
|
renewBefore: 360h # 15d
|
||||||
|
@ -19,4 +19,5 @@ spec:
|
||||||
|
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- "*.${SECRET_NEW_DOMAIN}"
|
- "*.${SECRET_NEW_DOMAIN}"
|
||||||
- "*.k3s.${SECRET_NEW_DOMAIN}"
|
- "*.k3s.${SECRET_NEW_DOMAIN}"
|
||||||
|
- "*.database.${SECRET_NEW_DOMAIN}"
|
|
@ -85,13 +85,6 @@ spec:
|
||||||
ingressRoute:
|
ingressRoute:
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: false
|
enabled: false
|
||||||
# annotations:
|
|
||||||
# cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
||||||
# entryPoints:
|
|
||||||
# - websecure
|
|
||||||
# middlewares:
|
|
||||||
# - traefik-authentik@kubernetescrd
|
|
||||||
# matchRule: Host(`traefik.${SECRET_DOMAIN}`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
|
|
||||||
|
|
||||||
# Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
|
# Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
|
||||||
ingressClass:
|
ingressClass:
|
||||||
|
|
|
@ -22,4 +22,5 @@ TODO:
|
||||||
- [ ] Move transfer storage to minio
|
- [ ] Move transfer storage to minio
|
||||||
- [ ] Reloader
|
- [ ] Reloader
|
||||||
- [ ] kured
|
- [ ] kured
|
||||||
- [ ] external-dns
|
- [ ] external-dns
|
||||||
|
- [x] gotify
|
Loading…
Reference in New Issue