penguin/flatgit

flatgit showcase

resources/flatgit.chart/values.yaml

raw ยท 1214 bytes

replicaCount: 1

image:
  repository: ghcr.io/tgckpg/flatgit
  tag: dev
  pullPolicy: IfNotPresent

imagePullSecrets: []
# Example:
# imagePullSecrets:
#   - name: ghcr-pull-secret

timezone: UTC

service:
  type: ClusterIP
  port: 8080

httpRoute:
  enabled: false

  # Usually same namespace, but leave configurable.
  parentRefs:
    - name: gateway
      namespace: default
      sectionName: http

  hostnames: []
  # Example:
  # hostnames:
  #   - git.example.com

  pathPrefix: /

  annotations: {}
  labels: {}

persistence:
  enabled: true
  size: 5Gi
  storageClassName: ""

webhook:
  secret: change-me

flatgit:
  addr: ":8080"
  dataDir: /var/lib/flatgit
  publicUrl: "http://127.0.0.1:8080"

  git:
    command: git
    cloneTimeout: 120s
    fetchTimeout: 120s

  render:
    workers: 1
    maxCommits: 500

  repos:
    - name: flatgit
      owner: tgckpg
      description: flatgit stub repo
      url: https://github.com/tgckpg/flatgit.git
      defaultBranch: main

resources:
  requests:
    cpu: 50m
    memory: 128Mi
  limits:
    cpu: "1"
    memory: 512Mi

securityContext:
  runAsNonRoot: true
  runAsUser: 10001
  runAsGroup: 10001
  fsGroup: 10001
  fsGroupChangePolicy: OnRootMismatch