Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
remove duplicate assert checks
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesClonk committed Jul 1, 2022
1 parent 4c3b6d9 commit 4ca75b8
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions kubernetes/build/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,6 @@
#@ if len(data.values.backman.services) == 0:
#@ assert.fail("backman.services are missing or invalid")
#@ end
#@ for idx in range(len(data.values.backman.services)):
#@ service = data.values.backman.services[idx]
#@ if len(service.name) == 0:
#@ assert.fail("backman.services[" + str(idx) + "].name is missing")
#@ end
#@ if len(service.type) == 0:
#@ assert.fail("backman.services[" + str(idx) + "].type is missing")
#@ end
#@ if len(service.schedule) == 0:
#@ assert.fail("backman.services[" + str(idx) + "].schedule is missing")
#@ end
#@ if len(service.timeout) == 0:
#@ assert.fail("backman.services[" + str(idx) + "].timeout is missing")
#@ end
#@ if service.retention.days <= 0:
#@ assert.fail("backman.services[" + str(idx) + "].retention.days is missing")
#@ end
#@ if service.retention.files <= 0:
#@ assert.fail("backman.services[" + str(idx) + "].retention.files is missing")
#@ end
#@ end

---
apiVersion: apps/v1
Expand Down

0 comments on commit 4ca75b8

Please sign in to comment.