Skip to content

Commit

Permalink
Add leading dashes to please controller-gen. (#1239)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Owsiany <marcin@owsiany.pl>
  • Loading branch information
porridge authored and kensipe committed Jan 7, 2020
1 parent 0aeb801 commit f5e963b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
2 changes: 2 additions & 0 deletions config/crds/kudo.dev_instances.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/kudo.dev_operators.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/kudo.dev_operatorversions.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/kudo.dev_teststeps.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
2 changes: 2 additions & 0 deletions config/crds/kudo.dev_testsuites.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
Expand Down
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/init_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func runtimeObjectAsBytes(o runtime.Object) ([]byte, error) {
if err != nil {
return nil, err
}
return bytes, nil
return append([]byte("\n---\n"), bytes...), nil
}

func TestIntegInitForCRDs(t *testing.T) {
Expand Down
10 changes: 5 additions & 5 deletions pkg/kudoctl/kudoinit/crd/bindata.go

Large diffs are not rendered by default.

0 comments on commit f5e963b

Please sign in to comment.