You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| commonLabels | object |`{}`| Common Labels are added to each kubernetes resource manifest. But will not be added to resources rendered by the common chart (eg. JMX Exporter) |
42
-
| containerFields | object |`{}`| Container extra fields |
| image.tag | string | Tag defaults to `.Chart.Appversion`, if not set | Configure Docker Image tag |
56
-
| imagePullSecrets | list |`[]`| Define [ImagePullSecrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). Will be overwritten if set by global variable. |
57
-
| initContainers | list |`[]`| Pod [initContainers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)|
| nodeSelector | object |`{}`| Pod [NodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/)|
42
+
| job.activeDeadlineSeconds | int |`nil`| 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. |
43
+
| job.affinity | object |`{}`| Pod [Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)|
| job.completions | int |`nil`| Specifies the desired number of successfully finished pods the job should be run with [More Info](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/). |
50
+
| job.concurrencyPolicy | string |`nil`| Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one. |
51
+
| job.containerFields | object |`{}`| Extra fields used on the container definition |
52
+
| job.containerName | string |`.Chart.Name`| Configure Container Name |
| job.extraFields | object |`{}`| Extra fields used on the Job resource |
56
+
| job.failedJobsHistoryLimit | int |`1`| The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. |
57
+
| job.forceRedeploy | bool |`false`||
58
+
| job.image.pullPolicy | string |`nil`| Configure Docker Pull Policy. Will be overwritten if set by global variable. |
59
+
| job.image.registry | string |`"docker.io"`| Configure Docker Registry. Will be overwritten if set by global variable. |
| job.image.tag | string | Tag defaults to `.Chart.Appversion`, if not set | Configure Docker Image tag |
62
+
| job.imagePullSecrets | list |`[]`| Define [ImagePullSecrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). Will be overwritten if set by global variable. |
63
+
| job.initContainers | list |`[]`| Pod [initContainers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)|
| job.nodeSelector | object |`{}`| Pod [NodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/)|
68
+
| job.parallelism | int |`nil`| manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. |
69
+
| job.podAnnotations | object |`{}`| Pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) are only added for the pod |
70
+
| job.podFields | object |`{}`| Add extra field to the [Pod Template](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podtemplate-v1-core) if not available as value. |
71
+
| job.podLabels | object |`{}`| Pod [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) are only added for the pod |
72
+
| job.podSecurityContext | object |`{"fsGroup":1500,"runAsGroup":1500,"runAsUser":1500}`| Pod [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)|
| job.restartPolicy | string |`"OnFailure"`| Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy|
78
+
| job.schedule | string |`"0 * * * *"`| The schedule in Cron format, see https://crontab.guru/.|
| job.selector | object |`{}`| A label query over pods that should match the pod count. Normally, the system sets this field for you. |
81
+
| job.serviceAccount.annotations | object |`{}`| Annotations to add to the service account |
82
+
| job.serviceAccount.apiVersion | string | v1 | Configure the api version used |
83
+
| job.serviceAccount.automountServiceAccountToken | bool |`true`| (bool) AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. |
84
+
| job.serviceAccount.create | bool |`false`| Specifies whether a service account should be created |
85
+
| job.serviceAccount.enabled | bool |`false`| Specifies whether a service account is enabled or not |
86
+
| job.serviceAccount.globalPullSecrets | bool |`false`| Evaluate global set pullsecrets and mount, if set |
87
+
| job.serviceAccount.imagePullSecrets | list |`[]`| ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. |
88
+
| job.serviceAccount.labels | object |`{}`| Merges given labels with common labels |
89
+
| job.serviceAccount.name | string |`bedag-lib.fullname`| If not set and create is true, a name is generated using the fullname template |
90
+
| job.serviceAccount.secrets | list |`[]`| Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount |
91
+
| job.sidecars | list |`[]`| Allows to add sidecars to your [maincar]](https://kubernetes.io/docs/concepts/workloads/pods/#using-pods)|
92
+
| job.startingDeadlineSeconds | string |`nil`| 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. |
| job.successfulJobsHistoryLimit | string | 3 | The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. |
95
+
| job.suspend | string | false | The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. |
96
+
| job.tolerations | object |`{}`| Pod [Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)|
97
+
| job.ttlSecondsAfterFinished | string |`nil`| ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). |
| overwriteLabels | object |`{}`| Overwrites default labels, but not resource specific labels and common labels |
63
-
| podAnnotations | object |`{}`| Pod [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) are only added for the pod |
64
-
| podFields | object |`{}`| Add extra field to the [Pod Template](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podtemplate-v1-core) if not available as value. |
65
-
| podLabels | object |`{}`| Pod [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) are only added for the pod |
66
-
| podSecurityContext | object |`{"fsGroup":1500,"runAsGroup":1500,"runAsUser":1500}`| Pod [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)|
| restartPolicy | string |`"OnFailure"`| Restart policy for all containers within the One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy|
| volumes | list |`[]`| Additional [Volumes](https://kubernetes.io/docs/concepts/storage/volumes/)|
82
117
83
118
# Implementing Tests
84
119
85
120
Tavern tests are implemented under the key `$.Values.tests`. Each element of this key represents a dedicated tavern test suite (dedicated configmap etc.). This is mainly because a configmap can maximum be up to 1MiB of data, therefor it makes sense to split each test suite into dedicate configmaps. See the [values.yaml](./values.yaml) as well as the example to see how it works!.
86
121
87
122
## Using Templates
88
123
89
-
This chart provides the functionality to create templates, which can be rereferenced. The templates allow you to implement go sprig logic and therefor might dramatically improve your tavern test suites.
124
+
This chart provides the functionality to create templates, which can be re referenced. The templates allow you to implement go sprig logic and therefor might dramatically improve your tavern test suites.
90
125
91
126
**NOTE**: While tavern statements use single `{ .. }` I had to replace the go sprig `\{\{ .. }}` as well with single `{ .. }` because of the documenting engine.
0 commit comments