Added API_SECRET allowing for mobile app access
This commit is contained in:
@@ -13,6 +13,9 @@ services:
|
||||
DB_DATABASE: ninja_db
|
||||
DB_USERNAME: ninja
|
||||
DB_PASSWORD: ninjaPass
|
||||
{{- if (.Values.GMAPS_KEY)}}
|
||||
API_SECRET: ${MOBILE_APP_SECRET}
|
||||
{{- end}}
|
||||
{{- if (.Values.GMAPS_KEY)}}
|
||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||
{{- end}}
|
||||
@@ -50,6 +53,9 @@ services:
|
||||
DB_DATABASE: ninja_db
|
||||
DB_USERNAME: ninja
|
||||
DB_PASSWORD: ninjaPass
|
||||
{{- if (.Values.GMAPS_KEY)}}
|
||||
API_SECRET: ${MOBILE_APP_SECRET}
|
||||
{{- end}}
|
||||
{{- if (.Values.GMAPS_KEY)}}
|
||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||
{{- end}}
|
||||
|
||||
@@ -67,10 +67,17 @@ catalog:
|
||||
- variable: "APP_KEY"
|
||||
label: "Encryption Key"
|
||||
description: |
|
||||
A randomly generated 32-Character string which will be used for encryption.
|
||||
A random 32-Character string which will be used for encryption.
|
||||
required: true
|
||||
type: password
|
||||
|
||||
- variable: "MOBILE_APP_SECRET"
|
||||
label: "Mobile App Secret"
|
||||
description: |
|
||||
A random alphanumeric string required for allowing mobile app access.
|
||||
required: false
|
||||
type: password
|
||||
|
||||
- variable: "GMAPS_KEY"
|
||||
label: "Google Maps API Key"
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user