Skip to content

fix: use drasi apply instead of kubectl apply for Drasi resources (#85)#86

Open
sahajdeepsingh651 wants to merge 1 commit intodrasi-project:mainfrom
sahajdeepsingh651:fix/drasi-apply-command
Open

fix: use drasi apply instead of kubectl apply for Drasi resources (#85)#86
sahajdeepsingh651 wants to merge 1 commit intodrasi-project:mainfrom
sahajdeepsingh651:fix/drasi-apply-command

Conversation

@sahajdeepsingh651
Copy link
Copy Markdown

Problem

The Dapr + Drasi tutorial instructs users to apply Drasi resources using kubectl apply.
This fails because Drasi resources (Source, ContinuousQuery, Reaction) are not Kubernetes CRDs and must be applied using the drasi apply command.

This issue appears in multiple files:

  • tutorial/dapr/README.md
  • tutorial/dapr/scripts/setup-tutorial.sh
  • tutorial/dapr/scripts/setup-tutorial.ps1
  • .devcontainer/dapr/post-create.sh

Solution

Updated all instructions to use drasi apply -f <dir>/* instead of kubectl apply -f <dir>/.

Verification

After applying the changes:

  1. drasi apply -f drasi/sources/* works without errors
  2. drasi apply -f drasi/queries/* works without errors
  3. drasi apply -f drasi/reactions/* works without errors

This ensures the tutorial works as expected and Drasi-powered services run correctly.

Fixes #85

…asi-project#85)

Signed-off-by: Sahaj.Singh <sahajdeepsingh100@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Use drasi apply instead of kubectl apply in Dapr + darsi tutorial

1 participant