86 lines
1.7 KiB
YAML
86 lines
1.7 KiB
YAML
# We use recreate to make sure only one instance with one version is running, because Forgejo might break or data gets inconsistant.
|
|
strategy:
|
|
type: Recreate
|
|
|
|
redis-cluster:
|
|
enabled: false
|
|
|
|
redis:
|
|
enabled: false
|
|
|
|
postgresql:
|
|
enabled: false
|
|
|
|
postgresql-ha:
|
|
enabled: false
|
|
|
|
persistence:
|
|
enabled: false
|
|
|
|
test:
|
|
enabled: false
|
|
|
|
deployment:
|
|
env:
|
|
- name: SSL_CERT_DIR
|
|
value: /etc/ssl/forgejo
|
|
|
|
extraVolumeMounts:
|
|
- mountPath: /etc/ssl/forgejo
|
|
name: custom-database-certs-volume
|
|
readOnly: true
|
|
|
|
extraVolumes:
|
|
- name: custom-database-certs-volume
|
|
secret:
|
|
secretName: custom-database-certs
|
|
|
|
gitea:
|
|
additionalConfigFromEnvs:
|
|
|
|
admin:
|
|
existingSecret: gitea-credential
|
|
|
|
config:
|
|
service:
|
|
DISABLE_REGISTRATION: true
|
|
|
|
other:
|
|
SHOW_FOOTER_VERSION: true
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME: true
|
|
|
|
database:
|
|
DB_TYPE: sqlite3
|
|
|
|
server:
|
|
DOMAIN: 'localtest.me'
|
|
ROOT_URL: 'https://localtest.me:443'
|
|
|
|
service:
|
|
ssh:
|
|
type: NodePort
|
|
nodePort: 32222
|
|
externalTrafficPolicy: Local
|
|
|
|
image:
|
|
pullPolicy: "IfNotPresent"
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
#tag: "8.0.3"
|
|
# Adds -rootless suffix to image name
|
|
#rootless: true
|
|
fullOverride: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw/edp-forgejo:latest-rootless
|
|
|
|
|
|
forgejo:
|
|
runner:
|
|
enabled: true
|
|
image:
|
|
tag: latest
|
|
# replicas: 3
|
|
config:
|
|
runner:
|
|
labels:
|
|
- docker:docker://node:16-bullseye
|
|
- self-hosted:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
|
- ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
|
- ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|