Skip to content

Commit

Permalink
Updating getting_started
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleware committed Jan 23, 2025
1 parent abe9c8b commit 49dc59a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/modules/opa/examples/getting_started/getting_started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sleep 5

request_hello() {
# tag::request-hello[]
curl -s http://localhost:8081/v1/data/test/hello
curl -s http://localhost:8081/v1/data/test/hello -d '{"input": {}}'
# end::request-hello[]
}

Expand All @@ -91,7 +91,7 @@ fi

request_world() {
# tag::request-world[]
curl -s http://localhost:8081/v1/data/test/world
curl -s http://localhost:8081/v1/data/test/world -d '{"input": {}}'
# end::request-world[]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sleep 5

request_hello() {
# tag::request-hello[]
curl -s http://localhost:8081/v1/data/test/hello
curl -s http://localhost:8081/v1/data/test/hello -d '{"input": {}}'
# end::request-hello[]
}

Expand All @@ -91,7 +91,7 @@ fi

request_world() {
# tag::request-world[]
curl -s http://localhost:8081/v1/data/test/world
curl -s http://localhost:8081/v1/data/test/world -d '{"input": {}}'
# end::request-world[]
}

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/opa/examples/getting_started/opa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.67.1"
productVersion: "1.0.0"
servers:
roleGroups:
default: {}
2 changes: 1 addition & 1 deletion docs/modules/opa/examples/getting_started/opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.67.1"
productVersion: "1.0.0"
servers:
roleGroups:
default: {}
4 changes: 2 additions & 2 deletions docs/modules/opa/examples/getting_started/simple-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ data:
test.rego: |
package test
hello {
hello if {
true
}
world {
world if {
false
}

0 comments on commit 49dc59a

Please sign in to comment.