SECRETS
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=secret
kubectl create secret generic stripe-secret --from-literal STRIP_KEY=<SECRET>
NATS
- For port forwarding type
kubectl port-forward <pod_id> 4222:4222
&kubectl port-forward <pod_id> 8222:8222
. - Go to
http://localhost:8222/streaming
to monitor the message queue.
STRIPE
token = tok_visa
for successfully passing the token to stripe only in dev mode.