extension-crud

command module
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 9 Imported by: 0

README

Steadybit extension-crud

A Steadybit discovery and action implementation acting as a CRUD backend. Useful to experiment freely with discovery and action terminology.

Capabilities

  • Create, update, delete new entities to the in-memory database via actions.
  • List all added created entities as targets.

Configuration

This extension is configurable via environment variables:

  • STEADYBIT_EXTENSION_PORT (defaults to 8091)
  • STEADYBIT_EXTENSION_INSTANCE_NAME (defaults to Animal Shelter)
  • STEADYBIT_EXTENSION_TARGET_TYPE (defaults to dog)
  • STEADYBIT_EXTENSION_TARGET_TYPE_LABEL (defaults to Dog)

Deployment

We recommend that you deploy the extension with our official Helm chart.

Agent Configuration

The Steadybit AWS agent needs to be configured to interact with the AWS extension by adding the following environment variables:

# Make sure to adapt the URLs and indices in the environment variables names as necessary for your setup

STEADYBIT_AGENT_ACTIONS_EXTENSIONS_0_URL=http://steadybit-extension-crud.steadybit-extension.svc.cluster.local:8080
STEADYBIT_AGENT_DISCOVERIES_EXTENSIONS_0_URL=http://steadybit-extension-crud.steadybit-extension.svc.cluster.local:8080

When leveraging our official Helm charts, you can set the configuration through additional environment variables on the agent:

--set agent.env[0].name=STEADYBIT_AGENT_ACTIONS_EXTENSIONS_0_URL \
--set agent.env[0].value="http://steadybit-extension-crud.steadybit-extension.svc.cluster.local:8080" \
--set agent.env[1].name=STEADYBIT_AGENT_DISCOVERIES_EXTENSIONS_0_URL \
--set agent.env[1].value="http://steadybit-extension-crud.steadybit-extension.svc.cluster.local:8080"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL