Skip to content

Commit 91cd000

Browse files
aramaseyuanwang04
authored andcommitted
Add docs for Structured Authn GA
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
1 parent e709503 commit 91cd000

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

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

Lines changed: 5 additions & 5 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:
@@ -574,7 +574,7 @@ jwt:
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:
@@ -1095,7 +1095,7 @@ A sample authentication configuration file is below:
10951095
# CAUTION: this is an example configuration.
10961096
# Do not use this for your own cluster!
10971097
#
1098-
apiVersion: apiserver.config.k8s.io/v1beta1
1098+
apiVersion: apiserver.config.k8s.io/v1
10991099
kind: AuthenticationConfiguration
11001100
anonymous:
11011101
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)