Azure / azure-databricks-operator

Kubernetes Operator for Databricks
MIT License
113 stars 48 forks source link

Files scaffolded by kubebuilder carry the wrong project license #146

Open martinpeck opened 4 years ago

martinpeck commented 4 years ago

The issue is that the main project carries an MIT license, but the kubebuilder generated files carry the Apache license.

I suspect that this is because kubebuilder init without the --license none flag set.

Fix is to:

  1. update hack/boilderplate.go.txt so that it carries the correct license for any future files that are created using kubebuilder create
  2. go update all of the files that have already been generated.
martinpeck commented 4 years ago

ignore me - raised in error

martinpeck commented 4 years ago

Reopening as this is an issue. Sorry for the bug-churn (it's been a long day)

Example of issue is this file...

https://github.com/microsoft/azure-databricks-operator/blob/master/api/v1alpha1/dbfsblock_types.go

... which carries Apache license

martinpeck commented 4 years ago

You may also want to fix the case of microsoft in the copyright notice too

martinpeck commented 4 years ago

if you want a PR for this, let me know (happy to help)