Other articles

  1. Extra kubectl configmap/secret to .env file

    You can extract data from your kubernetes config maps into a .env file with the commands below (requires you to have jq installed):

    # Get the data in JSON.
    kubectl get configmap my-map --output json |
        # Extract the data section.
        jq '.data' |
        # Replace each "key": "value" pair with "key=value"
        jq -r …
    read more

Page 1 / 1

Pages

blogroll

social