# Default values for portalmodelo.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: interlegis/portalmodelo
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: ""

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

persistence:
  enabled: true
  #storageClass: ""
  accessMode: ReadWriteOnce
  size: 5Gi

velero:
  namespace: velero
  backup:
    enabled: false
    snapshotVolumes: false
    defaultVolumesToRestic: true
    # cert-manager objects are usually blocked during backup
    excludedResources: 
      - certificates.cert-manager.io
      - orders.acme.cert-manager.io
      - certificaterequests.cert-manager.io
      - challenges.acme.cert-manager.io

portal:
  adminPassword: altereme
  rootPassword: altereme
  adminEmail: contato@tecnico.net
  title: Câmara Municipal
  description: Cidade - UF
  hostname: teste.df.leg.br
  hostprefix: www
  addprefix: ''
  timeZone: America/Sao_Paulo
  createAndUpgrade: true
  zopefolder: '/'

instance:
  zodbCacheSize: 1000
  zeoclient: true
  zeopack:
    enabled: true
    schedule: "0 1 * * SUN" # Every Sunday at 1AM
    keepDays: 30

repozo:
  enabled: false
  storageClass: nfs-backup
  keep: 1
  keepblobdays: 30
  backupblobs: true

podAnnotations: {}

podSecurityContext: {}
  # fsGroup: 2000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

ingress:
  enabled: true
  class: nginx
  # nginx - for default nginx ingress controller
  # alb - for AWS ALB Load Balancer controller 
  tls: 
    enabled: true
    provider: letsencrypt
  vhostmonster: true
  # extra annotations only
  annotations: {}

resources:
  plone:
    limits:
      cpu: 1000m
      memory: 1600Mi
    requests:
      cpu: 100m
      memory: 750Mi
  zeo:
    limits:
      cpu: 1000m
      memory: 512Mi
    requests:
      cpu: 50m
      memory: 112Mi

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 100
  targetCPUUtilizationPercentage: 80
  # targetMemoryUtilizationPercentage: 80

nodeSelector: {}

tolerations: []

affinity: {}