You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
152 lines
3.1 KiB
152 lines
3.1 KiB
# 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
|
|
|
|
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: {}
|
|
|