Files
homeAssistant/deploy
Márcio Fernandes c42dbef22c
All checks were successful
Casa Home Assistant CI/CD Pipeline (testing) / build (push) Successful in 16s
clean up. Working workflow
2025-11-22 04:41:28 +00:00
..
2025-11-22 04:41:28 +00:00
2025-11-22 01:57:22 +00:00
2025-11-22 01:57:22 +00:00
2025-11-22 01:57:22 +00:00
2025-11-22 01:57:22 +00:00
.
2025-11-22 04:31:17 +00:00

Home Assistant Deploy

Namespace

# from repo root folder
kubectl create namespace home-assistant

Deployment

Environments requirements

#./deploy/.env

export ENDPOINT_IP="xxx.xxx.xxx.xxxx"
export SERVICE_PORT=xxxx
export INGRESS_ROUTES_MATCH="Host(`xxxx`)"
export INGRESS_TLS_SECRET_NAME=xxxxxx

Test Templates

# from repo root folder
source ./deploy/.env \
&& cat ./deploy/deployment.yaml \
&& envsubst < ./deploy/service.template.yaml

Deploy

# from repo root folder
source ./deploy/.env \
&& kubectl apply -f ./deploy/deployment.yaml \
&& envsubst < ./deploy/service.template.yaml | kubectl apply -f -

Continuos Deploy

All Environment variables requirements as set as secrets.

gitea workflow

RBAC

kubectl apply -f ./deploy/rbac.yaml