apiVersion: "wanaku.ai/v1alpha1"
kind: WanakuRouter
metadata:
  name: wanaku-dev
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"
# Address of the proxy (in the format: http://address). It could be the same as the auth server - default) or "auto" (for using
# Wanaku as the proxy via OIDC proxy.
#    authProxy: ""
  secrets:
# This is the OIDC credentials secret for the services
    oidcCredentialsSecret: ""
# Global image pull policy for all deployments
# Valid values: Always, IfNotPresent, Never
# Default: IfNotPresent
#  imagePullPolicy: IfNotPresent
# Ingress configuration for Kubernetes clusters (not needed for OpenShift)
# OpenShift clusters auto-generate the host via Routes, but Kubernetes requires explicit configuration
# Uncomment and set the host when deploying on vanilla Kubernetes:
#  ingress:
#    host: wanaku.example.com
# Router settings are optional
  router:
    env:
# It is possible to set environment variables for the router by adding a map like the one below
#      - name: ENVIRONMENT_VARIABLE_1
#        value: value1
#      - name: ENVIRONMENT_VARIABLE_2
#        value: value2
# You can also set a custom image for the router
#    image: quay.io/wanaku/wanaku-router-backend:latest # Optional
# Override pull policy for router only (takes precedence over global setting)
#    imagePullPolicy: Always
