...

/

Injecting Configurations from Environment Files

Injecting Configurations from Environment Files

Let’s look at the my-env-file.yml file:

We'll cover the following...

Looking into the definition

Let’s take a look at the my-env-file.yml file.

something=else
weather=sunny

The file has the same key/value pairs as the ones we used in the example with --from-literal.

Creating the ConfigMap

Let’s see what happens if we create a ConfigMap using that file as ...