Warning
This README is still under development!
Important
This repo is built for my own environment so please review all configurations to verify compatibility!
Tip
This repo is part of my IaC automation series. If you are building this in mind please follow my repo's in the order below.
- terraform-iso-get
- packer
- terraform-core
- ansible
- terraform-talos
- you are here k8s-apps
Note
These are temporary steps that still need automation.
After running terraform to deploy the Talos cluster, complete the steps below to setup the kubernetes apps.
- Before we build out the apps we need to stage the database and configure all databases.
1.
kubectl kustomize --enable-helm --load-restrictor=LoadRestrictionsNone /path-to/k8s-apps/databases | kubectl apply -f-
1. Build databases:create user <username> with password '<password>';
create database <database> with owner <username>;
grant all privileges on database <database> to <username>;
grant connect on database <database> to <username>;
- The current list of databases needs to be created:
authentik
freshrss
gitea
hassos
nextcloud
vaultwarden
wikijs
- Get the initial Argocd password.
1.
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
1. Save this password into your password manager. - Run the deployment command
kubectl kustomize --enable-helm --load-restrictor=LoadRestrictionsNone /path-to/k8s-apps/argocd-build | kubectl apply -f-