Skip to content

Commit 91ef1b9

Browse files
committed
Automatic update of nais application reference/example
liberator commit sha: fd83cd2286619ef5a1ca58c617d00c5b7fecfb32
1 parent 9493106 commit 91ef1b9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,8 @@ Required: `false`<br />
988988

989989
## env
990990
Custom environment variables injected into your container.
991+
It is possible to use [Kubernetes Dependent Environment Variables](https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/), which allows you to use the value of one environment variable in another.
992+
Environment variables set by the platform are defined before the application variables, and can be referenced/overwritten in the application variables.
991993
Specify either `value` or `valueFrom`, but not both.
992994

993995
Type: `array`<br />
@@ -5843,6 +5845,10 @@ Inject on-premises web proxy configuration into the application pod.
58435845
Most Linux applications should auto-detect these settings from the `$HTTP_PROXY`, `$HTTPS_PROXY` and `$NO_PROXY` environment variables (and their lowercase counterparts).
58445846
Java applications can start the JVM using parameters from the `$JAVA_PROXY_OPTIONS` environment variable.
58455847

5848+
Relevant information:
5849+
5850+
* [https://doc.<<tenant()>>.cloud.nais.io/workloads/reference/webproxy/](https://doc.<<tenant()>>.cloud.nais.io/workloads/reference/webproxy/)
5851+
58465852
Type: `boolean`<br />
58475853
Required: `false`<br />
58485854
Availability: on-premises<br />

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ Allowed values: `Allow`, `Forbid`, `Replace`<br />
794794

795795
## env
796796
Custom environment variables injected into your container.
797+
It is possible to use [Kubernetes Dependent Environment Variables](https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/), which allows you to use the value of one environment variable in another.
798+
Environment variables set by the platform are defined before the application variables, and can be referenced/overwritten in the application variables.
797799
Specify either `value` or `valueFrom`, but not both.
798800

799801
Type: `array`<br />
@@ -4760,11 +4762,16 @@ Required: `true`<br />
47604762
mountPath: /var/run/secrets/nais.io/vault
47614763
```
47624764

4765+
{%- if tenant() == "nav" %}
47634766
## webproxy
47644767
Inject on-premises web proxy configuration into the job container.
47654768
Most Linux applications should auto-detect these settings from the `$HTTP_PROXY`, `$HTTPS_PROXY` and `$NO_PROXY` environment variables (and their lowercase counterparts).
47664769
Java applications can start the JVM using parameters from the `$JAVA_PROXY_OPTIONS` environment variable.
47674770

4771+
Relevant information:
4772+
4773+
* [https://doc.<<tenant()>>.cloud.nais.io/workloads/reference/webproxy/](https://doc.<<tenant()>>.cloud.nais.io/workloads/reference/webproxy/)
4774+
47684775
Type: `boolean`<br />
47694776
Required: `false`<br />
47704777
Availability: on-premises<br />
@@ -4775,3 +4782,4 @@ Availability: on-premises<br />
47754782
webproxy: true
47764783
```
47774784

4785+
{%- endif %}

0 commit comments

Comments
 (0)