mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-23 13:02:39 +00:00
156 lines
3.7 KiB
YAML
156 lines
3.7 KiB
YAML
# Default values for opengist.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
image:
|
|
repository: ghcr.io/thomiceli/opengist
|
|
pullPolicy: Always
|
|
tag: ""
|
|
|
|
## - YAML config of Opengist https://github.com/thomiceli/opengist/blob/master/docs/configuration/cheat-sheet.md - ##
|
|
# Uses a ConfigMap for non-sensitive configuration
|
|
config:
|
|
custom.static-links:
|
|
- name: Discord │
|
|
path: https://discord.gg/9Pm3X5scZT │
|
|
git.default-branch: master │
|
|
log-level: warn │
|
|
log-output: stdout
|
|
|
|
# Uses a Secret for sensitive configuration
|
|
configSecret: {}
|
|
# gitea.client-key:
|
|
# gitea.secret:
|
|
|
|
env: []
|
|
# - name: KEY
|
|
# value: VALUE
|
|
|
|
replicaCount: 1
|
|
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
|
|
imagePullSecrets: []
|
|
|
|
serviceHttp:
|
|
type: ClusterIP
|
|
port: 6157
|
|
# nodePort:
|
|
annotations: {}
|
|
|
|
serviceSsh:
|
|
enabled: true # enable ssh service
|
|
type: LoadBalancer
|
|
port: 2222
|
|
# nodePort:
|
|
annotations:
|
|
metallb.universe.tf/allow-shared-ip: "opengist" # allow shared ip for ssh service
|
|
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 60
|
|
timeoutSeconds: 3
|
|
periodSeconds: 30
|
|
successThreshold: 1
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 10
|
|
timeoutSeconds: 3
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
failureThreshold: 2
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: demo.opengist.io
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
tls: [] # leave as it is if certManager.enabled is true
|
|
# - secretName: web-ssl
|
|
# hosts:
|
|
# - demo.opengist.io
|
|
|
|
certManager:
|
|
enabled: false
|
|
issuer: "letsencrypt-prod"
|
|
|
|
persistence:
|
|
enabled: true
|
|
# existingClaim:
|
|
# storageClass:
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
annotations: {}
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: 80
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
serviceAccount:
|
|
create: false
|
|
automount: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podLabels: {}
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
# Additional volumes on the output Deployment definition.
|
|
volumes: []
|
|
# - name: foo
|
|
# secret:
|
|
# secretName: mysecret
|
|
# optional: false
|
|
|
|
# Additional volumeMounts on the output Deployment definition.
|
|
extraVolumeMounts: []
|
|
# - name: foo
|
|
# mountPath: "/etc/foo"
|
|
# readOnly: true
|
|
|
|
|