> For the complete documentation index, see [llms.txt](https://til.duyet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.duyet.net/data-engineering/env-from-configmap-or-secrets.md).

# env from ConfigMap or Secrets

```yaml
envFrom:
  - configMapRef:
      name: production-settings
  - configMapRef:
      name: my-app-settings
env:
  - name: S3_BUCKET
    valueFrom:
      configMapKeyRef:
        name: s3-settings
        key: bucket
```
