Skip to content

Commit

Permalink
Automatic update of nais application reference/example
Browse files Browse the repository at this point in the history
liberator commit sha: 006c9baf23b0811a9f3bdfb62f048820432ab27f
  • Loading branch information
thokra-nav committed Nov 1, 2023
1 parent 9901d9f commit 43237f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/naisjob/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ spec:
timeout: 1
successfulJobsHistoryLimit: 2
terminationGracePeriodSeconds: 60
timeZone: Europe/Oslo
ttlSecondsAfterFinished: 60
vault:
enabled: true
Expand Down
12 changes: 12 additions & 0 deletions docs/naisjob/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4002,6 +4002,18 @@ Value range: `0`-`180`<br />
terminationGracePeriodSeconds: 60
```

## timeZone
TimeZone for Naisjobs. Defaults to UTC. Only used if Schedule is specified. Specify a valid [IANA timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

Type: `string`<br />
Required: `false`<br />

??? example
``` yaml
spec:
timeZone: Europe/Oslo
```

## ttlSecondsAfterFinished
Specify the number of seconds to wait before removing the Job after it has finished (either Completed or Failed). If the field is unset, this Job won't be cleaned up by the TTL controller after it finishes.

Expand Down

0 comments on commit 43237f1

Please sign in to comment.