Added API_SECRET allowing for mobile app access

This commit is contained in:
WilliamMiceli
2018-06-28 15:45:45 -04:00
parent 7b68b34cbb
commit 6da33305e5
2 changed files with 14 additions and 1 deletions

View File

@@ -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}}

View File

@@ -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: |