# Firefly Helm Chart Values

global:
  namespace: firefly
  chainId: 138

firefly:
  image:
    repository: hyperledger/firefly
    tag: latest
    pullPolicy: IfNotPresent
  
  replicaCount: 1
  
  resources:
    requests:
      cpu: "1"
      memory: "2Gi"
    limits:
      cpu: "2"
      memory: "4Gi"
  
  config:
    database:
      type: postgres
      host: firefly-postgres
      port: 5432
      database: firefly
      username: firefly
    
    blockchain:
      type: ethereum
      rpc:
        http: http://besu-rpc-service.besu-network.svc.cluster.local:8545
        ws: ws://besu-rpc-service.besu-network.svc.cluster.local:8546
      chainId: 138
    
    api:
      publicURL: http://firefly-api:5000
      port: 5000
    
    ipfs:
      api: http://firefly-ipfs:5001
      gateway: http://firefly-ipfs:8080

postgresql:
  enabled: true
  auth:
    username: firefly
    password: firefly
    database: firefly
  persistence:
    size: 50Gi
    storageClass: managed-premium

ipfs:
  enabled: true
  image:
    repository: ipfs/kubo
    tag: latest
  persistence:
    size: 100Gi
    storageClass: managed-premium

