apiVersion: "wanaku.ai/v1alpha1"
kind: WanakuCapability
metadata:
  name: wanaku-capabilities
spec:
  auth:
# This is the address of the authorization server (in the format: http://address)
    authServer: ""
# The Keycloak realm name (defaults to "wanaku" if not set)
#    authRealm: "wanaku"
  secrets:
# This is the OIDC credentials secret for the services
    oidcCredentialsSecret: ""
# Global image pull policy for capabilities
# Valid values: Always, IfNotPresent, Never
# Default: IfNotPresent
#  imagePullPolicy: IfNotPresent
# Reference to the WanakuRouter CR name (required for service discovery)
  routerRef: wanaku-dev
# Capabilities to deploy
  capabilities:
    - name: wanaku-http
      image: quay.io/wanaku/wanaku-tool-service-http:latest
#      imagePullPolicy: Always  # Optional: Always, IfNotPresent, Never
    - name: finance-system
      image: quay.io/wanaku/camel-integration-capability:latest
    - name: employee-system
      type: camel-integration-capability
      image: quay.io/wanaku/camel-integration-capability:latest
      # Service catalog name (deployed via WanakuServiceCatalog or 'wanaku service deploy')
      serviceCatalog: employee-system-v2
      # System name within the service catalog
      serviceCatalogSystem: employee-system
