Skip to content

Commit

Permalink
Added project name to the PROJECT config file (#172)
Browse files Browse the repository at this point in the history
Added project name to the PROJECT config file

projectName field is needed for operator-sdk to deduct the metadata name for the
project. When the bundle command reads input files from the stdin and no --project
argument is provided, and projectName is absent the generated metadata name has
invalid pattern: '.v0.18.0'.
This commit adds the projectName field so metadata.name is correctly generated.

Fixes #37
  • Loading branch information
mneverov authored Jan 25, 2021
1 parent 2d4486e commit a1c6f8a
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 37 deletions.
1 change: 1 addition & 0 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
projectName: opentelemetry-operator
domain: opentelemetry.io
layout: go.kubebuilder.io/v2
repo: github.com/open-telemetry/opentelemetry-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
operators.operatorframework.io/project_layout: go
repository: github.com/open-telemetry/opentelemetry-operator
support: OpenTelemetry Community
name: opentelemetry-operator.vX.Y.Z
name: opentelemetry-operator.v0.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down
Loading

0 comments on commit a1c6f8a

Please sign in to comment.