Skip to content

Instantly share code, notes, and snippets.

View edsonmarquezani's full-sized avatar

Edson Marquezani Filho edsonmarquezani

  • São Paulo, Brazil
View GitHub Profile

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:


🇧🇷 [pt-BR]

Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS

[Draft] Deploy 2.0 Architecture Proposal

Deploy configuration and pipeline

  1. Application must have a high-level definition (analog to current kubefile)

  2. Based on it, a Custom Middleware would render Kubernetes resource(s) configuration and commit on Git repository

    1. Helm may be used for templating only, or even switched by another solution (as any other template engine)
      1. The less intelligence those templates have, the better - the ideal is to have only values interpolation and iteration in lists, and avoid too much if/else conditions (and even less more complex ones)
  3. Resource definitions may be described in "layers", with a common part and a specialized part per environment and/or cluster, using Kustomize