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

@ -118,9 +118,9 @@ gitea:
additionalConfigSources: additionalConfigSources:
- secret: - secret:
secretName: gitea-oauth secretName: gitea-oauth
# since we want to reuse the posgres secret, we cannot directly use it here, but instead set the ENV variables # 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 - name: GITEA__DATABASE__DB_TYPE
value: postgres value: postgres
- name: GITEA__DATABASE__HOST - name: GITEA__DATABASE__HOST
@ -139,12 +139,12 @@ gitea:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: postgres-password name: postgres-password
key: user key: username
postgresql: postgresql:
enabled: false enabled: false
redis-cluster:
enabled: false
postgresql-ha: postgresql-ha:
enabled: false enabled: false
redis-cluster:
enabled: false

View File

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

View File

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