feat: add namespace, add spotlight route
All checks were successful
lint-test-docker / lint-docker-compose (pull_request) Successful in 37s
lint-test-helm / lint-helm (pull_request) Successful in 37s
lint-test-helm / validate-kubeconform (pull_request) Successful in 25s

This commit is contained in:
2026-04-06 11:37:59 -05:00
parent 945463edbb
commit b4f7d83138
7 changed files with 45 additions and 52 deletions

View File

@@ -14,7 +14,7 @@ spec:
name: traefik-gateway
namespace: traefik
hostnames:
- postiz-temporal-web.alexlebens.net
- postiz-temporal.alexlebens.net
rules:
- matches:
- path:
@@ -26,33 +26,3 @@ spec:
name: postiz-temporal-web
port: 8080
weight: 100
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: postiz-temporal-frontend
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: postiz-temporal-frontend
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- postiz-temporal-frontend.alexlebens.net
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ''
kind: Service
name: postiz-temporal-frontend
port: 7243
weight: 100

View File

@@ -74,9 +74,9 @@ postiz:
- name: POSTIZ_OAUTH_SCOPE
value: openid profile email
- name: NEXT_PUBLIC_SENTRY_DSN
value: http://postiz-spotlight:8969/stream
value: http://key@postiz-spotlight.postiz:8969/1
- name: SENTRY_SPOTLIGHT
value: "1"
value: http://postiz-spotlight.postiz:8969/stream
resources:
requests:
cpu: 10m
@@ -107,6 +107,24 @@ postiz:
http:
port: 8969
targetPort: 8969
route:
main:
kind: HTTPRoute
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- postiz-spotlight.alexlebens.net
rules:
- backendRefs:
- name: postiz-spotlight
port: 8969
matches:
- path:
type: PathPrefix
value: /
persistence:
config:
forceRename: postiz-config
@@ -168,6 +186,11 @@ temporal:
secretKey: password
tls:
enabled: false
namespaces:
create: true
namespace:
- name: default
retention: 30d
frontend:
ingress:
enabled: false