Skip to content

Commit

Permalink
Add CRD Validation (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Apr 1, 2018
1 parent f3dac60 commit 79b072c
Show file tree
Hide file tree
Showing 13 changed files with 433 additions and 563 deletions.
2 changes: 0 additions & 2 deletions apis/voyager/v1beta1/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ func (r Ingress) CustomResourceDefinition() *apiextensions.CustomResourceDefinit
Plural: ResourcePluralIngress,
Singular: ResourceSingularIngress,
Kind: ResourceKindIngress,
ListKind: ResourceKindIngress + "List",
ShortNames: []string{"ing"},
ResourceScope: string(apiextensions.NamespaceScoped),
Labels: crdutils.Labels{
Expand All @@ -31,7 +30,6 @@ func (c Certificate) CustomResourceDefinition() *apiextensions.CustomResourceDef
Plural: ResourcePluralCertificate,
Singular: ResourceSingularCertificate,
Kind: ResourceKindCertificate,
ListKind: ResourceKindCertificate + "List",
ShortNames: []string{"cert"},
ResourceScope: string(apiextensions.NamespaceScoped),
Labels: crdutils.Labels{
Expand Down
2 changes: 0 additions & 2 deletions apis/voyager/v1beta1/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
group: voyager.appscode.com
names:
kind: Ingress
listKind: IngressList
plural: ingresses
shortNames:
- ing
Expand Down Expand Up @@ -376,7 +375,6 @@ spec:
group: voyager.appscode.com
names:
kind: Certificate
listKind: CertificateList
plural: certificates
shortNames:
- cert
Expand Down
8 changes: 4 additions & 4 deletions glide.lock

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

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

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

51 changes: 41 additions & 10 deletions vendor/github.com/pkg/errors/stack.go

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

2 changes: 1 addition & 1 deletion vendor/gopkg.in/ini.v1/LICENSE

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

Loading

0 comments on commit 79b072c

Please # to comment.