# Copyright 2022 Canonical Ltd
# See LICENSE file for licensing details.

# For a complete list of supported options, see:
# https://juju.is/docs/sdk/metadata-reference

name: candid-k8s
display-name: Candid
summary: Candid identity server.
maintainer: JAAS Developers <jaas-dev@lists.launchpad.net>
description: |
  Candid macaroon-based authentication service.
tags:
  - web_server
  - authenticator
  - authentication
  - identity

peers:
  candid:
    interface: candid

requires:
  ingress:
    interface: ingress
  db:
    interface: pgsql
    limit: 1

containers:
  candid:
    resource: candid-image

resources:
  candid-image:
    type: oci-image
    description: OCI image for Candid.
