Giter Site home page Giter Site logo

agustinramirodiaz / secrets-from-doppler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okteto/secrets-from-doppler

0.0 0.0 0.0 20 KB

Integrate Doppler and Okteto pipelines together!

License: Apache License 2.0

Go 40.53% Smarty 54.45% Dockerfile 5.02%

secrets-from-doppler's Introduction

Integrate Doppler with your Okteto pipelines

This demo shows you how bring secrets defined in Doppler into your Okteto development environment.

Setup

  1. Create a Doppler Project, and add two secrets with the name MY_NAME and MY_COLOR
  2. Create a Doppler CLI Service Token (instructions available here)
  3. Once created, add it to your Okteto account as a secret, using the name "DOPPLER_TOKEN"

Launch your Development Environment

Once the project and secrets have been configured, deploy your development environment in Okteto Cloud (or your own Okteto Enteprise instance).

Go to the endpoints in the dashboard, and click on it. You'll see something like this:

Hi, my name is Cindy, and my favorite color is Blue

Go to the pipeline manifest and notice how the secrets are being pulled from your Doppler project via the doppler secret get command and injected directly into the helm chart deployment.

If you go to Doppler, change the values of the secrets, and redeploy your development environment, you'll see the changes immediately.

Access the secrets while coding

From your local machine, run okteto up after deploying your development enviroment. Now run env to dump all the environment variables. Notice how MY_NAME and MY_COLOR are available? This is one of the benefits of using Okteto's development environments: the ability to use the same configuration and tools that you do in production (like secret vaults) while you develop.

secrets-from-doppler's People

Contributors

agustinramirodiaz avatar rberrelleza avatar rinkiyakedad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.