Skip to content

tuana9a/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

platform

tuana9a's platform

  • configuration as code (asnible)
  • infrastructure as code (terraform)
  • deploy apps (argocd)
  • infra (aws, proxmox)
  • dns, cdn, web (cloudflare)
  • load balancer, reverse proxy (haproxy, nginx)

order

flowchart TD;
flannel-->argocd;
flannel-->metallb;
flannel-->knative;
argocd-->metrics-server;
argocd-->nfs-csi;
argocd-->external-dns;
nfs-csi-->loki;
nfs-csi-->vault;
loki-->promtail;
ingress-nginx-->vault;
external-dns-->cert-manager;
cert-manager-->ingress-nginx;
vault-->vault-secrets-operator;
vault-secrets-operator-->prometheus;
vault-secrets-operator-->apps;
apps-->coder;
apps-->hcr;
apps-->dkhptd;
apps-->t9stbot;
apps-->paste;
prometheus-->grafana;
Loading

gcloud

setup gcloud cli auth

gcloud auth application-default login

ansible

NOTE: using python of the os, change the 3.10 if necessary

sudo -i
apt install -y python3.10-venv
mkdir -p /opt/ansible
cd /opt/ansible
python3 -m venv .venv
source .venv/bin/activate
pip install ansible ansible-core ansible-lint
ln -sf /opt/ansible/.venv/bin/ansible* /usr/local/bin

verify ansible installation

ansible --version

config ansible vault password (optional)

vim ~/.ansible.cfg
[defaults]
vault_password_file=/path/to/pasword/file

read ansible vault password from (hashicorp) vault

vault kv get -format=json kv/platform/ansible-vault | jq -r ".data.password"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •