Skip to content

Commit 2fe27d0

Browse files
committed
Automatic update of nais application reference/example
liberator commit sha: b53c4ef776736b176bba8ff7034e2f88e2e0d785
1 parent 90ba21c commit 2fe27d0

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

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

+9-10
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,8 @@ Required: `false`<br />
260260
Permissions contains a set of permissions that are granted to the given application.
261261
Currently only applicable for Azure AD clients.
262262

263-
Relevant information:
264-
265-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#fine-grained-access-control](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#fine-grained-access-control)
263+
!!! failure "Deprecated"
264+
This feature is deprecated, preserved only for backwards compatibility.
266265

267266
Type: `object`<br />
268267
Required: `false`<br />
@@ -300,9 +299,8 @@ Required: `false`<br />
300299
###### accessPolicy.inbound.rules[].permissions.roles
301300
Roles is a set of custom permission roles that are granted to a given application.
302301

303-
Relevant information:
304-
305-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-roles](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-roles)
302+
!!! failure "Deprecated"
303+
This feature is deprecated, preserved only for backwards compatibility.
306304

307305
Type: `array`<br />
308306
Required: `false`<br />
@@ -340,9 +338,8 @@ Required: `false`<br />
340338
###### accessPolicy.inbound.rules[].permissions.scopes
341339
Scopes is a set of custom permission scopes that are granted to a given application.
342340

343-
Relevant information:
344-
345-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-scopes](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-scopes)
341+
!!! failure "Deprecated"
342+
This feature is deprecated, preserved only for backwards compatibility.
346343

347344
Type: `array`<br />
348345
Required: `false`<br />
@@ -611,7 +608,7 @@ Required: `false`<br />
611608
namespace: q3
612609
```
613610

614-
{%- if tenant() == "nav" %}
611+
{%- if tenant() in ("nav", "atil") %}
615612
## azure
616613
Provisions and configures Azure resources.
617614

@@ -754,6 +751,7 @@ Default value: `false`<br />
754751
enabled: true
755752
```
756753

754+
{%- if tenant() == "nav" %}
757755
#### azure.application.tenant
758756
Tenant targets a specific tenant for the Entra ID application.
759757
Only works in the development clusters. Only use this if you have a specific reason to do so.
@@ -776,6 +774,7 @@ Allowed values: `nav.no`, `trygdeetaten.no`<br />
776774
tenant: nav.no
777775
```
778776

777+
{%- endif %}
779778
### azure.sidecar
780779
Sidecar configures a sidecar that intercepts every HTTP request, and performs the OIDC flow if necessary.
781780
All requests to ingress + `/oauth2` will be processed only by the sidecar, whereas all other requests

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

+8-9
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ Required: `false`<br />
256256
Permissions contains a set of permissions that are granted to the given application.
257257
Currently only applicable for Azure AD clients.
258258

259-
Relevant information:
260-
261-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#fine-grained-access-control](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#fine-grained-access-control)
259+
!!! failure "Deprecated"
260+
This feature is deprecated, preserved only for backwards compatibility.
262261

263262
Type: `object`<br />
264263
Required: `false`<br />
@@ -296,9 +295,8 @@ Required: `false`<br />
296295
###### accessPolicy.inbound.rules[].permissions.roles
297296
Roles is a set of custom permission roles that are granted to a given application.
298297

299-
Relevant information:
300-
301-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-roles](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-roles)
298+
!!! failure "Deprecated"
299+
This feature is deprecated, preserved only for backwards compatibility.
302300

303301
Type: `array`<br />
304302
Required: `false`<br />
@@ -336,9 +334,8 @@ Required: `false`<br />
336334
###### accessPolicy.inbound.rules[].permissions.scopes
337335
Scopes is a set of custom permission scopes that are granted to a given application.
338336

339-
Relevant information:
340-
341-
* [https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-scopes](https://doc.<<tenant()>>.cloud.nais.io/security/auth/azure-ad/configuration#custom-scopes)
337+
!!! failure "Deprecated"
338+
This feature is deprecated, preserved only for backwards compatibility.
342339

343340
Type: `array`<br />
344341
Required: `false`<br />
@@ -723,6 +720,7 @@ Default value: `false`<br />
723720
enabled: true
724721
```
725722

723+
{%- if tenant() == "nav" %}
726724
#### azure.application.tenant
727725
Tenant targets a specific tenant for the Entra ID application.
728726
Only works in the development clusters. Only use this if you have a specific reason to do so.
@@ -737,6 +735,7 @@ Required: `false`<br />
737735
Immutable: `true`<br />
738736
Allowed values: `nav.no`, `trygdeetaten.no`<br />
739737

738+
{%- endif %}
740739
## backoffLimit
741740
Specify the number of retries before considering a Naisjob as failed
742741

0 commit comments

Comments
 (0)