From 398355fbada0cfd23cb0878dd7bd0cd9ff39aa4f Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 30 Jan 2023 15:58:40 +0200 Subject: [PATCH] update docs --- library/common/1.0.0/docs/cronjob.md | 8 ++++++++ library/common/1.0.0/docs/daemonset.md | 8 ++++++++ library/common/1.0.0/docs/deployment.md | 8 ++++++++ library/common/1.0.0/docs/job.md | 8 ++++++++ library/common/1.0.0/docs/statefulset.md | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/library/common/1.0.0/docs/cronjob.md b/library/common/1.0.0/docs/cronjob.md index 49eca4e782..ca3ee4b934 100644 --- a/library/common/1.0.0/docs/cronjob.md +++ b/library/common/1.0.0/docs/cronjob.md @@ -21,6 +21,9 @@ | controllers.[controller-name].parallelism | `int` | ❌ | ❌ | `1` | Define the parallelism | | controllers.[controller-name].ttlSecondsAfterFinished | `int` | ❌ | ❌ | `120` | Define the ttlSecondsAfterFinished | | controllers.[controller-name].activeDeadlineSeconds | `int` | ❌ | ❌ | | Define the activeDeadlineSeconds | +| controllers.[controller-name].podSpec | `dict` | ✅ | ❌ | `{}` | Holds the pod definition | +| controllers.[controller-name].podSpec.labels | `dict` | ❌ | ✅ | `{}` | Pod Labels | +| controllers.[controller-name].podSpec.annotations | `dict` | ❌ | ✅ | `{}` | Pod Annotations | --- @@ -59,6 +62,10 @@ controllers: parallelism: 5 ttlSecondsAfterFinished: 100 activeDeadlineSeconds: 100 + podSpec: + labels: {} + annotations: {} + other-controller-name: enabled: true primary: false @@ -66,4 +73,5 @@ controllers: labels: {} annotations: {} schedule: "* * * * *" + podSpec: {} ``` diff --git a/library/common/1.0.0/docs/daemonset.md b/library/common/1.0.0/docs/daemonset.md index a4f1db21e0..8ab84eb226 100644 --- a/library/common/1.0.0/docs/daemonset.md +++ b/library/common/1.0.0/docs/daemonset.md @@ -13,6 +13,9 @@ | controllers.[controller-name].rollingUpdate | `dict` | ❌ | ❌ | `{}` | Holds the rollingUpdate options, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.maxUnavailable | `int` | ❌ | ❌ | | Define the maxUnavailable, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.maxSurge | `int` | ❌ | ❌ | | Define the maxSurge, Only when strategy is RollingUpdate | +| controllers.[controller-name].podSpec | `dict` | ✅ | ❌ | `{}` | Holds the pod definition | +| controllers.[controller-name].podSpec.labels | `dict` | ❌ | ✅ | `{}` | Pod Labels | +| controllers.[controller-name].podSpec.annotations | `dict` | ❌ | ✅ | `{}` | Pod Annotations | --- @@ -45,6 +48,10 @@ controllers: rollingUpdate: maxUnavailable: 1 maxSurge: 1 + podSpec: + labels: {} + annotations: {} + other-controller-name: enabled: true primary: false @@ -57,4 +64,5 @@ controllers: rollingUpdate: maxUnavailable: 1 maxSurge: 1 + podSpec: {} ``` diff --git a/library/common/1.0.0/docs/deployment.md b/library/common/1.0.0/docs/deployment.md index 73d6ec5dab..61c08bdeb5 100644 --- a/library/common/1.0.0/docs/deployment.md +++ b/library/common/1.0.0/docs/deployment.md @@ -13,6 +13,9 @@ | controllers.[controller-name].rollingUpdate | `dict` | ❌ | ❌ | `{}` | Holds the rollingUpdate options, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.maxUnavailable | `int` | ❌ | ❌ | | Define the maxUnavailable, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.maxSurge | `int` | ❌ | ❌ | | Define the maxSurge, Only when strategy is RollingUpdate | +| controllers.[controller-name].podSpec | `dict` | ✅ | ❌ | `{}` | Holds the pod definition | +| controllers.[controller-name].podSpec.labels | `dict` | ❌ | ✅ | `{}` | Pod Labels | +| controllers.[controller-name].podSpec.annotations | `dict` | ❌ | ✅ | `{}` | Pod Annotations | --- @@ -45,6 +48,10 @@ controllers: rollingUpdate: maxUnavailable: 1 maxSurge: 1 + podSpec: + labels: {} + annotations: {} + other-controller-name: enabled: true primary: false @@ -57,4 +64,5 @@ controllers: rollingUpdate: maxUnavailable: 1 maxSurge: 1 + podSpec: {} ``` diff --git a/library/common/1.0.0/docs/job.md b/library/common/1.0.0/docs/job.md index f8d1e22d2d..f0036b3890 100644 --- a/library/common/1.0.0/docs/job.md +++ b/library/common/1.0.0/docs/job.md @@ -15,6 +15,9 @@ | controllers.[controller-name].parallelism | `int` | ❌ | ❌ | `1` | Define the parallelism | | controllers.[controller-name].ttlSecondsAfterFinished | `int` | ❌ | ❌ | `120` | Define the ttlSecondsAfterFinished | | controllers.[controller-name].activeDeadlineSeconds | `int` | ❌ | ❌ | | Define the activeDeadlineSeconds | +| controllers.[controller-name].podSpec | `dict` | ✅ | ❌ | `{}` | Holds the pod definition | +| controllers.[controller-name].podSpec.labels | `dict` | ❌ | ✅ | `{}` | Pod Labels | +| controllers.[controller-name].podSpec.annotations | `dict` | ❌ | ✅ | `{}` | Pod Annotations | --- @@ -47,10 +50,15 @@ controllers: parallelism: 5 ttlSecondsAfterFinished: 100 activeDeadlineSeconds: 100 + podSpec: + labels: {} + annotations: {} + other-controller-name: enabled: true primary: false type: Job labels: {} annotations: {} + podSpec: {} ``` diff --git a/library/common/1.0.0/docs/statefulset.md b/library/common/1.0.0/docs/statefulset.md index 4d44cb741f..c8291c3f78 100644 --- a/library/common/1.0.0/docs/statefulset.md +++ b/library/common/1.0.0/docs/statefulset.md @@ -13,6 +13,9 @@ | controllers.[controller-name].rollingUpdate | `dict` | ❌ | ❌ | `{}` | Holds the rollingUpdate options, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.maxUnavailable | `int` | ❌ | ❌ | | Define the maxUnavailable, Only when strategy is RollingUpdate | | controllers.[controller-name].rollingUpdate.partition | `int` | ❌ | ❌ | | Define the partition, Only when strategy is RollingUpdate | +| controllers.[controller-name].podSpec | `dict` | ✅ | ❌ | `{}` | Holds the pod definition | +| controllers.[controller-name].podSpec.labels | `dict` | ❌ | ✅ | `{}` | Pod Labels | +| controllers.[controller-name].podSpec.annotations | `dict` | ❌ | ✅ | `{}` | Pod Annotations | --- @@ -45,6 +48,10 @@ controllers: rollingUpdate: maxUnavailable: 1 partition: 1 + podSpec: + labels: {} + annotations: {} + other-controller-name: enabled: true primary: false @@ -57,4 +64,5 @@ controllers: rollingUpdate: maxUnavailable: 1 partition: 1 + podSpec: {} ```