Skip to content

Commit

Permalink
Add webhook jsonnet as base64 string
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Sep 24, 2024
1 parent dbfd18c commit 9df2177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/kratos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ kratos:
config:
method: POST
url: http://management-portal:8080/managementportal/api/kratos/subjects/activate
body: /etc/config/kratos/webhook_body.jsonnet
body: base64://ZnVuY3Rpb24oY3R4KSB7CiAgICBpZGVudGl0eTogaWYgc3RkLm9iamVjdEhhcyhjdHgsICJpZGVudGl0eSIpIHRoZW4gY3R4LmlkZW50aXR5IGVsc2UgbnVsbCwKICAgIHBheWxvYWQ6IGlmIHN0ZC5vYmplY3RIYXMoY3R4LCAiZmxvdyIpICYmIHN0ZC5vYmplY3RIYXMoY3R4LmZsb3csICJ0cmFuc2llbnRfcGF5bG9hZCIpIHRoZW4gY3R4LmZsb3cudHJhbnNpZW50X3BheWxvYWQgZWxzZSBudWxsLAogICAgY29va2llczogY3R4LnJlcXVlc3RfY29va2llcwp9Cg==
response:
ignore: true

Expand All @@ -258,7 +258,7 @@ kratos:
config:
method: POST
url: http://management-portal:8080/managementportal/api/kratos/subjects
body: /etc/config/kratos/webhook_body.jsonnet
body: base64://ZnVuY3Rpb24oY3R4KSB7CiAgICBpZGVudGl0eTogaWYgc3RkLm9iamVjdEhhcyhjdHgsICJpZGVudGl0eSIpIHRoZW4gY3R4LmlkZW50aXR5IGVsc2UgbnVsbCwKICAgIHBheWxvYWQ6IGlmIHN0ZC5vYmplY3RIYXMoY3R4LCAiZmxvdyIpICYmIHN0ZC5vYmplY3RIYXMoY3R4LmZsb3csICJ0cmFuc2llbnRfcGF5bG9hZCIpIHRoZW4gY3R4LmZsb3cudHJhbnNpZW50X3BheWxvYWQgZWxzZSBudWxsLAogICAgY29va2llczogY3R4LnJlcXVlc3RfY29va2llcwp9Cg==
response:
ignore: true
- hook: session
Expand Down

0 comments on commit 9df2177

Please sign in to comment.