update apikey format to $name-$key

This commit is contained in:
Arlan Lloyd 2025-11-03 18:15:57 +00:00 committed by Zoe Roux
parent eb31c0d8e6
commit 66dedaee29
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ extraObjects:
stringData:
postgres_user: kyoo_all
postgres_password: watchSomething4me
scanner_apikey: triquarter4u
scanner_apikey: scanner-triquarter4u
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
@ -86,7 +86,7 @@ stringData:
tvdb_pin: ""
postgres_user: kyoo_all
postgres_password: watchSomething4me
scanner_apikey: triquarter4u
scanner_apikey: scanner-triquarter4u
```
# Additional Notes

View File

@ -93,12 +93,14 @@ kyoo:
apikeys:
scanner:
existingSecret: bigsecret
# value of the apikey should be scanner-$apikey
apikeyKey: scanner_apikey
claims: '{"permissions": ["core.write"]}'
# create additional apikeys
extra: []
# - name: example
# existingSecret: bigsecret
## value of the apieky should be $name-$apikey
# apikeyKey: example_apikey
# claims: '{"permissions": ["core.read"]}'