From cd5e909c9eada6c147739aa19f56ed1d48c113e0 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Mon, 31 Jul 2023 14:20:20 -0400 Subject: [PATCH] update to best practice Signed-off-by: Hannah Hunter --- bindings/components/binding-cron.yaml | 2 ++ bindings/components/binding-postgres.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bindings/components/binding-cron.yaml b/bindings/components/binding-cron.yaml index 37b75d8d6..dee11aa1e 100644 --- a/bindings/components/binding-cron.yaml +++ b/bindings/components/binding-cron.yaml @@ -9,3 +9,5 @@ spec: metadata: - name: schedule value: "@every 10s" # valid cron schedule + - name: direction + value: "input" \ No newline at end of file diff --git a/bindings/components/binding-postgres.yaml b/bindings/components/binding-postgres.yaml index d8f591d0d..ec9a1497e 100644 --- a/bindings/components/binding-postgres.yaml +++ b/bindings/components/binding-postgres.yaml @@ -9,3 +9,5 @@ spec: metadata: - name: url # Required value: "user=postgres password=docker host=localhost port=5432 dbname=orders pool_min_conns=1 pool_max_conns=10" + - name: direction + value: "output" \ No newline at end of file