reworking ingresses and certs.
This commit is contained in:
parent
aa1da3b41c
commit
c34d4f735e
4 changed files with 42 additions and 26 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
Reference in a new issue