91 lines
1.8 KiB
YAML
91 lines
1.8 KiB
YAML
# Default values for owncloud.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: owncloud/server
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
|
|
# Security context for the container
|
|
podSecurityContext: {}
|
|
|
|
containerSecurityContext: {}
|
|
|
|
# Database configuration
|
|
database:
|
|
type: "pgsql" # can be pgsql or mysql
|
|
# External database configuration
|
|
external:
|
|
enabled: false
|
|
host: ""
|
|
port: 5432
|
|
database: "owncloud"
|
|
username: "owncloud"
|
|
# Secret containing the database password
|
|
existingSecret: ""
|
|
existingSecretKey: "password"
|
|
|
|
# Admin user configuration
|
|
admin:
|
|
username: "admin"
|
|
# Secret containing the admin password
|
|
existingSecret: ""
|
|
existingSecretKey: "password"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
# Environment variables
|
|
env:
|
|
TZ: "UTC"
|
|
# Additional environment variables if needed
|
|
OWNCLOUD_DOMAIN: "cloud.local"
|
|
OWNCLOUD_TRUSTED_DOMAINS: "cloud.local"
|
|
OWNCLOUD_REDIS_ENABLED: "false"
|
|
# PHP settings
|
|
PHP_MEMORY_LIMIT: "512M"
|
|
PHP_UPLOAD_LIMIT: "512M"
|
|
|
|
# Persistence configuration
|
|
persistence:
|
|
enabled: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 100Gi
|
|
mountPath: /var/www/html
|
|
# Optional: Use existing PVC
|
|
existingClaim: ""
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: "nginx"
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
# nginx.ingress.kubernetes.io/proxy-body-size: "512m"
|
|
hosts:
|
|
- host: cloud.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
# - secretName: owncloud-tls
|
|
# hosts:
|
|
# - cloud.local
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 2000m
|
|
memory: 2Gi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|