Skip to content

Commit

Permalink
Remove non-existing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Nov 6, 2019
1 parent 77684ba commit 8a4779a
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 35 deletions.
1 change: 0 additions & 1 deletion examples/hello-openshift/hello-pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
],
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down
3 changes: 1 addition & 2 deletions examples/jenkins/jenkins-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"spec": {
"containers": [
{
"capabilities": {},
"env": [
{
"name": "OPENSHIFT_ENABLE_OAUTH",
Expand Down Expand Up @@ -294,4 +293,4 @@
"value": "jenkins:2"
}
]
}
}
2 changes: 1 addition & 1 deletion test/extended/builds/valuefrom.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var _ = g.Describe("[Feature:Builds][Conformance][valueFrom] process valueFrom i
o.Expect(err).NotTo(o.HaveOccurred())

g.By("creating test image stream")
err = oc.Run("create").Args("-f", testImageStreamFixture).Execute()
err = oc.Run("create").Args("-f", testImageStreamFixture, "--validate=false").Execute()
o.Expect(err).NotTo(o.HaveOccurred())

g.By("creating test secret")
Expand Down
23 changes: 6 additions & 17 deletions test/extended/testdata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
],
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"spec": {
"containers": [
{
"capabilities": {},
"env": [
{
"name": "OPENSHIFT_ENABLE_OAUTH",
Expand Down Expand Up @@ -294,4 +293,4 @@
"value": "jenkins:2"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down Expand Up @@ -199,7 +198,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down Expand Up @@ -259,7 +257,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down Expand Up @@ -302,4 +299,4 @@
"value": "redis-slave"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"kind": "DockerImage",
"apiVersion": "1.0",
"Id": "",
"Created": null,
"ContainerConfig": {},
"Config": {}
},
Expand Down
1 change: 0 additions & 1 deletion test/extended/testdata/image/test-image.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"kind": "DockerImage",
"apiVersion": "1.0",
"Id": "",
"Created": null,
"ContainerConfig": {},
"Config": {}
},
Expand Down
1 change: 0 additions & 1 deletion test/extended/testdata/oauthserver/oauth-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ spec:
selector:
app: test-oauth-server
type: ClusterIP
serviceAffinitiy: None
---

apiVersion: route.openshift.io/v1
Expand Down
3 changes: 0 additions & 3 deletions test/extended/testdata/templates/guestbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down Expand Up @@ -199,7 +198,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down Expand Up @@ -259,7 +257,6 @@
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent",
"capabilities": {},
"securityContext": {
"capabilities": {},
"privileged": false
Expand Down
1 change: 0 additions & 1 deletion test/integration/testdata/test-image.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"kind": "DockerImage",
"apiVersion": "1.0",
"Id": "",
"Created": null,
"ContainerConfig": {},
"Config": {}
},
Expand Down

0 comments on commit 8a4779a

Please sign in to comment.