summaryrefslogtreecommitdiff
path: root/f3s/git-server/helm-chart/templates/configmap-cgit.yaml
blob: 840fbd4761514c8b35255a6170a272db6b2af89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# CGit Configuration
# Configures cgit to scan /repos for git repositories

apiVersion: v1
kind: ConfigMap
metadata:
  name: cgit-config
  namespace: cicd
data:
  cgitrc: |
    # Global settings
    root-title=f3s Git Repository Browser
    root-desc=Browse git repositories in f3s cluster

    # Enable git-config for per-repo settings
    enable-git-config=1

    # Remove .git suffix from repository URLs
    remove-suffix=1

    # Scan for repositories in /repos
    # This must be the last setting in the file
    scan-path=/repos