Skip to content

Commit

Permalink
Setting additional values
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Sep 16, 2023
1 parent 46ba8df commit 61a08c8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions manifests/workloads/gitea/app.ini.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: gitea-app-ini-plaintext
data:
cron.archive_cleanup: |
ENABLED=true
actions: |
ENABLED=true
markup: |
ENABLED=true
service: |
DISABLE_REGISTRATION=true
ENABLE_BASIC_AUTHENTICATION=false
1 change: 1 addition & 0 deletions manifests/workloads/gitea/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace: git
resources:
- namespace.yaml
- external-dns.yaml
- app.ini.yaml

components:
- database
Expand Down
7 changes: 4 additions & 3 deletions manifests/workloads/gitea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ global:

persistence:
storageClass: ceph-rbd
size: 40Gi

service:
http:
Expand Down Expand Up @@ -36,6 +37,9 @@ gitea:
existingSecret: gitea-creds
config:
APP_NAME: "Not Your Mommas's GitHub"
additionalConfigSources:
- configMap:
name: gitea-app-ini-plaintext
additionalConfigFromEnvs:
- name: GITEA__DATABASE__DB_TYPE
value: postgres
Expand All @@ -53,9 +57,6 @@ gitea:
secretKeyRef:
name: gitdb-user-creds
key: GITEA_DB_PASSWORD
# SERVICE CONFIGURATION
- name: DISABLE_REGISTRATION
value: "true"

postgresql-ha:
enabled: false
Expand Down

0 comments on commit 61a08c8

Please sign in to comment.