Working with Google Kubernetes Engine Secrets and ConfigMaps

Backyard Techmu by Adrianus Yoga
Backyard Techmu by Adrianus Yoga
47 بار بازدید - 2 ماه پیش - OverviewIn this lab, you set
Overview
In this lab, you set up configuration information, both encrypted and unencrypted. Encrypted configuration information is stored as secrets. Unencrypted configuration information is stored as ConfigMaps.

This approach avoids hard coding such information into code bases. Credentials (like API keys) that belong in secrets should never travel inside code repositories like GitHub (unless they are encrypted before going in, but even then it is better to keep them separate).

Objectives
In this lab, you learn how to perform the following tasks:
- Create secrets by using the kubectl command and manifest files.
- Create ConfigMaps by using the kubectl command and manifest files.
- Consume secrets in containers by using environment variables or mounted volumes.
- Consume ConfigMaps in containers by using environment variables or mounted volumes.
#gcp #googlecloud #qwiklabs #learntoearn
2 ماه پیش در تاریخ 1403/04/13 منتشر شده است.
47 بـار بازدید شده
... بیشتر