# Default values for pdnsadmin.
replicaCount: 1

image:
  repository: porto.interlegis.leg.br/dockerio/ngoduykhanh/powerdns-admin
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: latest

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

podAnnotations: {}

podSecurityContext: {}
  # fsGroup: 2000

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

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  className: ""
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

resources:
  limits:
    cpu: 1000m
    memory: 512Mi
  requests:
    cpu: 100m
    memory: 200Mi

nodeSelector: {}

tolerations: []

affinity: {}

environment:
  gunicorn:
    timeout: 60
    workers: 2
    logLevel: INFO

mariadb:
  internal: true
  arquitecture: standalone
  image:
    repository: porto.interlegis.leg.br/dockerio/bitnami/mariadb
    tag: 10.5.12-debian-10-r68
  primary: 
    persistence:
      accessModes:
        - ReadWriteOnce
      enabled: true
      size: 2Gi
    resources:
      limits:
        cpu: 1000m
        memory: 256Mi
      requests:
        cpu: 100m
        memory: 128Mi
  auth:
    database: pdnsadmin
    password: pdnsadminpw
    rootPassword: pdnsadminrootpw
    username: pdnsadmin

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