Install Portefaix
Instructions for deploying Portefaix on Azure
Setup
Export Azure credentials:
❯ export AZURE_SUBSCRIPTION_ID="xxxxxx"
Storage for Terraform
Create a Storage Account :
❯ make -f hack/build/azure.mk azure-storage-account ENV=dev
XXXXXXXXXXX
You could see the Key on the output.
Create storage container for Terraform states:
❯ make -f hack/build/azure.mk azure-storage-container ENV=dev KEY="xxxxxxxxxxxxxxxxx"
Create the Service Principal for Terraform:
❯ make -f hack/build/azure.mk azure-sp ENV=dev
{
"appId": "xxxxxxxxxxxxxxxxx",
"displayName": "portefaix-dev",
"name": "http://portefaix-dev",
"password": "xxxxxxxxxxxx",
"tenant": "xxxxxxxxxxxx"
}
Extract informations and configure portefaix configuration file (hack/config/portefaix.sh
):
SUBSCRIPTION_ID
CLIENT_ID
CLIENT_SECRET
ARM_TENANT_ID
And load environment :
❯ . ./portefaix.sh azure
Set permissions:
❯ make -f hack/build/azure.mk azure-permissions ENV=dev
Enable preview features:
❯ make -f hack/build/azure.mk azure-wasi ENV=dev
Terraform
Github Actions with Terraform Cloud could used to deploy the infrastructure:

Gitops for Kubernetes
Next: Gitops
Last modified 27.02.2023: Update: documentation and schemas (a42d75b)