Skip to content

Commit

Permalink
feat: added unraid ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Feb 25, 2024
1 parent 798752a commit eab5ba0
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
45 changes: 45 additions & 0 deletions argo/cluster/misc/ingext/chart/unraid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: v1
kind: Service
metadata:
name: unraid
spec:
ports:
- protocol: TCP
port: 80
targetPort: 80
---
apiVersion: v1
kind: Endpoints
metadata:
name: unraid
subsets:
- addresses:
- ip: 10.0.0.9
ports:
- port: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: unraid
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/auth-signin: https://auth.plexmox.com
nginx.ingress.kubernetes.io/auth-url: https://auth.plexmox.com/api/verify
spec:
rules:
- host: unraid.plexmox.com
http:
paths:
- backend:
service:
name: unraid
port:
number: 80
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- unraid.plexmox.com
secretName: unraid-plexmox-com-tls
22 changes: 22 additions & 0 deletions argo/cluster/misc/ingext/ingext.app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ingext
namespace: argo
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: default
server: https://kubernetes.default.svc
project: apps
source:
path: argo/cluster/misc/ingext/chart
repoURL: https://gitlab.com/henrywhitaker3/homelab.git
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

0 comments on commit eab5ba0

Please sign in to comment.