On this page
ipcconfig
This file defines a Custom Resource example for IPC (Inter-Process Communication) configuration in the eevee.bot/v1 API. It shows how to configure a bot named “my-eevee-bot” to use NATS as its messaging system with settings such as:
- Managed NATS deployment through eevee-operator
- NATS container image specification
- Automatic token generation for authentication
- Reference to Kubernetes secrets for secure token storage
The example demonstrates how to configure NATS as the messaging system for eevee.bot with managed deployment and authentication.
---
apiVersion: eevee.bot/v1
kind: ipcconfig
metadata:
name: my-eevee-bot
namespace: my-eevee-bot
spec:
# Only NATS is supported for now
nats:
# Options for eevee-operator managed NATS
managed:
# Should the eevee-operator deploy a NATS server for us?
enabled: true
# NATS container image to use
image: docker.io/nats:latest
# Options for NATS token auth
token:
# Should the eevee-operator generate a token for NATS auth?
generate: true
# Where to access the NATS auth token
secretKeyRef:
secret:
name: my-irc-network-secrets
key: token