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: fa8f04fc4e8f4c335e46eb76c8252df5f077c6e2
  • Loading branch information
Reasonable-Solutions committed Nov 12, 2024
1 parent 048b171 commit 251bf56
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/workloads/application/reference/application-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ spec:
periodSeconds: 5
port: 8080
timeout: 1
redirects:
- from: https://myapplication-old.nav.no
to: https://myapplication.nav.no
redis:
- access: readwrite
instance: cache
Expand Down
40 changes: 40 additions & 0 deletions docs/workloads/application/reference/application-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -4936,6 +4936,46 @@ Required: `false`<br />
timeout: 1
```

## redirects
List of ingress redirects

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

??? example
``` yaml
spec:
redirects:
- from: https://myapplication-old.nav.no
to: https://myapplication.nav.no
```

### redirects[].from
Type: `string`<br />
Required: `true`<br />
Pattern: `^https:\/\/.+$`<br />

??? example
``` yaml
spec:
redirects:
- from: https://myapplication-old.nav.no
to: https://myapplication.nav.no
```

### redirects[].to
Type: `string`<br />
Required: `true`<br />
Pattern: `^https:\/\/.+$`<br />

??? example
``` yaml
spec:
redirects:
- from: https://myapplication-old.nav.no
to: https://myapplication.nav.no
```

## redis
List of redis instances this job needs credentials for.
Must be owned by same team.
Expand Down

0 comments on commit 251bf56

Please sign in to comment.