# io.k8s.api.core.v1.EnvFromSource

From **Kubernetes**.

EnvFromSource represents the source of a set of ConfigMaps or Secrets

- Type: `object`

## Properties

### `configMapRef`

- Required: false
The ConfigMap to select from

### `prefix`

- Required: false
- Type: `string`

Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.

### `secretRef`

- Required: false
The Secret to select from

## JSON Schema

```json
{"description":"EnvFromSource represents the source of a set of ConfigMaps or Secrets","properties":{"configMapRef":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.core.v1.ConfigMapEnvSource"}],"description":"The ConfigMap to select from"},"prefix":{"description":"Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.","type":"string"},"secretRef":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.core.v1.SecretEnvSource"}],"description":"The Secret to select from"}},"type":"object"}
```
