Skip to content

Commit

Permalink
Create downstream-v3.1.0 (#245)
Browse files Browse the repository at this point in the history
* make downstream

* correctly rename files
  • Loading branch information
djnakabaale authored Dec 6, 2023
1 parent 5350ddf commit e3ab976
Show file tree
Hide file tree
Showing 136 changed files with 443 additions and 32,857 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ downstream: ## Generate the code changes necessary for the downstream image.
# clean up the other files
- git clean -fx
# mv the sample to the correctly named file
cp config/samples/koku-metrics-cfg_v1beta1_kokumetricsconfig.yaml config/samples/costmanagement-metrics-cfg_v1beta1_costmanagementmetricsconfig.yaml
- LC_ALL=C find api/v1beta1 config/* docs/* -type f -exec rename -f -- 's/$(UPSTREAM_UPPERCASE)/$(DOWNSTREAM_UPPERCASE)/g' {} +
- LC_ALL=C find api/v1beta1 config/* docs/* -type f -exec rename -f -- 's/$(UPSTREAM_LOWERCASE)/$(DOWNSTREAM_LOWERCASE)/g' {} +
$(MAKE) generate
$(MAKE) manifests

Expand Down
6 changes: 3 additions & 3 deletions api/v1beta1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// SPDX-License-Identifier: Apache-2.0
//

// Package v1beta1 contains API Schema definitions for the koku-metrics-cfg v1beta1 API group
// Package v1beta1 contains API Schema definitions for the costmanagement-metrics-cfg v1beta1 API group
// +kubebuilder:object:generate=true
// +groupName=koku-metrics-cfg.openshift.io
// +groupName=costmanagement-metrics-cfg.openshift.io
package v1beta1

import (
Expand All @@ -17,7 +17,7 @@ import (

var (
// NamePrefix is the prefix used to distinguish upstream and downstream operators
NamePrefix = "koku"
NamePrefix = "costmanagement"

// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: fmt.Sprintf("%s-metrics-cfg.openshift.io", NamePrefix), Version: "v1beta1"}
Expand Down
196 changes: 98 additions & 98 deletions api/v1beta1/metricsconfig_types.go

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions api/v1beta1/zz_generated.deepcopy.go

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

Loading

0 comments on commit e3ab976

Please sign in to comment.