A distributed system to ingest, parse, track, and display various reports from police departments
In order to generate an API key, you'll need to be enrolled in Apple's Developer Program ($99/year)
See Creating a Maps Identifier and a Private Key
kubectl -n crime-map create secret generic apple-maps-key \
--from-file=private-key=/path/to/authkey.p8 \
--from-literal=issuer-id=<issuer-id> \
--from-literal=key-id=<key-id>
See Maps Geocoding API Guide - Using API Keys
Option 1: Use kubectl-whisper-secret ( requires kubectl-whisper-secret)
kubectl -n crime-map whisper-secret secret generic google-maps \
--from-literal=api-key=<api-key>
OR
Option 2: Use vanilla kubectl (less secure, no dependencies)
kubectl -n crime-map create secret generic google-maps \
--from-literal=api-key=<api-key>
Dev $kubectl appy -k kubernetes/overlays/dev
Stage $kubectl appy -k kubernetes/overlays/stage
Prod $kubectl appy -k kubernetes/overlays/prod