Skip to content

Commit 81beed7

Browse files
authored
Merge pull request #51290 from aramase/aramase/d/kep_3331_stable
Add docs for Structured Authn GA
2 parents 9a05082 + 05d999b commit 81beed7

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

content/en/docs/reference/access-authn-authz/authentication.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ command line arguments, and use the configuration file instead.
380380
# CAUTION: this is an example configuration.
381381
# Do not use this for your own cluster!
382382
#
383-
apiVersion: apiserver.config.k8s.io/v1beta1
383+
apiVersion: apiserver.config.k8s.io/v1
384384
kind: AuthenticationConfiguration
385385
# list of authenticators to authenticate Kubernetes users using JWT compliant tokens.
386386
# the maximum number of allowed authenticators is 64.
@@ -513,7 +513,7 @@ jwt:
513513
{{< tabs name="example_configuration" >}}
514514
{{% tab name="Valid token" %}}
515515
```yaml
516-
apiVersion: apiserver.config.k8s.io/v1beta1
516+
apiVersion: apiserver.config.k8s.io/v1
517517
kind: AuthenticationConfiguration
518518
jwt:
519519
- issuer:
@@ -567,14 +567,14 @@ jwt:
567567
"admin"
568568
],
569569
"extra": {
570-
"example.com/tenant": "72f988bf-86f1-41af-91ab-2d7cd011db4a"
570+
"example.com/tenant": ["72f988bf-86f1-41af-91ab-2d7cd011db4a"]
571571
}
572572
}
573573
```
574574
{{% /tab %}}
575575
{{% tab name="Fails claim validation" %}}
576576
```yaml
577-
apiVersion: apiserver.config.k8s.io/v1beta1
577+
apiVersion: apiserver.config.k8s.io/v1
578578
kind: AuthenticationConfiguration
579579
jwt:
580580
- issuer:
@@ -625,7 +625,7 @@ jwt:
625625
{{% /tab %}}
626626
{{% tab name="Fails user validation" %}}
627627
```yaml
628-
apiVersion: apiserver.config.k8s.io/v1beta1
628+
apiVersion: apiserver.config.k8s.io/v1
629629
kind: AuthenticationConfiguration
630630
jwt:
631631
- issuer:
@@ -683,7 +683,7 @@ jwt:
683683
"admin"
684684
],
685685
"extra": {
686-
"example.com/tenant": "72f988bf-86f1-41af-91ab-2d7cd011db4a"
686+
"example.com/tenant": ["72f988bf-86f1-41af-91ab-2d7cd011db4a"]
687687
}
688688
}
689689
```
@@ -1108,7 +1108,7 @@ A sample authentication configuration file is below:
11081108
# CAUTION: this is an example configuration.
11091109
# Do not use this for your own cluster!
11101110
#
1111-
apiVersion: apiserver.config.k8s.io/v1beta1
1111+
apiVersion: apiserver.config.k8s.io/v1
11121112
kind: AuthenticationConfiguration
11131113
anonymous:
11141114
enabled: true

content/en/docs/reference/command-line-tools-reference/feature-gates/StructuredAuthenticationConfiguration.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ _build:
66
render: false
77

88
stages:
9-
- stage: alpha
9+
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.29"
1212
toVersion: "1.29"
1313
- stage: beta
1414
defaultValue: true
15-
fromVersion: "1.30"
15+
fromVersion: "1.30"
16+
toVersion: "1.33"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.34"
1620
---
17-
Enable [structured authentication configuration](/docs/reference/access-authn-authz/authentication/#configuring-the-api-server)
21+
Enable [structured authentication configuration](/docs/reference/access-authn-authz/authentication/#configuring-the-api-server)
1822
for the API server.

0 commit comments

Comments
 (0)