Skip to content

Commit 7421ede

Browse files
Automatic update of nais application reference/example
liberator commit sha: 9e416289690fae2b56c5be62cfbf0aa3388ee334
1 parent 072154e commit 7421ede

File tree

4 files changed

+105
-1
lines changed

4 files changed

+105
-1
lines changed

docs/workloads/application/reference/application-example.md

+3
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ spec:
320320
tokenx:
321321
enabled: true
322322
ttl: 1h
323+
valkey:
324+
- access: readwrite
325+
instance: cache
323326
vault:
324327
enabled: true
325328
paths:

docs/workloads/application/reference/application-spec.md

+51-1
Original file line numberDiff line numberDiff line change
@@ -5442,12 +5442,14 @@ Value range: `1`-`65535`<br />
54425442
```
54435443

54445444
### service.protocol
5445+
At some point below valkey will start talking valkey protocol, they are
5446+
currently the same.
54455447
Which protocol the backend service runs on. Default is `http`.
54465448

54475449
Type: `enum`<br />
54485450
Required: `false`<br />
54495451
Default value: `http`<br />
5450-
Allowed values: `grpc`, `http`, `redis`, `tcp`<br />
5452+
Allowed values: `grpc`, `http`, `redis`, `tcp`, `valkey`<br />
54515453

54525454
??? example
54535455
``` yaml
@@ -5723,6 +5725,54 @@ Required: `false`<br />
57235725
ttl: 1h
57245726
```
57255727

5728+
## valkey
5729+
List of Valkey instances this application needs credentials for.
5730+
Must be owned by same team.
5731+
5732+
Relevant information:
5733+
5734+
* [https://doc.nais.io/persistence/valkey/](https://doc.nais.io/persistence/valkey/)
5735+
5736+
Type: `array`<br />
5737+
Required: `false`<br />
5738+
5739+
??? example
5740+
``` yaml
5741+
spec:
5742+
valkey:
5743+
- access: readwrite
5744+
instance: cache
5745+
```
5746+
5747+
### valkey[].access
5748+
Access level for Valkey user
5749+
5750+
Type: `enum`<br />
5751+
Required: `false`<br />
5752+
Allowed values: `admin`, `read`, `readwrite`, `write`<br />
5753+
5754+
??? example
5755+
``` yaml
5756+
spec:
5757+
valkey:
5758+
- access: readwrite
5759+
instance: cache
5760+
```
5761+
5762+
### valkey[].instance
5763+
The last part of the name used when creating the instance (ie. valkey-{team}-{instance})
5764+
5765+
Type: `string`<br />
5766+
Required: `false`<br />
5767+
5768+
??? example
5769+
``` yaml
5770+
spec:
5771+
valkey:
5772+
- access: readwrite
5773+
instance: cache
5774+
```
5775+
57265776
## vault
57275777
Provides secrets management, identity-based access, and encrypting application data for auditing of secrets
57285778
for applications, systems, and users.

docs/workloads/job/reference/naisjob-example.md

+3
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ spec:
248248
terminationGracePeriodSeconds: 60
249249
timeZone: Europe/Oslo
250250
ttlSecondsAfterFinished: 60
251+
valkey:
252+
- access: readwrite
253+
instance: cache
251254
vault:
252255
enabled: true
253256
paths:

docs/workloads/job/reference/naisjob-spec.md

+48
Original file line numberDiff line numberDiff line change
@@ -4640,6 +4640,54 @@ Required: `false`<br />
46404640
ttlSecondsAfterFinished: 60
46414641
```
46424642

4643+
## valkey
4644+
List of Valkey instances this job needs credentials for.
4645+
Must be owned by same team.
4646+
4647+
Relevant information:
4648+
4649+
* [https://doc.nais.io/persistence/valkey/](https://doc.nais.io/persistence/valkey/)
4650+
4651+
Type: `array`<br />
4652+
Required: `false`<br />
4653+
4654+
??? example
4655+
``` yaml
4656+
spec:
4657+
valkey:
4658+
- access: readwrite
4659+
instance: cache
4660+
```
4661+
4662+
### valkey[].access
4663+
Access level for Valkey user
4664+
4665+
Type: `enum`<br />
4666+
Required: `false`<br />
4667+
Allowed values: `admin`, `read`, `readwrite`, `write`<br />
4668+
4669+
??? example
4670+
``` yaml
4671+
spec:
4672+
valkey:
4673+
- access: readwrite
4674+
instance: cache
4675+
```
4676+
4677+
### valkey[].instance
4678+
The last part of the name used when creating the instance (ie. valkey-{team}-{instance})
4679+
4680+
Type: `string`<br />
4681+
Required: `false`<br />
4682+
4683+
??? example
4684+
``` yaml
4685+
spec:
4686+
valkey:
4687+
- access: readwrite
4688+
instance: cache
4689+
```
4690+
46434691
## vault
46444692
Provides secrets management, identity-based access, and encrypting application data for auditing of secrets
46454693
for applications, systems, and users.

0 commit comments

Comments
 (0)