Add step-ca TLS certs for mysql, php, desktop, signage, fc-landing

RKE2 Traefik has no ACME certResolver configured, so IngressRoutes
using certResolver: step-ca silently fall back to the Traefik default
self-signed cert. Fix by using cert-manager Certificate resources with
the step-ca-acme ClusterIssuer and tls.secretName in IngressRoutes.

- fc-landing: Add Certificate, change tls: {} to tls.secretName
- fc-mysql: New app (Certificate + IngressRoute only)
- fc-php: New app (Certificate + IngressRoute only)
- fc-desktop: New app (Certificate + IngressRoute only)
- fc-signage: New app (Certificate + IngressRoute, plus HTTP route for players)

Deployments/Services for mysql/php/desktop/signage are managed by
deploy scripts, not ArgoCD. These apps only manage TLS + ingress.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Andrew Stoltz
2026-04-08 18:20:23 -05:00
parent 8f8290e0da
commit 8f59322329
5 changed files with 160 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
# FlowerCore MySQL Manager — TLS + Ingress
# Deployment and Service managed by deploy script (not ArgoCD)
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: mysql-web-tls
namespace: fc-mysql
spec:
secretName: mysql-web-tls
issuerRef:
name: step-ca-acme
kind: ClusterIssuer
dnsNames:
- mysql.iamworkin.lan
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: mysql-web
namespace: fc-mysql
spec:
entryPoints:
- websecure
routes:
- match: Host(`mysql.iamworkin.lan`)
kind: Rule
services:
- name: mysql-web
port: 5300
tls:
secretName: mysql-web-tls