generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d2e7fb
commit 6e14a6a
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package kustomization | ||
|
||
import "github.com/upbound/upjet/pkg/config" | ||
|
||
// Configure configures individual resources by adding custom ResourceConfigurators. | ||
func Configure(p *config.Provider) { | ||
p.AddResourceConfigurator("tanzu-mission-control_kustomization", func(r *config.Resource) { | ||
r.ShortGroup = "tmc" | ||
r.Kind = "Kustomization" | ||
r.Version = "v1alpha1" | ||
} | ||
Check failure on line 11 in config/kustomization/config.go GitHub Actions / unit-tests
Check failure on line 11 in config/kustomization/config.go GitHub Actions / publish-artifacts
Check failure on line 11 in config/kustomization/config.go GitHub Actions / publish-artifacts
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters