From 85a2f92f5b58d8fd6eef7ae8b0d1c816be500c21 Mon Sep 17 00:00:00 2001 From: Lee Verberne Date: Sun, 22 Jul 2018 17:23:42 +0200 Subject: [PATCH] Promote ShareProcessNamespace to beta --- pkg/apis/core/types.go | 2 +- pkg/features/kube_features.go | 4 ++-- staging/src/k8s.io/api/core/v1/types.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/apis/core/types.go b/pkg/apis/core/types.go index 25b9ddca9d3..0918c72ae97 100644 --- a/pkg/apis/core/types.go +++ b/pkg/apis/core/types.go @@ -2613,7 +2613,7 @@ type PodSecurityContext struct { // in the same pod, and the first process in each container will not be assigned PID 1. // HostPID and ShareProcessNamespace cannot both be set. // Optional: Default to false. - // This field is alpha-level and is honored only by servers that enable the PodShareProcessNamespace feature. + // This field is beta-level and may be disabled with the PodShareProcessNamespace feature. // +k8s:conversion-gen=false // +optional ShareProcessNamespace *bool diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index 278d39082e5..e7ab719aedf 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -111,7 +111,7 @@ const ( DebugContainers utilfeature.Feature = "DebugContainers" // owner: @verb - // alpha: v1.10 + // beta: v1.12 // // Allows all containers in a pod to share a process namespace. PodShareProcessNamespace utilfeature.Feature = "PodShareProcessNamespace" @@ -366,7 +366,7 @@ var defaultKubernetesFeatureGates = map[utilfeature.Feature]utilfeature.FeatureS HugePages: {Default: true, PreRelease: utilfeature.Beta}, Sysctls: {Default: true, PreRelease: utilfeature.Beta}, DebugContainers: {Default: false, PreRelease: utilfeature.Alpha}, - PodShareProcessNamespace: {Default: false, PreRelease: utilfeature.Alpha}, + PodShareProcessNamespace: {Default: true, PreRelease: utilfeature.Beta}, PodPriority: {Default: true, PreRelease: utilfeature.Beta}, EnableEquivalenceClassCache: {Default: false, PreRelease: utilfeature.Alpha}, TaintNodesByCondition: {Default: false, PreRelease: utilfeature.Alpha}, diff --git a/staging/src/k8s.io/api/core/v1/types.go b/staging/src/k8s.io/api/core/v1/types.go index c8777260992..c2204e0151a 100644 --- a/staging/src/k8s.io/api/core/v1/types.go +++ b/staging/src/k8s.io/api/core/v1/types.go @@ -2798,7 +2798,7 @@ type PodSpec struct { // in the same pod, and the first process in each container will not be assigned PID 1. // HostPID and ShareProcessNamespace cannot both be set. // Optional: Default to false. - // This field is alpha-level and is honored only by servers that enable the PodShareProcessNamespace feature. + // This field is beta-level and may be disabled with the PodShareProcessNamespace feature. // +k8s:conversion-gen=false // +optional ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" protobuf:"varint,27,opt,name=shareProcessNamespace"`