some more fixes

This commit is contained in:
Remy Moll 2024-10-04 18:48:52 +02:00
parent 73feabe55c
commit 888bd97c97
4 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,15 @@
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: gitea-oauth
namespace: gitea
spec:
encryptedData: {}
template:
metadata:
creationTimestamp: null
name: gitea-oauth
namespace: gitea
type: Opaque

View File

@ -120,7 +120,7 @@ gitea:
- secret:
secretName: gitea-oauth
# since we want to reuse the posgres secret, we cannot directly use it here, but instead set the ENV variables
additionalConfugFromEnvs:
additionalConfigFromEnvs:
- name: GITEA__DATABASE__DB_TYPE
value: postgres
- name: GITEA__DATABASE__HOST
@ -139,12 +139,12 @@ gitea:
valueFrom:
secretKeyRef:
name: postgres-password
key: user
key: username
postgresql:
enabled: false
redis-cluster:
enabled: false
postgresql-ha:
enabled: false
redis-cluster:
enabled: false

View File

@ -8,6 +8,7 @@ resources:
# gitea values
- gitea.pvc.yaml
- gitea.ingress.yaml
- gitea-oauth.sealedsecret.yaml
- gitea.servicemonitor.yaml
# actions runner values
- actions.deployment.yaml

View File

@ -0,0 +1,3 @@
# Rebuilding the kluster
When rebuilding the kluster from scratch, the CNPG containers