Added test for exec-based function generator

This commit is contained in:
Alexey Odinokov
2020-06-16 04:25:25 +00:00
parent d732a6faab
commit 178f4e21f0
2 changed files with 104 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
#!/bin/sh
# not sure if we want to generate bash scripts, since we always want to run
# only trusted executables
cat <<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
app: nginx
annotations:
tshirt-size: small # this injects the resource reservations
spec:
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
EOF