Skip to content

Commit 2954396

Browse files
committed
Add resource requirements to test.yaml's Deployment
to show how V1Containers are not deserialized correctly by `Yaml.dumpAll()`. `YamlTest.testLoadAllFile()` fails.
1 parent cda3746 commit 2954396

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

util/src/test/resources/test.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ spec:
3232
image: gcr.io/hightowerlabs/helloworld:0.0.1
3333
imagePullPolicy: Always
3434
name: helloworld
35+
resources:
36+
limits:
37+
memory: 1Gi
38+
cpu: 0.5
39+
requests:
40+
memory: 4Gi
41+
cpu: 2
3542
---
3643
apiVersion: v1
3744
kind: Secret

0 commit comments

Comments
 (0)