diff --git a/class/defaults.yml b/class/defaults.yml index da3457b..ca8d292 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -146,6 +146,7 @@ parameters: spec: hard: count/configmaps: "150" + count/jobs.batch: "150" count/secrets: "150" count/services: "20" count/services.loadbalancers: "0" diff --git a/docs/modules/ROOT/pages/references/policies/11_generate_quota_limit_range_in_ns.adoc b/docs/modules/ROOT/pages/references/policies/11_generate_quota_limit_range_in_ns.adoc index 3d1d47a..da2bc10 100644 --- a/docs/modules/ROOT/pages/references/policies/11_generate_quota_limit_range_in_ns.adoc +++ b/docs/modules/ROOT/pages/references/policies/11_generate_quota_limit_range_in_ns.adoc @@ -164,6 +164,8 @@ spec: || ''25Gi'' }}' count/configmaps: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_configmaps" || ''150'' }}' + count/jobs.batch: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_jobs.batch" + || ''150'' }}' count/replicationcontrollers: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_replicationcontrollers" || ''100'' }}' count/secrets: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_secrets" diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/11_generate_quota_limit_range_in_ns.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/11_generate_quota_limit_range_in_ns.yaml index 6b5411e..be9113b 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/11_generate_quota_limit_range_in_ns.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/11_generate_quota_limit_range_in_ns.yaml @@ -135,6 +135,8 @@ spec: || ''25Gi'' }}' count/configmaps: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_configmaps" || ''150'' }}' + count/jobs.batch: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_jobs.batch" + || ''150'' }}' count/replicationcontrollers: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_replicationcontrollers" || ''100'' }}' count/secrets: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_secrets"