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: stringData:
postgres_user: kyoo_all postgres_user: kyoo_all
postgres_password: watchSomething4me postgres_password: watchSomething4me
scanner_apikey: triquarter4u scanner_apikey: scanner-triquarter4u
- kind: PersistentVolumeClaim - kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
@ -86,7 +86,7 @@ stringData:
tvdb_pin: "" tvdb_pin: ""
postgres_user: kyoo_all postgres_user: kyoo_all
postgres_password: watchSomething4me postgres_password: watchSomething4me
scanner_apikey: triquarter4u scanner_apikey: scanner-triquarter4u
``` ```
# Additional Notes # Additional Notes

View File

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