Stores state, controller needs a cache. There are so many events being sent to the controller, but not every one deserves processing. That's why Pipelines Feedback is using strong caching.
# use a commandline switch
-s, --store string Sets a Store adapter (default "redis")
# helm values
controller:
adapters:
store: redis
deployment:
env:
REDIS_HOST: "redis:6379"
Stores configuration in Pod's memory. Whole cache is wiped on controller restart. There is no configuration needed.
Connects to a Redis instance for a persistent cache. Configurable using environment variables.
# use commandline switch to activate
pipelines-feedback-tekton --store redis
Environment variable name | Default value | Description |
---|---|---|
REDIS_HOST | localhost:6379 | Host + port |
REDIS_DB | 0 | Database number |
REDIS_PASSWORD | Optional password |