Bumping k8s dependencies to 1.13
This commit is contained in:
@@ -6,7 +6,7 @@ args:
|
||||
outputFormat: yaml
|
||||
namespace: myproject
|
||||
expectedStdout:
|
||||
- service/svc1 edited
|
||||
- 'targetPort: 92'
|
||||
expectedExitCode: 0
|
||||
steps:
|
||||
- type: request
|
||||
|
@@ -8,7 +8,6 @@
|
||||
},
|
||||
"name": "svc1",
|
||||
"namespace": "edit-test",
|
||||
"resourceVersion": "",
|
||||
"selfLink": "/api/v1/namespaces/edit-test/services/svc1",
|
||||
"uid": "4149f70e-e9dc-11e6-8c3b-acbc32c1ca87"
|
||||
},
|
||||
|
@@ -8,7 +8,6 @@
|
||||
},
|
||||
"name": "svc2",
|
||||
"namespace": "edit-test",
|
||||
"resourceVersion": "",
|
||||
"selfLink": "/api/v1/namespaces/edit-test/services/svc2",
|
||||
"uid": "3e9b10db-e9dc-11e6-8c3b-acbc32c1ca87"
|
||||
},
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "v1",
|
||||
"metadata": {},
|
||||
"status": "Failure",
|
||||
"message": "Service \"svc2\" is invalid: [spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP, spec.clusterIP: Invalid value: \"10.0.0.182.1\": must be empty, 'None', or a valid IP address]",
|
||||
"message": "Service \"svc2\" is invalid: [spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP, spec.clusterIP: Invalid value: \"10.0.0.182.1\": must be empty, 'None', or a valid IP address]",
|
||||
"reason": "Invalid",
|
||||
"details": {
|
||||
"name": "svc2",
|
||||
@@ -11,7 +11,7 @@
|
||||
"causes": [
|
||||
{
|
||||
"reason": "FieldValueNotSupported",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
|
||||
"field": "spec.ports[0].protocol"
|
||||
},
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "v1",
|
||||
"metadata": {},
|
||||
"status": "Failure",
|
||||
"message": "Service \"svc1\" is invalid: [spec.clusterIP: Invalid value: \"10.0.0.10\": field is immutable, spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP]",
|
||||
"message": "Service \"svc1\" is invalid: [spec.clusterIP: Invalid value: \"10.0.0.10\": field is immutable, spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP]",
|
||||
"reason": "Invalid",
|
||||
"details": {
|
||||
"name": "svc1",
|
||||
@@ -16,7 +16,7 @@
|
||||
},
|
||||
{
|
||||
"reason": "FieldValueNotSupported",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
|
||||
"field": "spec.ports[0].protocol"
|
||||
}
|
||||
]
|
||||
|
2
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/edit/testcase-list-errors/5.edited
generated
vendored
2
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/edit/testcase-list-errors/5.edited
generated
vendored
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# services "svc1" was not valid:
|
||||
# * spec.clusterIP: Invalid value: "10.0.0.10": field is immutable
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
|
||||
#
|
||||
apiVersion: v1
|
||||
items:
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# services "svc1" was not valid:
|
||||
# * spec.clusterIP: Invalid value: "10.0.0.10": field is immutable
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
|
||||
#
|
||||
apiVersion: v1
|
||||
items:
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "v1",
|
||||
"metadata": {},
|
||||
"status": "Failure",
|
||||
"message": "Service \"svc1\" is invalid: spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP",
|
||||
"message": "Service \"svc1\" is invalid: spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
|
||||
"reason": "Invalid",
|
||||
"details": {
|
||||
"name": "svc1",
|
||||
@@ -11,7 +11,7 @@
|
||||
"causes": [
|
||||
{
|
||||
"reason": "FieldValueNotSupported",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP",
|
||||
"message": "Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
|
||||
"field": "spec.ports[0].protocol"
|
||||
}
|
||||
]
|
||||
|
2
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/edit/testcase-list-errors/8.edited
generated
vendored
2
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/edit/testcase-list-errors/8.edited
generated
vendored
@@ -3,7 +3,7 @@
|
||||
# reopened with the relevant failures.
|
||||
#
|
||||
# services "svc1" was not valid:
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
|
||||
#
|
||||
apiVersion: v1
|
||||
items:
|
||||
|
@@ -3,7 +3,7 @@
|
||||
# reopened with the relevant failures.
|
||||
#
|
||||
# services "svc1" was not valid:
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP
|
||||
# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
|
||||
#
|
||||
apiVersion: v1
|
||||
items:
|
||||
|
@@ -2,8 +2,7 @@
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"label2": "value2"
|
||||
},
|
||||
"namespace": ""
|
||||
}
|
||||
},
|
||||
"unknownClientField": {
|
||||
"clientdata": true
|
||||
|
@@ -5,7 +5,6 @@
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"label2": "value2"
|
||||
},
|
||||
"namespace": ""
|
||||
}
|
||||
}
|
||||
}
|
3
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/plugin/kubectl-foo
generated
vendored
Executable file
3
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/plugin/kubectl-foo
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "I am plugin foo"
|
4
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/plugin/kubectl-version
generated
vendored
Executable file
4
vendor/k8s.io/kubernetes/pkg/kubectl/cmd/testdata/plugin/kubectl-version
generated
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This plugin is a no-op and is used to test plugins
|
||||
# that overshadow existing kubectl commands
|
Reference in New Issue
Block a user