adapt owncloud helm chart from mumme-it/owncloud

This commit is contained in:
2025-01-14 20:13:16 +01:00
parent c3e37f9eac
commit 9961132e7b
18 changed files with 360 additions and 225 deletions

View File

@ -4,87 +4,106 @@
replicaCount: 1
image:
repository: owncloud/server
pullPolicy: IfNotPresent
tag: "latest"
owncloud:
integrity:
disabled: false
updatecheck: false
domain: owncloud.chart.example
username: owncloud
password: owncloud
# Security context for the container
podSecurityContext: {}
mariadb:
enabled: false
containerSecurityContext: {}
externalDatabase:
type: ""
host: ""
port: 3306
name: owncloud
user: owncloud
password: owncloud
# 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: ""
owncloud:
accessMode: ReadWriteOnce
size: 8Gi
nfs: {}
redis:
enabled: false
image:
repository: docker.io/owncloud/server
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 10.6
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: LoadBalancer
port: 80
ingress:
enabled: false
className: "nginx"
annotations: {}
enabled: true
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
- host: "owncloud.chart.example"
paths: ["/*"]
servicePort: 80
tls:
- hosts:
- "owncloud.chart.example"
secretName: owncloud
resources:
limits:
cpu: 2000m
memory: 2Gi
requests:
cpu: 500m
memory: 512Mi
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
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}