NOTES:
https://www.youtube.com/watch?v=Nvjo2A2cBxI
https://github.com/kurokobo/awx-on-k3s/tree/main
- Install k3s on server
- Install
kubectl
&Kustomize
kustomize build . | kubectl apply -f -
- Check logs
k logs -f deployments/awx-operator-controller-manager -c awx-manager -n awx
- Get admin password
kubectl get secret awx-admin-password -o jsonpath="{.data.password}" --namespace awx | base64 --decode
- Create
/data/projects
on host. - Add awx pv and pvc
kubectl apply -f awx-pv.yml && kubectl apply -f awx-pvc.yml
- Create new local user
- Set up Github OAuth
GitHub OAuth2 Organization Map -
{
"Default": {
"admins": [
"Username,
"[email protected]"
],
"users": false
}
}
- Login with GH account
- Disable future SOCIAL Logins
Settings
>System
>Miscellaneous Authentication
>Social Auth User Fields
and put[]
- Delete deployment
k delete all --all -n awx && k delete namespace awx
- [TODO]