fix: add proxmox tls

This commit is contained in:
2025-05-16 17:24:08 -04:00
parent 0a0519a148
commit 9c8393803b
2 changed files with 34 additions and 23 deletions

View File

@@ -35,20 +35,31 @@ spec:
name: https name: https
--- ---
apiVersion: traefik.io/v1alpha1 apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP kind: ServersTransport
metadata: metadata:
name: proxmox-tcp name: proxmox-insecure
namespace: proxmox namespace: proxmox
spec: spec:
entryPoints: insecureSkipVerify: true
- websecure # the same entrypoint Traefik uses for HTTPS ---
tls: apiVersion: networking.k8s.io/v1
passthrough: true kind: Ingress
routes: metadata:
- match: HostSNI(`proxmox.i.yadunut.dev`) name: proxmox-proxy
services: namespace: proxmox
- name: proxmox-proxy spec:
port: 8443 ingressClassName: traefik
rules:
- host: proxmox.i.yadunut.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: proxmox-proxy
port:
name: https
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

View File

@@ -50,16 +50,16 @@ metadata:
spec: spec:
ingressClassName: traefik ingressClassName: traefik
rules: rules:
- host: yadunut.dev - host: yadunut.dev
http: http:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: yadunut-dev name: yadunut-dev
port: port:
name: http name: http
--- ---
apiVersion: image.toolkit.fluxcd.io/v1beta2 apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImageRepository kind: ImageRepository
@@ -79,8 +79,8 @@ spec:
imageRepositoryRef: imageRepositoryRef:
name: yadunut-dev name: yadunut-dev
filterTags: filterTags:
pattern: '^sha-[a-fA-F0-9]+-(?P<ts>.*)' pattern: "^sha-[a-fA-F0-9]+-(?P<ts>.*)"
extract: '$ts' extract: "$ts"
policy: policy:
numerical: numerical:
order: asc order: asc