feat(plausible): expose via HTTPS
All checks were successful
Renovate / renovate (push) Successful in 54s
All checks were successful
Renovate / renovate (push) Successful in 54s
This commit is contained in:
parent
bc3da36f9b
commit
3968ffc459
3 changed files with 30 additions and 0 deletions
|
@ -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
|
||||
|
|
16
plausible/resources/routes.yaml
Normal file
16
plausible/resources/routes.yaml
Normal 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
|
12
plausible/resources/service.yaml
Normal file
12
plausible/resources/service.yaml
Normal 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
|
Loading…
Reference in a new issue