0.3
NEW : Configuration data source
Configuration section can be now loaded via multiple sources at same time, with no breaking change is operated in v1alpha1
configuration file. The current configuration file still working but receive a lot of new possibility for end user and devs (for adding new storage or configuration fields).
Configuration example with environment variable data source
apiVersion: v1alpha1
specs:
- name: exampleHook
entrypointUrl: /webhooks/example
security:
- getHeader:
name: X-Hook-Secret
- compareWithStaticValue:
# Accept current configuration with in plain text value
value: 'developmentKey'
# Accept now a new field : valueFrom because compareWithStaticValue
# is now a valuable.Valuable
valueFrom:
envRef: SECRET_TOKEN
storage:
- type: redis
specs:
host: redis
port: 6379
database: 0
# Same example here, its possible to use plain text directly on root
password: '123'
# Or use the new valuable.Valuable object
password:
valueFrom:
envRef: REDIS_PASSWORD
key: example-webhook
What's Changed
Full Changelog: 0.2...0.3