Skip to content

Commit

Permalink
Remove enable preview policies flag from docs (#5891)
Browse files Browse the repository at this point in the history
* remove flag from docs

* remove preview policy status from types.go, fix cmdoption removal from docs

* generate crds
  • Loading branch information
Jim Ryan authored Jul 2, 2024
1 parent 0e9ac15 commit 4ab76e7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
4 changes: 1 addition & 3 deletions config/crd/bases/k8s.nginx.org_policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ spec:
type: object
type: object
basicAuth:
description: |-
BasicAuth holds HTTP Basic authentication configuration
policy status: preview
description: BasicAuth holds HTTP Basic authentication configuration
properties:
realm:
type: string
Expand Down
4 changes: 1 addition & 3 deletions deploy/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,7 @@ spec:
type: object
type: object
basicAuth:
description: |-
BasicAuth holds HTTP Basic authentication configuration
policy status: preview
description: BasicAuth holds HTTP Basic authentication configuration
properties:
realm:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ Enables custom resources.

Default `true`.

<a name="cmdoption-enable-preview-policies"></a>

---

### -enable-preview-policies

Enables preview policies. This flag is deprecated. To enable OIDC Policies please use [-enable-oidc](#cmdoption-enable-oidc) instead.

Default `false`.

<a name="cmdoption-enable-oidc"></a>

Expand Down
1 change: 0 additions & 1 deletion pkg/apis/configuration/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ type JWTAuth struct {
}

// BasicAuth holds HTTP Basic authentication configuration
// policy status: preview
type BasicAuth struct {
Realm string `json:"realm"`
Secret string `json:"secret"`
Expand Down

0 comments on commit 4ab76e7

Please sign in to comment.