Compare commits
No commits in common. "bf91e7242910b7fdde89656a4c760bb8ba2327db" and "fd13b8aedb1ab760542f9d5fd99ff11e758c6b60" have entirely different histories.
bf91e72429
...
fd13b8aedb
@ -29,7 +29,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/<area>
|
path: manifests/<area>
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -52,7 +52,7 @@ Public services under `nik4nao.com` use Let's Encrypt.
|
|||||||
| `https://auth.nik4nao.com` | Authentik public | Let's Encrypt |
|
| `https://auth.nik4nao.com` | Authentik public | Let's Encrypt |
|
||||||
| `https://traefik.home.arpa` | Traefik dashboard | Internal CA |
|
| `https://traefik.home.arpa` | Traefik dashboard | Internal CA |
|
||||||
| `https://grafana.nik4nao.com` | Grafana | Let's Encrypt |
|
| `https://grafana.nik4nao.com` | Grafana | Let's Encrypt |
|
||||||
| `https://gitea.nik4nao.com` | Gitea | Let's Encrypt |
|
| `https://gitea.home.arpa` | Gitea | Internal CA |
|
||||||
| `https://pihole.home.arpa` | Pi-hole | Internal CA |
|
| `https://pihole.home.arpa` | Pi-hole | Internal CA |
|
||||||
| `https://dashy.home.arpa` | Dashy | Internal CA |
|
| `https://dashy.home.arpa` | Dashy | Internal CA |
|
||||||
| `https://jellyfin.home.arpa` | Jellyfin | Internal CA |
|
| `https://jellyfin.home.arpa` | Jellyfin | Internal CA |
|
||||||
@ -235,9 +235,10 @@ mobileconfig profile. The `ca-sync` CronJob updates those files from the
|
|||||||
|
|
||||||
- Argo CD Applications mostly set `prune: false`; removing resources from Git may
|
- Argo CD Applications mostly set `prune: false`; removing resources from Git may
|
||||||
require manual cleanup.
|
require manual cleanup.
|
||||||
- Gitea uses a manual public `IngressRoute`; `values/gitea.yaml` has no
|
- Gitea is routed at `gitea.home.arpa` via `manifests/gitea/gitea-ingress.yaml`
|
||||||
`ingress:` key at all, so the chart's own ingress is off by chart default,
|
(Certificate + IngressRoute); `values/gitea.yaml` has no `ingress:` key at
|
||||||
not an explicit setting.
|
all, so the chart's own ingress is off by chart default, not an explicit
|
||||||
|
setting.
|
||||||
- Grafana and Loki's static hostPath PVs (`grafana-pv`, `loki-pv` in
|
- Grafana and Loki's static hostPath PVs (`grafana-pv`, `loki-pv` in
|
||||||
`manifests/monitoring/monitoring-pvs.yaml`) are currently unbound — their
|
`manifests/monitoring/monitoring-pvs.yaml`) are currently unbound — their
|
||||||
Helm-managed PVCs got dynamically provisioned via the `local-path`
|
Helm-managed PVCs got dynamically provisioned via the `local-path`
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=GITEA_INSTANCE_URL=https://gitea.nik4nao.com
|
Environment=GITEA_INSTANCE_URL=https://gitea.home.arpa
|
||||||
Environment=GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea_runner_token }}
|
Environment=GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea_runner_token }}
|
||||||
Environment=GITEA_RUNNER_NAME=minisforum
|
Environment=GITEA_RUNNER_NAME=minisforum
|
||||||
Environment=SSL_CERT_FILE=/etc/ssl/certs/homelab-ca.pem
|
Environment=SSL_CERT_FILE=/etc/ssl/certs/homelab-ca.pem
|
||||||
|
|||||||
@ -3,5 +3,5 @@
|
|||||||
# Called by: ansible/playbooks/deploy-watch-party.yaml
|
# Called by: ansible/playbooks/deploy-watch-party.yaml
|
||||||
# Description: Default variables for the watch-party role including repo URL and local directory.
|
# Description: Default variables for the watch-party role including repo URL and local directory.
|
||||||
|
|
||||||
watch_party_repo: https://gitea.nik4nao.com/nik/watch-party.git
|
watch_party_repo: https://gitea.home.arpa/nik/watch-party.git
|
||||||
watch_party_dir: /Users/nik/repo/watch-party
|
watch_party_dir: /Users/nik/repo/watch-party
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/argocd
|
path: manifests/argocd
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/authentik
|
path: manifests/authentik
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -20,7 +20,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/authentik.yaml
|
- $values/values/authentik.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/cert-manager
|
path: manifests/cert-manager
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/cert-manager.yaml
|
- $values/values/cert-manager.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/core
|
path: manifests/core
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/gitea
|
path: manifests/gitea
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -34,7 +34,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/gitea.yaml
|
- $values/values/gitea.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/home-services
|
path: manifests/home-services
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/homeassistant
|
path: manifests/homeassistant
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -16,7 +16,7 @@ spec:
|
|||||||
releaseName: loki-stack
|
releaseName: loki-stack
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/loki-stack.yaml
|
- $values/values/loki-stack.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/media
|
path: manifests/media
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/monitoring
|
path: manifests/monitoring
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -15,7 +15,7 @@ spec:
|
|||||||
releaseName: kube-prometheus-stack
|
releaseName: kube-prometheus-stack
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/kube-prometheus-stack.yaml
|
- $values/values/kube-prometheus-stack.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/network
|
path: manifests/network
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/network
|
path: manifests/network
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -13,7 +13,7 @@ spec:
|
|||||||
releaseName: otel-collector
|
releaseName: otel-collector
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/otel-collector.yaml
|
- $values/values/otel-collector.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -12,7 +12,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/pihole-debian.yaml
|
- $values/values/pihole-debian.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -12,7 +12,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/pihole.yaml
|
- $values/values/pihole.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: manifests/portfolio
|
path: manifests/portfolio
|
||||||
directory:
|
directory:
|
||||||
|
|||||||
@ -14,7 +14,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/sealed-secrets.yaml
|
- $values/values/sealed-secrets.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -13,7 +13,7 @@ spec:
|
|||||||
releaseName: tempo
|
releaseName: tempo
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/tempo.yaml
|
- $values/values/tempo.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -12,7 +12,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/traefik.yaml
|
- $values/values/traefik.yaml
|
||||||
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
- repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@ -106,7 +106,7 @@ sections:
|
|||||||
id: 3_services_grafana
|
id: 3_services_grafana
|
||||||
- title: Gitea
|
- title: Gitea
|
||||||
icon: si-gitea
|
icon: si-gitea
|
||||||
url: https://gitea.nik4nao.com
|
url: https://gitea.home.arpa
|
||||||
target: newtab
|
target: newtab
|
||||||
id: 4_services_gitea
|
id: 4_services_gitea
|
||||||
- title: Pi-hole
|
- title: Pi-hole
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.nik4nao.com/nik/homelab.git
|
repoURL: https://gitea.home.arpa/nik/homelab.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
path: argocd/apps
|
path: argocd/apps
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
29
manifests/gitea/gitea-ingress.yaml
Normal file
29
manifests/gitea/gitea-ingress.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: gitea-tls
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
secretName: gitea-tls
|
||||||
|
issuerRef:
|
||||||
|
name: internal-ca-issuer
|
||||||
|
kind: ClusterIssuer
|
||||||
|
dnsNames:
|
||||||
|
- gitea.home.arpa
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: gitea
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`gitea.home.arpa`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: gitea-http
|
||||||
|
port: 3000
|
||||||
|
tls:
|
||||||
|
secretName: gitea-tls
|
||||||
@ -1,32 +0,0 @@
|
|||||||
# Apply: kubectl apply -f manifests/gitea/gitea-public-ingress.yaml
|
|
||||||
# Delete: kubectl delete -f manifests/gitea/gitea-public-ingress.yaml
|
|
||||||
# Description: Let's Encrypt TLS certificate and public IngressRoute for Gitea at gitea.nik4nao.com.
|
|
||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: gitea-nik4nao-tls
|
|
||||||
namespace: gitea
|
|
||||||
spec:
|
|
||||||
secretName: gitea-nik4nao-tls
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-prod
|
|
||||||
kind: ClusterIssuer
|
|
||||||
dnsNames:
|
|
||||||
- gitea.nik4nao.com
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: gitea-public
|
|
||||||
namespace: gitea
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`gitea.nik4nao.com`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: gitea-http
|
|
||||||
port: 3000
|
|
||||||
tls:
|
|
||||||
secretName: gitea-nik4nao-tls
|
|
||||||
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
containers:
|
containers:
|
||||||
- name: ai-gateway
|
- name: ai-gateway
|
||||||
image: gitea.nik4nao.com/nik/ai-gateway:latest
|
image: gitea.home.arpa/nik/ai-gateway:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 50052
|
- containerPort: 50052
|
||||||
name: grpc
|
name: grpc
|
||||||
|
|||||||
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
containers:
|
containers:
|
||||||
- name: alert-bridge
|
- name: alert-bridge
|
||||||
image: gitea.nik4nao.com/nik/alert-bridge:latest
|
image: gitea.home.arpa/nik/alert-bridge:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
containers:
|
containers:
|
||||||
- name: alexa-bridge
|
- name: alexa-bridge
|
||||||
image: gitea.nik4nao.com/nik/alexa-bridge:latest
|
image: gitea.home.arpa/nik/alexa-bridge:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
containers:
|
containers:
|
||||||
- name: discord-bot
|
- name: discord-bot
|
||||||
image: gitea.nik4nao.com/nik/discord-bot:latest
|
image: gitea.home.arpa/nik/discord-bot:latest
|
||||||
env:
|
env:
|
||||||
- name: DISCORD_TOKEN
|
- name: DISCORD_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
@ -19,7 +19,7 @@ spec:
|
|||||||
- name: gitea-registry-secret
|
- name: gitea-registry-secret
|
||||||
containers:
|
containers:
|
||||||
- name: ha-gateway
|
- name: ha-gateway
|
||||||
image: gitea.nik4nao.com/nik/ha-gateway:latest
|
image: gitea.home.arpa/nik/ha-gateway:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 50051
|
- containerPort: 50051
|
||||||
name: grpc
|
name: grpc
|
||||||
|
|||||||
@ -6,7 +6,7 @@ set -euo pipefail
|
|||||||
source "$(dirname "$0")/../../.env"
|
source "$(dirname "$0")/../../.env"
|
||||||
kubectl create secret docker-registry gitea-registry-secret \
|
kubectl create secret docker-registry gitea-registry-secret \
|
||||||
--namespace=home-services \
|
--namespace=home-services \
|
||||||
--docker-server=gitea.nik4nao.com \
|
--docker-server=gitea.home.arpa \
|
||||||
--docker-username=nik \
|
--docker-username=nik \
|
||||||
--docker-password="${REGISTRY_PASSWORD}" \
|
--docker-password="${REGISTRY_PASSWORD}" \
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
@ -39,7 +39,7 @@ spec:
|
|||||||
# very files this container needs to copy from.
|
# very files this container needs to copy from.
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: model-init
|
- name: model-init
|
||||||
image: gitea.nik4nao.com/nik/tts-model:latest
|
image: gitea.home.arpa/nik/tts-model:latest
|
||||||
command: ["cp", "-a", "/models/.", "/dest/"]
|
command: ["cp", "-a", "/models/.", "/dest/"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: models
|
- name: models
|
||||||
@ -53,7 +53,7 @@ spec:
|
|||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
containers:
|
containers:
|
||||||
- name: tts-gateway
|
- name: tts-gateway
|
||||||
image: gitea.nik4nao.com/nik/tts-gateway:latest
|
image: gitea.home.arpa/nik/tts-gateway:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 50053
|
- containerPort: 50053
|
||||||
name: grpc
|
name: grpc
|
||||||
@ -98,7 +98,7 @@ spec:
|
|||||||
# reach it over localhost, mirroring the --network host setup used
|
# reach it over localhost, mirroring the --network host setup used
|
||||||
# for local docker testing (see tts-gateway/README.md).
|
# for local docker testing (see tts-gateway/README.md).
|
||||||
- name: tts-sidecar
|
- name: tts-sidecar
|
||||||
image: gitea.nik4nao.com/nik/tts-sidecar:latest
|
image: gitea.home.arpa/nik/tts-sidecar:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 50054
|
- containerPort: 50054
|
||||||
name: http
|
name: http
|
||||||
@ -139,7 +139,7 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
secretName: tts-gateway-tls
|
secretName: tts-gateway-tls
|
||||||
# Populated at pod start by the model-init init container above, copying from the
|
# Populated at pod start by the model-init init container above, copying from the
|
||||||
# versioned gitea.nik4nao.com/nik/tts-model image - not a hostPath into nik-gpu's raw
|
# versioned gitea.home.arpa/nik/tts-model image - not a hostPath into nik-gpu's raw
|
||||||
# disk, so this survives node reprovisioning and isn't tied to manual file placement.
|
# disk, so this survives node reprovisioning and isn't tied to manual file placement.
|
||||||
- name: models
|
- name: models
|
||||||
emptyDir:
|
emptyDir:
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Apply: kubectl apply -f manifests/network/watch-party-ingress.yaml
|
# Apply: kubectl apply -f manifests/network/watch-party-ingress.yaml
|
||||||
# Delete: kubectl delete -f manifests/network/watch-party-ingress.yaml
|
# Delete: kubectl delete -f manifests/network/watch-party-ingress.yaml
|
||||||
# Description: External Endpoints, Service, and Ingress for Watch Party on Mac Mini at watch-party.nik4nao.com.
|
# Description: External Endpoints and Service for Watch Party on Mac Mini. No public
|
||||||
|
# route — taken off the internet (was Ingress + Let's Encrypt cert at watch-party.nik4nao.com).
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Endpoints
|
kind: Endpoints
|
||||||
metadata:
|
metadata:
|
||||||
@ -21,30 +22,3 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: watch-party
|
|
||||||
namespace: default
|
|
||||||
annotations:
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
spec:
|
|
||||||
ingressClassName: traefik
|
|
||||||
tls:
|
|
||||||
- secretName: watch-party-tls
|
|
||||||
hosts:
|
|
||||||
- watch-party.nik4nao.com
|
|
||||||
rules:
|
|
||||||
- host: watch-party.nik4nao.com
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: watch-party-mac-mini
|
|
||||||
port:
|
|
||||||
number: 3000
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Apply: kubectl apply -f manifests/portfolio/portfolio.yaml
|
# Apply: kubectl apply -f manifests/portfolio/portfolio.yaml
|
||||||
# Delete: kubectl delete -f manifests/portfolio/portfolio.yaml
|
# Delete: kubectl delete -f manifests/portfolio/portfolio.yaml
|
||||||
# Description: Portfolio website deployment, service, TLS certificate, and public IngressRoute at nik4nao.com.
|
# Description: Portfolio website deployment and service. No public route — taken off
|
||||||
|
# the internet (was IngressRoute + Let's Encrypt cert at nik4nao.com).
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
@ -26,7 +27,7 @@ spec:
|
|||||||
- name: gitea-registry
|
- name: gitea-registry
|
||||||
containers:
|
containers:
|
||||||
- name: portfolio
|
- name: portfolio
|
||||||
image: gitea.nik4nao.com/nik/portfolio:latest
|
image: gitea.home.arpa/nik/portfolio:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
@ -48,50 +49,4 @@ spec:
|
|||||||
app: portfolio
|
app: portfolio
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
---
|
|
||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: portfolio-tls
|
|
||||||
namespace: portfolio
|
|
||||||
spec:
|
|
||||||
secretName: portfolio-tls
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-prod
|
|
||||||
kind: ClusterIssuer
|
|
||||||
dnsNames:
|
|
||||||
- nik4nao.com
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: portfolio
|
|
||||||
namespace: portfolio
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`nik4nao.com`)
|
|
||||||
kind: Rule
|
|
||||||
middlewares:
|
|
||||||
- name: portfolio-ratelimit
|
|
||||||
services:
|
|
||||||
- name: portfolio
|
|
||||||
port: 80
|
|
||||||
tls:
|
|
||||||
secretName: portfolio-tls
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: portfolio-ratelimit
|
|
||||||
namespace: portfolio
|
|
||||||
spec:
|
|
||||||
rateLimit:
|
|
||||||
average: 50
|
|
||||||
burst: 100
|
|
||||||
period: 1m
|
|
||||||
sourceCriterion:
|
|
||||||
ipStrategy:
|
|
||||||
depth: 1
|
|
||||||
@ -13,9 +13,9 @@ gitea:
|
|||||||
|
|
||||||
config:
|
config:
|
||||||
server:
|
server:
|
||||||
DOMAIN: gitea.nik4nao.com
|
DOMAIN: gitea.home.arpa
|
||||||
ROOT_URL: https://gitea.nik4nao.com
|
ROOT_URL: https://gitea.home.arpa
|
||||||
SSH_DOMAIN: gitea.nik4nao.com
|
SSH_DOMAIN: gitea.home.arpa
|
||||||
SSH_PORT: 2222
|
SSH_PORT: 2222
|
||||||
repository:
|
repository:
|
||||||
DEFAULT_PRIVATE: true
|
DEFAULT_PRIVATE: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user