This repository contains the source code for a simple web application that is deployed on Section.
Environment information:
- Application: cjbrewer/storefront:0.0.1
- API: cjbrewer/api:0.0.1
- Router: Section mananged OpenResty
gcr.io/section-io/openresty:1.19.3.1-k3
- KEI Endpoint:
https://redacted.kube.api.section.io/
- Website: https://www.taqueria.shop
Following Section's documention set up kubectl:
kubectl config set-cluster www-taqueria-shop \
--certificate-authority=/etc/ssl/certs/ca-certificates.crt \
--server=KEI_ENDPOINT
kubectl config set-context taqueria-shop \
--cluster=www-taqueria-shop \
--user=section-user
kubectl config use-context taqueria-shop
Use the following command to deploy the application.
kubectl apply -k k8s/base
Please refer to the PDF labeled www-taqueria-shop.pdf
in the repository.