certmanager
This commit is contained in:
parent
0bc67f0fdc
commit
64886cdbaf
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
[ ] sabnzbd ini config map
|
[ ] sabnzbd ini config map
|
||||||
[ ] tdarr
|
[ ] tdarr
|
||||||
|
[ ] subtitle extractor
|
||||||
|
[ ] intro-skipper
|
||||||
|
|
||||||
[x] private registry
|
[x] private registry
|
||||||
[x] secrets
|
[x] secrets
|
||||||
|
|||||||
@ -92,8 +92,14 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: jellyfin-ingress
|
name: jellyfin-ingress
|
||||||
namespace: media
|
namespace: media
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: haproxy
|
ingressClassName: haproxy
|
||||||
|
tls:
|
||||||
|
- secretName: jellyfin-ingress
|
||||||
|
hosts:
|
||||||
|
- jf.ntwl.xyz
|
||||||
rules:
|
rules:
|
||||||
- host: jf.ntwl.xyz
|
- host: jf.ntwl.xyz
|
||||||
http:
|
http:
|
||||||
@ -106,3 +112,26 @@ spec:
|
|||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: jellyfin-lan-ingress
|
||||||
|
namespace: media
|
||||||
|
annotations:
|
||||||
|
haproxy.org/ssl-redirect: "false"
|
||||||
|
haproxy.org/ssl-certificate: "default/tls-secret"
|
||||||
|
spec:
|
||||||
|
ingressClassName: haproxy
|
||||||
|
rules:
|
||||||
|
- host: jfl.ntwl.xyz
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: jellyfin
|
||||||
|
port:
|
||||||
|
name: web
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
@ -76,8 +76,15 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: jellyseerr-ingress
|
name: jellyseerr-ingress
|
||||||
namespace: media
|
namespace: media
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: haproxy
|
ingressClassName: haproxy
|
||||||
|
tls:
|
||||||
|
- secretName: jellyseerr-ingress
|
||||||
|
hosts:
|
||||||
|
- jellyseerr.ntwl.xyz
|
||||||
|
- get.ntwl.xyz
|
||||||
rules:
|
rules:
|
||||||
- host: jellyseerr.ntwl.xyz
|
- host: jellyseerr.ntwl.xyz
|
||||||
http:
|
http:
|
||||||
@ -89,3 +96,13 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
|
- host: get.ntwl.xyz
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: jellyseerr
|
||||||
|
port:
|
||||||
|
name: web
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
|||||||
59
networking/cert-manager.yaml
Normal file
59
networking/cert-manager.yaml
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# using the same issuer for everything
|
||||||
|
# ntr@strix is the big boss
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: helm.cattle.io/v1
|
||||||
|
kind: HelmChart
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
namespace: cert-manager
|
||||||
|
spec:
|
||||||
|
repo: https://charts.jetstack.io
|
||||||
|
chart: cert-manager
|
||||||
|
targetNamespace: networking
|
||||||
|
valuesContent: |-
|
||||||
|
crds:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: letsencrypt-staging
|
||||||
|
spec:
|
||||||
|
acme:
|
||||||
|
# The ACME server URL
|
||||||
|
server: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||||
|
# Email address used for ACME registration
|
||||||
|
email: ntr@strix.systems
|
||||||
|
# Name of a secret used to store the ACME account private key
|
||||||
|
privateKeySecretRef:
|
||||||
|
name: letsencrypt-staging
|
||||||
|
# Enable the HTTP-01 challenge provider
|
||||||
|
solvers:
|
||||||
|
- http01:
|
||||||
|
ingress:
|
||||||
|
ingressClassName: haproxy
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
acme:
|
||||||
|
# The ACME server URL
|
||||||
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
# Email address used for ACME registration
|
||||||
|
email: ntr@strix.systems
|
||||||
|
# Name of a secret used to store the ACME account private key
|
||||||
|
privateKeySecretRef:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
# Enable the HTTP-01 challenge provider
|
||||||
|
solvers:
|
||||||
|
- http01:
|
||||||
|
ingress:
|
||||||
|
ingressClassName: haproxy
|
||||||
|
|
||||||
@ -1,11 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: networking
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: helm.cattle.io/v1
|
apiVersion: helm.cattle.io/v1
|
||||||
kind: HelmChart
|
kind: HelmChart
|
||||||
metadata:
|
metadata:
|
||||||
@ -20,3 +13,7 @@ spec:
|
|||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
daemonset:
|
daemonset:
|
||||||
useHostPort: true
|
useHostPort: true
|
||||||
|
config:
|
||||||
|
ssl-redirect-port: "443"
|
||||||
|
|
||||||
|
# - --https-bind-port=443
|
||||||
|
|||||||
6
networking/networking.yaml
Normal file
6
networking/networking.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: networking
|
||||||
Loading…
x
Reference in New Issue
Block a user