mongulu-cm / manzi-mfa

Le pont vers l'emploi dans l' IT grâce un échange d'1h avec un senior
https://manzi-mfa.mongulu.cm
GNU General Public License v3.0
2 stars 0 forks source link

Manzi mfa

Fe'fe' language meaning bridge for work in French

Prerequisites

Deployment

Firstly, install all required tools:

helm repo add jetstack https://charts.jetstack.io
helm repo add external-secrets https://charts.external-secrets.io
helm update
helm upgrade cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
kubectl apply -f manifests/issuer-acme.yml
helm upgrade external-secrets external-secrets/external-secrets -n external-secrets --create-namespace
kubectl apply -f manifests/parameter-store.yml
kubectl apply -f manifests/diun.yml
kubectl apply -f manifests/database-backup.yml

NAMESPACE="arc-systems"
helm install arc \
    --namespace "${NAMESPACE}" \
    --create-namespace \
    oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
NAMESPACE="arc-runners"
INSTALLATION_NAME="arc-runner-set"
GITHUB_CONFIG_URL="https://github.com/mongulu-cm/manzi-mfa"
helm upgrade "${INSTALLATION_NAME}" \
    --namespace "${NAMESPACE}" \
    --set githubConfigUrl="${GITHUB_CONFIG_URL}" \
    --set githubConfigSecret=github-arc-secret \
    --set containerMode.type=dind \
    oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
kubectl create secret generic github-arc-secret --namespace=arc-runners --from-literal=github_token=<TOKEN>

then start the application:

kubectl create namespace easyappointments
helm upgrade easyappointments ./helm -n easyappointments

Ressources

https://github.com/highcanfly-club/easyappointments-k8s
https://external-secrets.io/latest/introduction/getting-started/
https://external-secrets.io/latest/provider/aws-parameter-store/
https://www.youtube.com/watch?v=DvXkD0f-lhY