Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How to use ConfigMaps and Secrets in Kubernetes?

Sumit Rawal answered on May 13, 2023 Popularity 8/10 Helpfulness 2/10

Contents


More Related Answers

  • aws config kubectl
  • kubectl display config file
  • kubernetes demo secret file
  • kubectl print secret value
  • python
  • kubectl describe configmap example
  • kubectl edit secret
  • python
  • Python
  • python
  • python
  • kubectl config kubernetes dashboard
  • python
  • python
  • python
  • kubectl secret value
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python
  • python

  • How to use ConfigMaps and Secrets in Kubernetes?

    0

    In this section, we will see how to use these K8s objects in our containerized applications.

    Using ConfigMaps

    ConfigMaps can be mounted as data volumes or configured as environmental variables using the configMapKeyRef flag. We can use both these approaches in our use case for database connectivity information. However, we will go ahead with mounting ConfigMaps as data volumes approach as those volumes are automatically updated.  

    Popularity 8/10 Helpfulness 2/10 Language typescript
    Source: Grepper
    Tags: typescript
    Link to this answer
    Share Copy Link
    Contributed on May 13 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.