mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
genpolicy: Add support for envFrom
This change adds support for the `envFrom` field in the `Pod` resource Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
@@ -10,3 +10,4 @@ metadata:
|
||||
data:
|
||||
data-1: value-1
|
||||
data-2: value-2
|
||||
data-3: value-3
|
||||
|
@@ -49,6 +49,9 @@ spec:
|
||||
- echo
|
||||
- startupProbe
|
||||
- test
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: policy-configmap
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 2
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
Reference in New Issue
Block a user