Skip to content

Commit

Permalink
DEVOPS-229 - Update charts
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed Jul 2, 2021
1 parent ae41142 commit 2fbc7ca
Show file tree
Hide file tree
Showing 12 changed files with 330 additions and 301 deletions.
6 changes: 3 additions & 3 deletions ndustrial/cronjob/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://ndustrialio.github.io/charts
version: 0.1.5
digest: sha256:0e3593bbf3facd4ee2ddc28b2f7f43ffa955271bc3950d581dcde6c37dbf7acc
generated: "2021-06-24T20:27:31.2346371Z"
version: 0.1.7
digest: sha256:3b32b29803a021697d8c2175d1cdc039c8647616ca588174297bf056c6219ba4
generated: "2021-07-02T19:19:12.4266858Z"
6 changes: 3 additions & 3 deletions ndustrial/cronjob/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: application
dependencies:
- name: common
repository: https://ndustrialio.github.io/charts
version: 0.1.5
version: 0.1.7
tags:
- ndustrial-common
sources:
Expand All @@ -14,5 +14,5 @@ maintainers:
- email: [email protected]
name: DevOps
# Please make sure that version and appVersion are always the same.
version: 0.1.5
appVersion: 0.1.5
version: 0.1.6
appVersion: 0.1.6
10 changes: 9 additions & 1 deletion ndustrial/cronjob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
| `contxt.serviceId` | The ID of the Contxt Service that this object belongs to (if applicable) | `nil` |
| `contxt.serviceType` | The type of the Contxt Service that this object belongs to (if applicable) | `nil` |


### Common parameters

| Name | Description | Value |
Expand All @@ -33,6 +34,7 @@
| `labels` | Labels to add to all deployed objects | `{}` |
| `annotations` | Annotations to add to all deployed objects | `{}` |


### CronJob parameters

| Name | Description | Value |
Expand All @@ -44,10 +46,11 @@
| `startingDeadlineSeconds` | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. | `nil` |
| `activeDeadlineSeconds` | Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | `nil` |
| `backoffLimit` | Specifies the number of retries before marking this job failed. Defaults to 6 | `6` |
| `completions` | Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | `nil` |
| `completions` | Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | `nil` |
| `parallelism` | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | `nil` |
| `ttlSecondsAfterFinished` | Limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. | `nil` |


### Pod Image parameters

| Name | Description | Value |
Expand All @@ -58,6 +61,7 @@
| `image.pullPolicy` | Deployment image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Deployment image pull secrets | `[]` |


### Pod parameters

| Name | Description | Value |
Expand Down Expand Up @@ -86,6 +90,7 @@
| `resources.limits` | The resources limits for the CronJob container | `{}` |
| `resources.requests` | The requested resources for the CronJob container | `{}` |


### Pod Security parameters

| Name | Description | Value |
Expand All @@ -96,6 +101,7 @@
| `containerSecurityContext.runAsUser` | Set CronJob container's Security Context runAsUser | `1001` |
| `containerSecurityContext.runAsNonRoot` | Set CronJob container's Security Context runAsNonRoot | `true` |


### Pod Affinity parameters

| Name | Description | Value |
Expand All @@ -107,3 +113,5 @@
| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set | `[]` |
| `affinity` | Affinity for Cert Manager CronJob | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |


152 changes: 76 additions & 76 deletions ndustrial/cronjob/_var_list.yml
Original file line number Diff line number Diff line change
@@ -1,96 +1,96 @@
---
- variable: global.imageRegistry
group: Global
default:
type:
default:
type:
- variable: global.imagePullSecrets
group: Global
default: []
type:
type:
- variable: global.storageClass
group: Global
default:
type:
default:
type:
- variable: ndustrial.name
group: Global
default:
type:
default:
type:
- variable: ndustrial.organization
group: Global
default:
type:
default:
type:
- variable: ndustrial.owner
group: Global
default:
type:
default:
type:
- variable: ndustrial.managed_by
group: Global
default:
type:
default:
type:
- variable: ndustrial.env
group: Global
default:
type:
default:
type:
- variable: ndustrial.version
group: Global
default:
type:
default:
type:
- variable: ndustrial.repo
group: Global
default:
type:
default:
type:
- variable: ndustrial.project
group: Global
default:
type:
default:
type:
- variable: ndustrial.project.slug
group: Global
default:
type:
default:
type:
- variable: ndustrial.project.type
group: Global
default:
type:
default:
type:
- variable: ndustrial.depends
group: Global
default: &1 []
type:
type:
- variable: ndustrial.depends.0.project
group: Global
default: *1
type:
type:
- variable: ndustrial.depends.0.name
group: Global
default: *1
type:
type:
- variable: contxt.projectId
group: Global
default:
type:
default:
type:
- variable: contxt.serviceId
group: Global
default:
type:
default:
type:
- variable: contxt.serviceType
group: Global
default:
type:
default:
type:
- variable: nameOverride
group: Common
default:
type:
default:
type:
- variable: fullnameOverride
group: Common
default:
type:
default:
type:
- variable: labels
group: Common
default: {}
type:
type:
- variable: annotations
group: Common
default: {}
type:
type:
- variable: schedule
group: CronJob
default: 0 0 * * *
Expand All @@ -109,28 +109,28 @@
type: number
- variable: startingDeadlineSeconds
group: CronJob
default:
type:
default:
type:
- variable: activeDeadlineSeconds
group: CronJob
default:
type:
default:
type:
- variable: backoffLimit
group: CronJob
default: 6
type: number
- variable: completions
group: CronJob
default:
type:
default:
type:
- variable: parallelism
group: CronJob
default:
type:
default:
type:
- variable: ttlSecondsAfterFinished
group: CronJob
default:
type:
default:
type:
- variable: image.registry
group: Pod Image
default: docker.io
Expand All @@ -150,79 +150,79 @@
- variable: image.pullSecrets
group: Pod Image
default: []
type:
type:
- variable: command
group: Pod
default: []
type:
type:
- variable: args
group: Pod
default: []
type:
type:
- variable: priorityClassName
group: Pod
default:
type:
default:
type:
- variable: hostAliases
group: Pod
default: []
type:
type:
- variable: tolerations
group: Pod
default: []
type:
type:
- variable: podLabels
group: Pod
default: {}
type:
type:
- variable: podAnnotations
group: Pod
default: {}
type:
type:
- variable: lifecycleHooks
group: Pod
default: {}
type:
type:
- variable: updateStrategy.type
group: Pod
default: RollingUpdate
type: string
- variable: updateStrategy.rollingUpdate
group: Pod
default: {}
type:
type:
- variable: shareProcessNamespace
group: Pod
default: false
type: boolean
- variable: extraEnvVars
group: Pod
default: []
type:
type:
- variable: extraEnvVarsCM
group: Pod
default:
type:
default:
type:
- variable: extraEnvVarsSecret
group: Pod
default:
type:
default:
type:
- variable: extraVolumes
group: Pod
default: []
type:
type:
- variable: extraVolumeMounts
group: Pod
default: []
type:
type:
- variable: initContainers
group: Pod
default: {}
type:
type:
- variable: sidecars
group: Pod
default: {}
type:
type:
- variable: serviceAccount.create
group: Pod
default: true
Expand All @@ -234,15 +234,15 @@
- variable: serviceAccount.annotations
group: Pod
default: {}
type:
type:
- variable: resources.limits
group: Pod
default: {}
type:
type:
- variable: resources.requests
group: Pod
default: {}
type:
type:
- variable: podSecurityContext.enabled
group: Pod Security
default: false
Expand Down Expand Up @@ -282,12 +282,12 @@
- variable: nodeAffinityPreset.values
group: Pod Affinity
default: []
type:
type:
- variable: affinity
group: Pod Affinity
default: {}
type:
type:
- variable: nodeSelector
group: Pod Affinity
default: {}
type:
type:
Loading

0 comments on commit 2fbc7ca

Please sign in to comment.