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

nginx:
  image:
    repository: labhackercd/nginx-edemocracia
    tag: 1.0.0
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 80
  resources:
    limits:
      cpu: 300m
      memory: 150Mi
    requests:
      cpu: 50m
      memory: 30Mi

discourse:
  enabled: true
  image:
    repository: labhackercd/discourse-docker
    tag: 2.0.20180703
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 8080
  sso:
    secret: "uma_chave_sso_secreta_mesmo"
  persistence:
    #storageClass: ""
    accessMode: ReadWriteOnce
    size: 500Mi
  resources: 
   limits:
     cpu: 800m
     memory: 1200Mi
   requests:
     cpu: 100m
     memory: 650Mi

wikilegis:
  enabled: true
  image:
    repository: labhackercd/wikilegis
    tag: 2.3.0
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 8000
  persistence:
    #storageClass: ""
    accessMode: ReadWriteOnce
    size: 2Gi
  resources: 
    limits:
      cpu: 800m
      memory: 350Mi
    requests:
      cpu: 100m
      memory: 200Mi


edemocracia:
  admin:
    email: seitadmins@interlegis.leg.br
    password: p@ssw0rd
  apikey: "uma_chave_de_api_secreta_mesmo"
  debug: "False"
  googleAnalyticsId: ""
  olarkId: ""
  recaptcha:
    siteKey: "altereme"
    privateKey: "altereme"
  socialAuth:
    facebook:
      key: ""
      secret: ""
    google:
      key: ""
      secret: ""
  siteName: "Camara Municipal"
  hostname: "edemocracia.teste.df.leg.br"
  timeZone: "America/Sao_Paulo"
  image:
    repository: labhackercd/edemocracia
    tag: 1.3.2
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 8000
  persistence:
    #storageClass: ""
    accessMode: ReadWriteOnce
    size: 4Gi
  resources: 
    limits:
      cpu: 500m
      memory: 1350Mi
    requests:
      cpu: 100m
      memory: 800Mi

audiencias:
  enabled: true
  image:
    repository: labhackercd/audiencias-publicas
    tag: 3.2.0
    pullPolicy: IfNotPresent
  persistence:
    #storageClass: ""
    accessMode: ReadWriteOnce
    size: 300Mi
  notifEmailList: ""
  webservice:
    url: ""
  wordsBlacklist: "merda,cu,cuzao,cuzona,cusao,cusona,bunda,fodido,fodida,foda,foder,fodedor,fudido,fudida,fuder,chupa,chupada,chupador,chupadora,boquete,boqueteira,boquetera,boketeira,boketera,xupa,xupada,xupador,xupadora,pauduro,pauzudo,xoxota,chochota,buceta,boceta,busseta,bosseta,cacete,cassete,caceta,kacete,kassete,caralho,karalho,caraleo,pinto,pica,rola,roludo,gozado,gozada,goso,gosa,gosado,gosado,puta,puto,putinho,putinha,putona,putana,putaria,grelo,grelinho,filhodaputa,filhosdaputa,puta,fdps,siririca,punheta,trepar,trepada,trepadeira,caralho,caralhu,karalho,karalhu,tomarnocu,tomanocu,vadia,bosta,quenga,rabo,bolsa,cuzinho,piroca,pqp,puta que pariu,porra,carai,cú,viado,fdp,vtnc,corno,bicha,bixa,viado,viadinho,pederasta,filho da puta,bundao,bundão,filho de uma egua,filho de uma égua,achacador,achacadora,achacadores,achacar,babaca,bucetas,cagar,cagaram,cambada,caráleo,corja,cornão,covarde,covardes,cretino,cus,cús,cusão,cuzão,cuzinho,cuzona,danar,desgraça,drosoba,enrabar,escória,escroto,escrotas,escrotos,fodão,fodona,fudendo,fuder,idiota,imundo,imundos,ku,kú,lascar,merdas,patifaria,pilantra,pilantragem,pilantras,poha,porcaria,putas,putos,sacanagem,safadeza,safado,safados,salafrário,salafrários,vagabundagem,vagabundo,vagabundos,veadinho,veadinhos"
  service:
    type: ClusterIP
    port: 8000
  resources: 
    limits:
      cpu: 500m
      memory: 300Mi
    requests:
      cpu: 50m
      memory: 100Mi


smtp:
  host: "127.0.0.1"
  username: ""
  password: ""
  port: "25"
  tls: "False"


# PostgreSQL definitions
postgresql:
  image:
    tag: 9.6.17
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 5432
  persistence:
    enabled: true
    size: 2Gi
  postgresqlPassword: DbP@ssw0rd 
  postgresqlUsername: postgres
  postgresqlDatabase: root
  resources:
    requests:
      cpu: 50m
      memory: 80Mi

# Redis definitions
redis:
  image:
    tag: 5.0.8
    pullPolicy: IfNotPresent
  cluster:
    enabled: false
  usePassword: false
  persistence:
    enabled: true
    accessModes:
      - ReadWriteOnce
    size: 2Gi
  resources:
    requests:
      cpu: 50m
      memory: 150Mi
    limits:
      cpu: 800m
      memory: 1Gi

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

ingress:
  enabled: true
  # extra annotations only
  annotations: {}

velero:
  namespace: velero
  backup:
    enabled: true
    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

nodeSelector: {}

tolerations: []

affinity: {}