mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-21 06:39:39 +00:00
fix(gotosocial): rm pg_super_pass from app env
This commit is contained in:
@@ -55,6 +55,7 @@ spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
||||
secretName: gotosocial-tls
|
||||
podSecurityContext:
|
||||
runAsUser: &uid 568
|
||||
runAsGroup: *uid
|
||||
@@ -87,3 +88,5 @@ spec:
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: gotosocial-pg
|
||||
- secretRef:
|
||||
name: gotosocial-pg-superuser
|
||||
|
||||
@@ -16,4 +16,12 @@ stringData:
|
||||
INIT_POSTGRES_DBNAME: *db
|
||||
INIT_POSTGRES_USER: *user
|
||||
INIT_POSTGRES_PASS: *pass
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: "gotosocial-pg-superuser"
|
||||
namespace: "gotosocial"
|
||||
type: Opaque
|
||||
stringData:
|
||||
INIT_POSTGRES_SUPER_PASS: "${SECRET_PG_DEFAULT_SUPER_PASS}"
|
||||
|
||||
17
kube/3-deploy/2-apps/gotosocial/deps/tls.yaml
Normal file
17
kube/3-deploy/2-apps/gotosocial/deps/tls.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user