Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Aug 29, 2024
1 parent 550fa2f commit 1222fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/metrics/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ func (g Generator) RegisterMarkers(into *ctrlmarkers.Registry) error {
return nil
}

const headerText = `# Generated by controller-gen version %s
# Compatible to kube-state-metrics %s
const headerText = `---
# Generated by controller-gen version %s
# Generated based on types for kube-state-metrics %s
`

// Generate generates artifacts produced by this marker.
Expand Down
3 changes: 3 additions & 0 deletions pkg/metrics/testdata/metrics.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# Generated by controller-gen version (devel)
# Generated based on types for kube-state-metrics v2.13.0
---
kind: CustomResourceStateMetrics
spec:
resources:
Expand Down

0 comments on commit 1222fc8

Please sign in to comment.