apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
namespace: <NAMESPACE>
spec:
type: bindings.influx
metadata:
- name: url # Required
value: <INFLUX-DB-URL>
- name: token # Required
value: <TOKEN>
- name: org # Required
value: <ORG>
- name: bucket # Required
value: <BUCKET>
url
is the URL for the InfluxDB instance. eg. http://localhost:8086token
is the authorization token for InfluxDB.org
is the InfluxDB organization.bucket
bucket name to write to.
Note: In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to Setup Secret Store
- create