From b6dc6dfef9bec769af5c3d3e53b62844317cae80 Mon Sep 17 00:00:00 2001 From: Nathan Rashleigh Date: Mon, 14 Apr 2025 22:17:47 +1000 Subject: [PATCH] fix crates --- README.md | 1 + crates/crates.ingress.yaml | 3 +-- crates/crates.yaml | 17 +++++++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ae5986a..822a406 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ ### Media +[ ] move strix gmail to mnml [ ] sabnzbd ini config map [ ] tdarr [ ] subtitle extractor diff --git a/crates/crates.ingress.yaml b/crates/crates.ingress.yaml index 0829cfb..5a6489e 100644 --- a/crates/crates.ingress.yaml +++ b/crates/crates.ingress.yaml @@ -34,12 +34,11 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: + name: crates-api namespace: crates annotations: cert-manager.io/cluster-issuer: "letsencrypt-prod" haproxy.org/path-rewrite: "/api(/)?(.*) /$2" - name: crates-api - namespace: default spec: ingressClassName: haproxy tls: diff --git a/crates/crates.yaml b/crates/crates.yaml index 4f48225..6ed531f 100644 --- a/crates/crates.yaml +++ b/crates/crates.yaml @@ -96,19 +96,20 @@ spec: --- -# apiVersion: v1 -# kind: Pod -# metadata: -# name: nbody-gpu-benchmark -# namespace: default -# spec: - apiVersion: apps/v1 -kind: Pod +kind: Deployment metadata: namespace: crates name: crates-api spec: + replicas: 1 + selector: + matchLabels: + app: crates-api + template: + metadata: + labels: + app: crates-api spec: containers: - name: crates-api