The Aloe Company
This is a simple single page website for The Aloe Company, a forever living products distributor.
Deployment
Deployment is to a kubernetes cluster. A few steps need to be done including secret and service account set up. There are also manual deployment steps for reference.
The helm chart used is a generic-app chart.
Service Account
A service account is required to allow github-actions access. This is created with:
kubectl apply -f deploy/serviceaccount.yaml
Github Actions
The prod
environment needs to be set up with two secrets:
K8S_URL
- url of kubernetes api serverK8s_SECRET
- yaml content of the service account secret
Secrets
The following secrets need to be in the deployment namespace.
kubectl create secret generic amplify --from-literal=api_key=XXXXXXXX