global:
  registry: docker.io
  repository: freeleaps
  nodeSelector: {}
logIngest:
  enabled: false
reconciler:
  replicas: 1
  image:
    registry:
    repository: freeleaps
    name: reconciler
    tag: 1.0.0
    imagePullPolicy: IfNotPresent
  ports:
    - name: http
      containerPort: 8080
      protocol: TCP
  resources:
    requests:
      cpu: "0.1"
      memory: "64Mi"
    limits:
      cpu: "0.2"
      memory: "128Mi"
  # FIXME: Wait until the developers implements the probes APIs
  probes: {}
  services:
    - name: reconciler-service
      type: ClusterIP
      port: 8080
      targetPort: 8080
      serviceMonitor:
        enabled: false
        labels:
          release: kube-prometheus-stack
        namespace: freeleaps-monitoring-system
        interval: 30s
        scrapeTimeout: ""
  # Defaults to {}, which means doesn't have any ingress
  ingresses: {}
  configs:
    # General
    debug: "false"
    k8sClusterDomain: "kubernetes.default.svc.cluster.local"
    autoDiscoverK8sClusterDomainMaxRetries: 5
    # RabbitMQ
    rabbitmqHost: "localhost"
    rabbitmqPort: 5672
    rabbitmqUsername: "admin"
    rabbitmqPassword: "admin"
    rabbitmqVhost: "/"
    rabbitmqInputQueue: "freeleaps.devops.reconciler.input"
    rabbitmqOutputQueue: "freeleaps.devops.reconciler.output"
    rabbitmqEnableExchangeBinding: "true"
    rabbitmqInputExchange: "freeleaps.notification.exchange"
    rabbitmqInputExchangeType: "direct"
    rabbitmqInputRoutingKey: "freeleaps.devops.reconciler.input"
    rabbitmqOutputExchange: "freeleaps.notification.exchange"
    rabbitmqOutputRoutingKey: "freeleaps.devops.reconciler.output"
    # Jenkins
    jenkinsEndpoint: "http://localhost:8080"
    jenkinsUsername: "admin"
    jenkinsToken: "admin"
    jenkinsApiTimeout: 30
    jenkinsFolderCreationRetryCount: 3
    # ArgoCD
    argocdEndpoint: "http://localhost:8080"
    argocdUsername: "admin"
    argocdPassword: "admin"
    argocdApiTimeout: 30
    argocdResourceCreationTimeout: 30
    # Default Credentials
    defaultGitUsername: "admin"
    defaultGitPassword: "admin"
    defaultRegistryUsername: "admin"
    defaultRegistryPassword: "admin"
    # API Timeouts
    kubernetesApiTimeout: 30
    defaultHttpTimeout: 30
    # Git
    allowHttpGitUrls: "false"
    # Advanced
    logLevel: "INFO"
    logFormat: "text"
    operatorNamespace: "freeleaps-devops-system"
    reconcileInterval: 30
    # Development
    enableMockService: "false"
    mockServicePort: 5000
    devMode: "false"
    # Network Resource Management
    godaddyApiKey: ""
    godaddyApiSecret: ""
    godaddyBaseDomain: "mathmast.com"
    domainTemplate: "{env}.{project_id}.mathmast.com"
    ingressClassName: "nginx"
    certManagerClusterIssuer: "letsencrypt-prod"
    dnsCreationTimeout: 300
    certificateIssuanceTimeout: 600
    ingressReadyTimeout: 300
    networkResourceCleanupTimeout: 300
    networkResourceRetryCount: 3
    networkResourceRetryDelay: 30
    # Service
    serviceApiAccessHost: "0.0.0.0"
    serviceApiAccessPort: "8080"
    # MongoDB/Redis (add if needed)
    mongodbName: ""
    mongodbUri: ""
    mongodbPort: ""
    redisUrl: ""
    redisIsCluster: "false"
    # JWT
    jwtSecretKey: ""
    jwtAlgorithm: ""
    # Metrics/Probes
    metricsEnabled: "false"
    probesEnabled: "false"
  vpa:
    minAllowed:
      enabled: false
      cpu: "0.1"
      memory: "64Mi"
    maxAllowed:
      enabled: true
      cpu: "0.2"
      memory: "128Mi"
    controlledResources:
      - cpu
      - memory