Merge pull request #77267 from liggitt/kubectl-set-local-namespace

Preserve existing namespace when using kubectl set --local
This commit is contained in:
Kubernetes Prow Robot
2019-04-30 16:11:21 -07:00
committed by GitHub
3 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: namespaced-rc
namespace: existing-ns
spec:
replicas: 1
selector:
app: mock
template:
metadata:
labels:
app: mock
spec:
containers:
- name: mock-container
image: k8s.gcr.io/pause:3.1