Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove enable preview policies flag from docs #5891

Merged
merged 5 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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