Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3782732

Browse filesBrowse files
committed
Fix feature gate name conflicts (2/2)
1 parent 0a218ec commit 3782732
Copy full SHA for 3782732

File tree

10 files changed

+167
-0
lines changed
Filter options

10 files changed

+167
-0
lines changed

‎content/en/docs/concepts/overview/kubernetes-api.md

Copy file name to clipboardExpand all lines: content/en/docs/concepts/overview/kubernetes-api.md
+2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ checks).
201201

202202
### OpenAPI V3
203203

204+
{{< feature-state feature_gate_name="OpenAPIV3" >}}
205+
204206
Kubernetes supports publishing a description of its APIs as OpenAPI v3.
205207

206208
A discovery endpoint `/openapi/v3` is provided to see a list of all
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Accelerators
3+
content_type: feature_gate
4+
5+
_build:
6+
list: never
7+
render: false
8+
9+
stages:
10+
- stage: alpha
11+
defaultValue: false
12+
fromVersion: "1.6"
13+
toVersion: "1.10"
14+
- stage: deprecated
15+
fromVersion: "1.11"
16+
toVersion: "1.11"
17+
18+
removed: true
19+
---
20+
Provided an early form of plugin to enable Nvidia GPU support when using
21+
Docker Engine; no longer available. See
22+
[Device Plugins](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) for
23+
an alternative.
24+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: AppArmor
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: beta
10+
defaultValue: true
11+
fromVersion: "1.4"
12+
toVersion: "1.30"
13+
- stage: stable
14+
defaultValue: true
15+
fromVersion: "1.31"
16+
---
17+
Enable use of AppArmor mandatory access control for Pods running on Linux nodes.
18+
See [AppArmor Tutorial](/docs/tutorials/security/apparmor/) for more details.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Initializers
3+
content_type: feature_gate
4+
5+
_build:
6+
list: never
7+
render: false
8+
9+
stages:
10+
- stage: alpha
11+
defaultValue: false
12+
fromVersion: "1.7"
13+
toVersion: "1.13"
14+
- stage: deprecated
15+
fromVersion: "1.14"
16+
toVersion: "1.14"
17+
18+
removed: true
19+
---
20+
Allow asynchronous coordination of object creation using the
21+
Initializers admission plugin.
22+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: KMSv1
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: deprecated
10+
defaultValue: true
11+
fromVersion: "1.28"
12+
toVersion: "1.28"
13+
- stage: deprecated
14+
defaultValue: false
15+
fromVersion: "1.29"
16+
17+
---
18+
Enables KMS v1 API for encryption at rest. See
19+
[Using a KMS Provider for data encryption](/docs/tasks/administer-cluster/kms-provider)
20+
for more details.
21+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: KMSv2
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.25"
12+
toVersion: "1.26"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.27"
16+
toVersion: "1.28"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.29"
20+
toVersion: "1.31"
21+
22+
removed: true
23+
---
24+
Enables KMS v2 API for encryption at rest. See
25+
[Using a KMS Provider for data encryption](/docs/tasks/administer-cluster/kms-provider)
26+
for more details.
27+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: OpenAPIV3
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.23"
12+
toVersion: "1.23"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.24"
16+
toVersion: "1.26"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.27"
20+
toVersion: "1.28"
21+
removed: true
22+
---
23+
Enables the API server to publish OpenAPI v3.
24+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Sysctls
3+
content_type: feature_gate
4+
5+
_build:
6+
list: never
7+
render: false
8+
9+
stages:
10+
- stage: beta
11+
defaultValue: true
12+
fromVersion: "1.11"
13+
toVersion: "1.20"
14+
- stage: stable
15+
defaultValue: true
16+
fromVersion: "1.21"
17+
toVersion: "1.22"
18+
19+
removed: true
20+
---
21+
Enable support for namespaced kernel parameters (sysctls) that can be set for each pod.
22+
See [sysctls](/docs/tasks/administer-cluster/sysctl-cluster/) for more details.
23+

‎content/en/docs/tutorials/security/apparmor.md

Copy file name to clipboardExpand all lines: content/en/docs/tutorials/security/apparmor.md
+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ weight: 30
88

99
<!-- overview -->
1010

11+
{{< feature-state feature_gate_name="AppArmor" >}}
12+
1113
This page shows you how to load AppArmor profiles on your nodes and enforce
1214
those profiles in Pods. To learn more about how Kubernetes can confine Pods using
1315
AppArmor, see

‎layouts/shortcodes/feature-state.html

Copy file name to clipboardExpand all lines: layouts/shortcodes/feature-state.html
+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
{{- end -}}
4343
{{- end -}}
4444

45+
{{- if not $featureGateFound -}}
46+
{{- errorf "Invalid feature gate: '%s' is not recognized or lacks a matching description file in '%s'" $feature_gate_name (print "en" $featureGateDescriptionFilesPath) -}}
47+
{{- end -}}
48+
4549
{{- end -}}
4650
{{- end -}}
4751
{{ end }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.