Skip to content

Commit

Permalink
Update values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham authored Oct 25, 2023
1 parent 8bb2daa commit c3620bb
Showing 1 changed file with 54 additions and 1 deletion.
55 changes: 54 additions & 1 deletion charts/soteria/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,57 @@ config:
host: 127.0.0.1
port: 6831

vendors: {}
vendors:
snapp:

Check failure on line 56 in charts/soteria/values.yaml

View workflow job for this annotation

GitHub Actions / release

56:2 [indentation] wrong indentation: expected 2 but found 1
company: "snapp"

Check failure on line 57 in charts/soteria/values.yaml

View workflow job for this annotation

GitHub Actions / release

57:5 [indentation] wrong indentation: expected 3 but found 4
hashid_map:
0:
salt: "secret"
length: 15
1:
salt: "secret"
length: 15
allowed_access_types: [ "pub", "sub" ]

Check failure on line 65 in charts/soteria/values.yaml

View workflow job for this annotation

GitHub Actions / release

65:28 [brackets] too many spaces inside brackets

Check failure on line 65 in charts/soteria/values.yaml

View workflow job for this annotation

GitHub Actions / release

65:41 [brackets] too many spaces inside brackets
topics:
- type: cab_event
template: ^{{IssToEntity .iss}}-event-{{ EncodeMD5 (DecodeHashID .sub .iss) }}$
hash_type: 1
# describe the way issuers (from the jwt token) can interact with topic.
# here issuer 1 (mapped to passenger in the iss_entity_map) can subscribe (second element in the allowed_access_types).
accesses:
0: '1'
1: '1'
keys:
0: |-

Check failure on line 76 in charts/soteria/values.yaml

View workflow job for this annotation

GitHub Actions / release

76:9 [indentation] wrong indentation: expected 6 but found 8
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyG4XpV9TpDfgWJF9TiIv
va4hNhDuqYMJO6iXLzr3y8oCvoB7zUK0EjtbLH+A3gr1kUvyZKDWT4qHTvU2Sshm
X+ttWGK34EhCvF3Lb18yxmVDSSK8JIcTaJjMqmyubxzamQnNoWazJ7ea9BIo2YGL
C9rgPbi1hihhdb07xPGUkJRqbWkI98xjDhKdMqiwW1hIRXm/apo++FjptvqvF84s
ynC5gWGFHiGNICRsLJBczLEAf2Atbafigq6/tovzMabnp2yRtr1ReEgioH1RO4gX
J7F4N5f6y/VWd8+sDOSxtS/HcnP/7g8/A54G2IbXxr+EiwOO/1F+pyMPKq7sGDSU
DwIDAQAB
-----END PUBLIC KEY-----
1: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5SeRfOdTyvQZ7N9ahFHl
+J05r7e9fgOQ2cpOtnnsIjAjCt1dF7/NkqVifEaxABRBGG9iXIw//G4hi0TqoKqK
aoSHMGf6q9pSRLGyB8FatxZf2RBTgrXYqVvpasbnB1ZNv858yTpRjV9NzJXYHLp8
8Hbd/yYTR6Q7ajs11/SMLGO7KBELsI1pBz7UW/fngJ2pRmd+RkG+EcGrOIZ27TkI
Xjtog6bgfmtV9FWxSVdKACOY0OmW+g7jIMik2eZTYG3kgCmW2odu3zRoUa7l9VwN
YMuhTePaIWwOifzRQt8HDsAOpzqJuLCoYX7HmBfpGAnwu4BuTZgXVwpvPNb+KlgS
pQIDAQAB
-----END PUBLIC KEY-----
iss_entity_map:
0: "driver"
1: "passenger"
default: "none"
iss_peer_map:
0: "passenger"
1: "driver"
default: "none"
jwt:
# provide keys and algorithm to parse JWT token.
iss_name: "iss"
sub_name: "sub"
signing_method: "RS512"

0 comments on commit c3620bb

Please sign in to comment.