# Default values for caduser. # This is a YAML-formatted file. # Declare variables to be passed into your templates. replicaCount: 1 image: repository: porto.interlegis.leg.br/ilb/caduser pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "" 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: 101 # GID for the volume securityContext: {} # capabilities: # drop: # - ALL # readOnlyRootFilesystem: true # runAsNonRoot: true # runAsUser: 1000 service: type: ClusterIP port: 80 persistence: enabled: false #storageClass: "" accessMode: ReadWriteOnce size: 2Gi caduser: adminUsers: "admin@example.com" debug: 'False' emailPort: 25 emailHost: smtp.domain.net emailHostUser: "" emailHostPassword: "" emailSubjectPrefix: "[CadUser]" emailUseLocaltime: 'False' emailUseTls: 'False' emailUseSsl: 'False' emailTimeout: 10 defaultFromEmail: no-reply@domain.net maxmindAccountId: "" maxmindLicenceKey: "" moodleBaseUrl: "" moodleApiToken: "" hostname: 'caduser.domain.net' ingress: enabled: true class: nginx tls: enabled: true # extra annotations only annotations: {} postgresql: # CloudNativePG cluster configuration enabled: true clusterName: caduser-pg instances: 1 image: ghcr.io/cloudnative-pg/postgresql:17.2 databaseName: caduser owner: caduser storageSize: 1Gi #storageClass: "" superuserSecret: "" # If empty, will be auto-generated # Locale settings for Brazilian Portuguese initdb: encoding: UTF8 localeProvider: icu icuLocale: pt-BR # Additional initdb parameters can be added here resources: requests: cpu: 40m memory: 128Mi limits: cpu: 1000m memory: 512Mi # Barman Cloud backup configuration backup: enabled: false # Destination path in S3 bucket (e.g., s3://bucket-name/path/to/backups) destinationPath: "" # Retention policy (e.g., "30d" for 30 days) retentionPolicy: "30d" # S3 configuration s3: # S3 endpoint URL (e.g., https://s3.amazonaws.com or MinIO endpoint) endpointURL: "" # AWS region (optional, required for AWS S3) region: "" # Secret name containing S3 credentials (ACCESS_KEY_ID and ACCESS_SECRET_KEY keys) secretName: caduser-pg-s3-credentials # S3 access credentials (used to create the secret) accessKeyId: "" secretAccessKey: "" # WAL archiving configuration wal: compression: gzip maxParallel: 2 # Data backup configuration data: compression: gzip jobs: 2 # Scheduled backup configuration schedule: # Run an immediate backup when the ScheduledBackup is created immediate: true # Cron schedule for regular backups (every day at 2 AM) # Format: second minute hour day month day-of-week cron: "0 0 2 * * *" memcached: enabled: true image: repository: memcached tag: "1.6.40" service: port: 11211 resources: requests: cpu: 20m memory: 64Mi limits: cpu: 100m memory: 128Mi resources: limits: cpu: 1000m memory: 1000Mi requests: cpu: 35m memory: 512Mi autoscaling: enabled: false minReplicas: 1 maxReplicas: 100 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 cronjob: # This cronjob has been disabled by default because it # requires a shared Persistent Volume (RWX) to work properly. enabled: false schedule: "* * * * *" successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 3 concurrencyPolicy: Forbid resources: requests: cpu: 35m memory: 256Mi limits: cpu: 500m memory: 512Mi nodeSelector: {} tolerations: [] affinity: {}