Added API_SECRET allowing for mobile app access
This commit is contained in:
@@ -13,6 +13,9 @@ services:
|
|||||||
DB_DATABASE: ninja_db
|
DB_DATABASE: ninja_db
|
||||||
DB_USERNAME: ninja
|
DB_USERNAME: ninja
|
||||||
DB_PASSWORD: ninjaPass
|
DB_PASSWORD: ninjaPass
|
||||||
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
|
API_SECRET: ${MOBILE_APP_SECRET}
|
||||||
|
{{- end}}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
@@ -50,6 +53,9 @@ services:
|
|||||||
DB_DATABASE: ninja_db
|
DB_DATABASE: ninja_db
|
||||||
DB_USERNAME: ninja
|
DB_USERNAME: ninja
|
||||||
DB_PASSWORD: ninjaPass
|
DB_PASSWORD: ninjaPass
|
||||||
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
|
API_SECRET: ${MOBILE_APP_SECRET}
|
||||||
|
{{- end}}
|
||||||
{{- if (.Values.GMAPS_KEY)}}
|
{{- if (.Values.GMAPS_KEY)}}
|
||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
@@ -67,10 +67,17 @@ catalog:
|
|||||||
- variable: "APP_KEY"
|
- variable: "APP_KEY"
|
||||||
label: "Encryption Key"
|
label: "Encryption Key"
|
||||||
description: |
|
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
|
required: true
|
||||||
type: password
|
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"
|
- variable: "GMAPS_KEY"
|
||||||
label: "Google Maps API Key"
|
label: "Google Maps API Key"
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user