Skip to content

Commit

Permalink
fix(gotosocial): TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Jul 25, 2024
1 parent fe91667 commit 5a0a31a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions kube/deploy/apps/gotosocial/app/hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ spec:
port: http
tls:
- hosts: [*host]
secretName: gotosocial-tls
defaultPodOptions:
automountServiceAccountToken: false
enableServiceLinks: false
Expand Down
18 changes: 18 additions & 0 deletions kube/deploy/apps/gotosocial/app/tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://crds.jank.ing/cert-manager.io/certificate_v1.json
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: &app gotosocial
namespace: *app
spec:
secretName: gotosocial-tls
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
privateKey:
algorithm: ECDSA
size: 384
commonName: social.jjgadgets.tech
dnsNames:
- social.jjgadgets.tech

0 comments on commit 5a0a31a

Please sign in to comment.