refactor: migrate solar-gateway

This commit is contained in:
Rob Watson 2025-04-29 08:21:42 +02:00
parent 2141487845
commit c986fd9246
6 changed files with 21 additions and 5 deletions

View File

@ -81,9 +81,6 @@ resources:
- statefulset-synapse.yaml - statefulset-synapse.yaml
- svc-synapse.yaml - svc-synapse.yaml
- deploy-solar-toolkit-gateway.yaml
- svc-solar-toolkit-gateway.yaml
configMapGenerator: configMapGenerator:
- name: invidious-scripts - name: invidious-scripts
files: files:

View File

@ -11,9 +11,8 @@ spec:
commonName: k3s.netflux.io commonName: k3s.netflux.io
dnsNames: dnsNames:
- k3s.netflux.io - k3s.netflux.io
- grafana-k3s.netflux.io
- git-k3s.netflux.io
- git.netflux.io - git.netflux.io
- grafana.netflux.io - grafana.netflux.io
- netflux.io - netflux.io
- caldav.netflux.io - caldav.netflux.io
- solar-gateway.netflux.io

View File

@ -54,10 +54,21 @@ spec:
name: radicale name: radicale
port: port:
name: caldav name: caldav
- host: solar-gateway.netflux.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: solar-toolkit-gateway
port:
name: http
tls: tls:
- hosts: - hosts:
- k3s.netflux.io - k3s.netflux.io
- grafana.netflux.io - grafana.netflux.io
- git.netflux.io - git.netflux.io
- caldav.netflux.io - caldav.netflux.io
- solar-gateway
secretName: prod-ingress-tls secretName: prod-ingress-tls

View File

@ -40,6 +40,9 @@ resources:
- statefulset-radicale.yaml - statefulset-radicale.yaml
- svc-radicale.yaml - svc-radicale.yaml
- deploy-solar-toolkit-gateway.yaml
- svc-solar-toolkit-gateway.yaml
configMapGenerator: configMapGenerator:
- name: gitea-scripts - name: gitea-scripts
files: files:
@ -98,6 +101,12 @@ secretGenerator:
options: options:
labels: labels:
app: gitea app: gitea
- name: solar-toolkit-gateway
files:
- database-url=secrets/solar-toolkit-gateway-database-url
options:
labels:
app: solar-toolkit-gateway
patches: patches:
# Patch prometheus-server pod to mount the secrets volume. # Patch prometheus-server pod to mount the secrets volume.