feat(plausible): expose via HTTPS
All checks were successful
Renovate / renovate (push) Successful in 54s

This commit is contained in:
Peter 2024-11-26 21:56:18 +01:00
parent bc3da36f9b
commit 3968ffc459
Signed by: prskr
GPG key ID: F56BED6903BC5E37
3 changed files with 30 additions and 0 deletions

View file

@ -14,6 +14,8 @@ resources:
- resources/postgres/db.yaml
- resources/postgres/user.yaml
- resources/deployment.yaml
- resources/service.yaml
- resources/routes.yaml
secretGenerator:
- name: plausible-config

View file

@ -0,0 +1,16 @@
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: plausible-https
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- plausible.icb4dc0.de
rules:
- backendRefs:
- name: plausible
port: 3000

View file

@ -0,0 +1,12 @@
---
apiVersion: v1
kind: Service
metadata:
name: plausible
spec:
selector:
app.kubernetes.io/name: plausible
ports:
- protocol: TCP
port: 3000
targetPort: 3000