apiVersion: v1
kind: ConfigMap
metadata:
  name: cozystack-api
  namespace: cozy-system
data:
  config.yaml: |
    resources:
    - application:
        kind: Bucket
        singular: bucket
        plural: buckets
      release:
        prefix: bucket-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: bucket
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: ClickHouse
        singular: clickhouse
        plural: clickhouses
      release:
        prefix: clickhouse-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: clickhouse
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: HTTPCache
        singular: httpcache
        plural: httpcaches
      release:
        prefix: http-cache-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: http-cache
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: NATS
        singular: nats
        plural: natses
      release:
        prefix: nats-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: nats
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: TCPBalancer
        singular: tcpbalancer
        plural: tcpbalancers
      release:
        prefix: tcp-balancer-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: tcp-balancer
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: VirtualMachine
        singular: virtualmachine
        plural: virtualmachines
      release:
        prefix: virtual-machine-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: virtual-machine
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: VPN
        singular: vpn
        plural: vpns
      release:
        prefix: vpn-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: vpn
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: MySQL
        singular: mysql
        plural: mysqls
      release:
        prefix: mysql-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: mysql
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Tenant
        singular: tenant
        plural: tenants
      release:
        prefix: tenant-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: tenant
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Kubernetes
        singular: kubernetes
        plural: kuberneteses
      release:
        prefix: kubernetes-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: kubernetes
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Redis
        singular: redis
        plural: redises
      release:
        prefix: redis-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: redis
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: RabbitMQ
        singular: rabbitmq
        plural: rabbitmqs
      release:
        prefix: rabbitmq-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: rabbitmq
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Postgres
        singular: postgres
        plural: postgreses
      release:
        prefix: postgres-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: postgres
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: FerretDB
        singular: ferretdb
        plural: ferretdb
      release:
        prefix: ferretdb-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: ferretdb
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Kafka
        singular: kafka
        plural: kafkas
      release:
        prefix: kafka-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: kafka
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: VMDisk
        plural: vmdisks
        singular: vmdisk
      release:
        prefix: vm-disk-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: vm-disk
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: VMInstance
        plural: vminstances
        singular: vminstance
      release:
        prefix: vm-instance-
        labels:
          cozystack.io/ui: "true"
        chart:
          name: vm-instance
          sourceRef:
            kind: HelmRepository
            name: cozystack-apps
            namespace: cozy-public
    - application:
        kind: Monitoring
        plural: monitorings
        singular: monitoring
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: monitoring
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
    - application:
        kind: Etcd
        plural: etcds
        singular: etcd
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: etcd
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
    - application:
        kind: Ingress
        plural: ingresses
        singular: ingress
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: ingress
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
    - application:
        kind: SeaweedFS
        plural: seaweedfses
        singular: seaweedfs
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: seaweedfs
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
    - application:
        kind: BootBox
        plural: bootboxes
        singular: bootbox
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: bootbox
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
    - application:
        kind: Info
        plural: infos
        singular: info
      release:
        prefix: ""
        labels:
          cozystack.io/ui: "true"
        chart:
          name: info
          sourceRef:
            kind: HelmRepository
            name: cozystack-extra
            namespace: cozy-public
