ZedTuX 0n R00t

Je travaille pour la plus grand entreprise du monde: L'open source.

kubectl : Use multiple account accesses

Kubernetes has released RBAC (Role-based access control) which allows you to manage and restrict user accesses in the cluster. I decided to create a ServiceAccount in order to limite the access to...

kubectl : x509: certificate signed by unknown authority

I’m working on implementing a Kubernetes cluster for my company where we will run our tests and environments of our application. After spending some time to install a cluster myself (Which I did b...

Configure kubectl for DigitalOcean Kubernetes

DigitalOcean host provider released DigitalOcean Kubernetes which allows you to have a full k8s (Kubernetes) cluster in minutes with very few clicks. The cool stuff here is that you’ll gonna pay o...

React Native and self-signed certificates to call local development backend

Here I’m explaining how to deal with the SSL issues due to self-signed certificates when you’re developing an app using React-Native, calling a backend application serving an API. An agnostic solut...

Démarrer une application Rails de zéro avec Docker

Cet article décrit comment créer une nouvelle application de zéro, en utilisant Docker, pas à pas. Image de base Première étape, l’image de départ que vous allez utiliser pour démarrer Docker. D...

Testing a Rails & Angular app with Cucumber and Capybara with Docker

This article will explain you how to test a Ruby On Rails and AngularJs application with Cucumber all using Docker containers. Testing a Rails application using JavaScript has always something har...

Devise Google Authenticator with Cucumber

In a project I am working on, the devise_google_authenticator gem is used in order to improve the login security. I’m working on writing automated tests using Cucumber and I had to deal with it. ...

Restaurer sa prod, en 30 minutes, après un crash grâce à Docker

L’environnement de production d’une application sur laquelle je travails depuis un moment déjà, s’est éffondré suite à un problème disque, et je vais la remettre en route en 30 minutes! J’ai dével...

Testing a DateTime field from a Rails API with RSpec

You are testing a simple API returning object’s attributes including the created_at and the updated_at fields: You write a simple RSpec test: But you got an issue comparing the dates: 1 2 ...

Détecter le changement d'un attribut pour une valeur précise

Petite découverte de la semaine en Ruby On Rails et les dirty attributes. Peut-être savez-vous déjà que, par exemple, dans un modèle avec un callback du type before_save vous pouvez accéder aux mo...