102 lines
1.9 KiB
YAML
102 lines
1.9 KiB
YAML
# Default configuration for PocketBase instances
|
|
# Customize this file or override with your own values.yaml
|
|
|
|
# Global settings
|
|
global:
|
|
imageRegistry: ""
|
|
imagePullSecrets: []
|
|
storageClass: ""
|
|
domainSuffix: "pb.xiongxiao.me"
|
|
|
|
# Image configuration
|
|
image:
|
|
repository: pocketbase/pocketbase
|
|
tag: "0.35.1"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Service account configuration
|
|
serviceAccount:
|
|
create: true
|
|
name: ""
|
|
annotations: {}
|
|
|
|
# List of PocketBase instances to deploy
|
|
# instances: []
|
|
# Example:
|
|
# - id: "app1"
|
|
# domain: "app1.pb.xiongxiao.me"
|
|
# replicaCount: 1
|
|
# resources:
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 256Mi
|
|
# limits:
|
|
# cpu: 500m
|
|
# memory: 512Mi
|
|
# - id: "app2"
|
|
# domain: "app2.pb.xiongxiao.me"
|
|
# replicaCount: 1
|
|
instances:
|
|
- id: "app1"
|
|
domain: "app1.pb.xiongxiao.me"
|
|
replicaCount: 1
|
|
- id: "app2"
|
|
domain: "app2.pb.xiongxiao.me"
|
|
replicaCount: 1
|
|
|
|
# Default resource settings (applied to all instances unless overridden)
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
# Persistence configuration (SQLite data storage)
|
|
persistence:
|
|
enabled: false
|
|
storageClass: ""
|
|
size: 1Gi
|
|
accessMode: ReadWriteOnce
|
|
|
|
# Traefik IngressRoute configuration
|
|
ingress:
|
|
className: "traefik"
|
|
enabled: true
|
|
annotations: {}
|
|
|
|
# Pod security context
|
|
podSecurityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
fsGroup: 1000
|
|
|
|
# Container security context
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
# Node selector
|
|
nodeSelector: {}
|
|
|
|
# Tolerations
|
|
tolerations: []
|
|
|
|
# Affinity
|
|
affinity: {}
|
|
|
|
# Topology spread constraints
|
|
topologySpreadConstraints: []
|
|
|
|
# Autoscaling configuration
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: 80
|