Skip to content

Commit

Permalink
Revert CRD status exception and remove status from Seldon CRD (kubefl…
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox authored Jul 16, 2020
1 parent ac14931 commit 430b4d0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 23 deletions.
6 changes: 0 additions & 6 deletions seldon/seldon-core-operator/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4238,12 +4238,6 @@ spec:
- name: v1alpha3
served: true
storage: false
status:
acceptedNames:
kind: ''
plural: ''
conditions: []
storedVersions: []
---
# Source: seldon-core-operator/templates/clusterrole_seldon-manager-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6920,9 +6920,3 @@ spec:
- name: v1alpha3
served: true
storage: false
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -6922,9 +6922,3 @@ spec:
- name: v1alpha3
served: true
storage: false
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
5 changes: 0 additions & 5 deletions tests/validate_resources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,6 @@ func TestValidK8sResources(t *testing.T) {
t.Errorf("Path %v; resource %v; has version and kind %v which should be changed to %v", path, m.Name, vAndK, v)
}

//Skip Custom resource Definitions as they can have a status field
if m.Kind == "CustomResourceDefinition" {
continue
}

// Ensure status isn't set
f := n.Field("status")

Expand Down

0 comments on commit 430b4d0

Please sign in to comment.