Skip to content

Hugo site for thealoecompany.com

Notifications You must be signed in to change notification settings

Smirl/thealoecompany

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 server
  • K8s_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