문제 설명
보안 비밀에 대한 Google 클라우드 컨테이너 클러스터 환경 변수 (Google cloud container cluster environmental variables for secrets)
키, 비밀번호 등과 같은 비밀을 Google 컨테이너 클러스터에 저장하는 방법을 파악하는 데 정말 어려움을 겪고 있습니다. 가능하면 환경 변수를 사용하고 싶습니다. 가장 좋은 방법은 무엇입니까?
참조 솔루션
방법 1:
You should use the Kubernetes secret object: "Secrets can be mounted as data volumes or be exposed as environment variables to be used by a container in a pod."
(by Hnus、Robert Bailey)