Skip to content

Commit

Permalink
fix example deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Sep 2, 2020
1 parent c5fdeb0 commit 7d9582d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test-app/components/test-job.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: batch/v1
kind: Job
metadata:
generateName: tj-
name: tj
spec:
template:
spec:
Expand Down
19 changes: 19 additions & 0 deletions examples/test-app/lib/objects.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
metadata: {
namespace: namespace,
name: name,
labels: {
name: name,
},
},
data: vars,
},
Expand All @@ -14,6 +17,9 @@
metadata: {
namespace: namespace,
name: name,
labels: {
name: name,
},
},
data: vars,
},
Expand All @@ -23,9 +29,22 @@
metadata: {
namespace: namespace,
name: name,
labels: {
name: name,
},
},
spec: {
selector: {
matchLabels: {
name: name,
},
},
template: {
metadata: {
labels: {
name: name,
},
},
spec: {
containers: [
{
Expand Down

0 comments on commit 7d9582d

Please sign in to comment.