Skip to content

Commit c4e3177

Browse files
committed
Add feature gate metadata for structured authz config
Signed-off-by: Anish Ramasekar <[email protected]>
1 parent 3b6274d commit c4e3177

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ so an earlier module has higher priority to allow or deny a request.
211211

212212
## Configuring the API Server using an Authorization Config File
213213

214-
{{< feature-state state="beta" for_k8s_version="v1.30" >}}
214+
{{< feature-state feature_gate_name="StructuredAuthorizationConfiguration" >}}
215215

216216
The Kubernetes API server's authorizer chain can be configured using a
217217
configuration file.
@@ -220,7 +220,7 @@ This feature enables the creation of authorization chains with multiple webhooks
220220

221221
You must specify the path to the authorization configuration using the `--authorization-config`command line argument. If you want to keep using command line flags instead of a configuration file, those will continue to work as-is. To gain access to new authorization webhook capabilities like multiple webhooks, failure policy, and pre-filter rules, switch to putting options in an `--authorization-config` file.
222222

223-
Starting Kubernetes 1.30, the configuration file format is
223+
Starting Kubernetes v{{< skew currentVersion >}}, the configuration file format is
224224
beta-level, and only requires specifying `--authorization-config` since the `StructuredAuthorizationConfiguration` feature gate is enabled by default.
225225

226226
{{< caution >}}

content/en/docs/reference/command-line-tools-reference/feature-gates/structured-authorization-configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.29"
12+
toVersion: "1.29"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.30"
1216
---
1317
Enable structured authorization configuration, so that cluster administrators
1418
can specify more than one [authorization webhook](/docs/reference/access-authn-authz/webhook/)

0 commit comments

Comments
 (0)