mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Merge pull request #66602 from dixudx/kubectl_apply_force_invalid
Automatic merge from submit-queue (batch tested with PRs 66602, 67178, 67207, 67125, 66332). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kubectl: recreating resources for immutable fields when force is applied **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #66390 **Special notes for your reviewer**: /assign soltysh juanvallejo /cc @kubernetes/sig-cli-bugs **Release note**: ```release-note kubectl: recreating resources for immutable fields when force is applied ```
This commit is contained in:
10
hack/testdata/service-revision1.yaml
vendored
Normal file
10
hack/testdata/service-revision1.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: a
|
||||
spec:
|
||||
selector:
|
||||
app: test
|
||||
clusterIP: None
|
||||
ports:
|
||||
- port: 80
|
10
hack/testdata/service-revision2.yaml
vendored
Normal file
10
hack/testdata/service-revision2.yaml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: a
|
||||
spec:
|
||||
selector:
|
||||
app: test
|
||||
clusterIP: 10.0.0.12
|
||||
ports:
|
||||
- port: 80
|
Reference in New Issue
Block a user