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.
repository_credential resource added
- Loading branch information
1 parent
472f83d
commit d78e16b
Showing
3 changed files
with
15 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
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,12 @@ | ||
package repository_credential | ||
|
||
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_repository_credential", func(r *config.Resource) { | ||
r.ShortGroup = "tmc" | ||
r.Kind = "Repository_Credential" | ||
r.Version = "v1alpha1" | ||
}) | ||
} |