19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11 ■ Using ConfigMaps

The key for a ConfigMap may not be any arbitrary name but must follow a specific regexp. To

demonstrate, use the key the same as the environment variable name as shown in Figure 11-9.

Figure 11-9. ConfigMap key ref set to same value as the environment variable name

An error is generated, as shown in Figure 11-10.

264

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!