reworking ingresses and certs.

This commit is contained in:
Joseph Hanson 2023-11-27 20:05:14 -06:00
parent aa1da3b41c
commit c34d4f735e
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 42 additions and 26 deletions

View file

@ -3,14 +3,14 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "valinor-social"
name: "hsn-dev"
namespace: network
spec:
secretName: "valinor-social-tls"
secretName: "hsn-dev-tls"
issuerRef:
name: letsencrypt-dnsimple-production
name: letsencrypt-cloudflare-production
kind: ClusterIssuer
commonName: "valinor.social"
commonName: "hsn.dev"
dnsNames:
- "valinor.social"
- "*.valinor.social"
- "hsn.dev"
- "*.hsn.dev"

View file

@ -28,7 +28,7 @@ spec:
annotations:
load-balancer.hetzner.cloud/location: fsn1
load-balancer.hetzner.cloud/protocol: tcp
load-balancer.hetzner.cloud/name: valinor-nginx
load-balancer.hetzner.cloud/name: hsn-nginx
load-balancer.hetzner.cloud/use-private-ip: true
load-balancer.hetzner.cloud/uses-proxyprotocol: true

View file

@ -17,22 +17,22 @@ spec:
wait: true
dependsOn:
- name: cluster-apps-cert-manager-issuers
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-ingress-nginx-peertube
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
interval: 10m
path: "./kubernetes/apps/network/ingress-nginx/peertube"
prune: true
sourceRef:
kind: GitRepository
name: valinor
wait: true
dependsOn:
- name: cluster-apps-cert-manager-issuers
# ---
# # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
# apiVersion: kustomize.toolkit.fluxcd.io/v1
# kind: Kustomization
# metadata:
# name: cluster-apps-ingress-nginx-peertube
# namespace: flux-system
# labels:
# substitution.flux.home.arpa/enabled: "true"
# spec:
# interval: 10m
# path: "./kubernetes/apps/network/ingress-nginx/peertube"
# prune: true
# sourceRef:
# kind: GitRepository
# name: valinor
# wait: true
# dependsOn:
# - name: cluster-apps-cert-manager-issuers

View file

@ -0,0 +1,16 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/cert-manager.io/certificate_v1.json
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "valinor-social"
namespace: network
spec:
secretName: "valinor-social-tls"
issuerRef:
name: letsencrypt-dnsimple-production
kind: ClusterIssuer
commonName: "valinor.social"
dnsNames:
- "valinor.social"
- "*.valinor.social"