Skip to content

Commit

Permalink
Merge pull request #1 from xchen8421/diff-1
Browse files Browse the repository at this point in the history
diff-1
  • Loading branch information
xchen8421 authored May 31, 2024
2 parents b04b36a + b2e7f5a commit 9fb5aa8
Show file tree
Hide file tree
Showing 39 changed files with 73 additions and 616 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [YEAR] Upbound Inc. All rights reserved.
Copyright 2024 Upbound Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ====================================================================================
# Setup Project

PROJECT_NAME ?= upjet-provider-template
PROJECT_REPO ?= github.com/upbound/$(PROJECT_NAME)
PROJECT_NAME ?= provider-github
PROJECT_REPO ?= github.com/test-my-org/$(PROJECT_NAME)

export TERRAFORM_VERSION ?= 1.2.1

Expand Down Expand Up @@ -89,7 +89,7 @@ fallthrough: submodules

# NOTE(hasheddan): we force image building to happen prior to xpkg build so that
# we ensure image is present in daemon.
xpkg.build.upjet-provider-template: do.build.images
xpkg.build.provider-github: do.build.images

# NOTE(hasheddan): we ensure up is installed prior to running platform-specific
# build steps in parallel to avoid encountering an installation race condition.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Provider Template
# Provider GitHub

`upjet-provider-template` is a [Crossplane](https://crossplane.io/) provider that
`provider-github` is a [Crossplane](https://crossplane.io/) provider that
is built using [Upjet](https://github.com/crossplane/upjet) code
generation tools and exposes XRM-conformant managed resources for the
Template API.
GitHub API.

## Getting Started

Install the provider by using the following command after changing the image tag
to the [latest release](https://marketplace.upbound.io/providers/upbound/upjet-provider-template):
to the [latest release](https://marketplace.upbound.io/providers/test-my-org/provider-github):
```
up ctp provider install upbound/upjet-provider-template:v0.1.0
up ctp provider install test-my-org/provider-github:v0.1.0
```

Alternatively, you can use declarative installation:
Expand All @@ -19,15 +19,15 @@ cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: upjet-provider-template
name: provider-github
spec:
package: upbound/upjet-provider-template:v0.1.0
package: test-my-org/provider-github:v0.1.0
EOF
```

Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.

You can see the API reference [here](https://doc.crds.dev/github.com/upbound/upjet-provider-template).
You can see the API reference [here](https://doc.crds.dev/github.com/test-my-org/provider-github).

## Developing

Expand Down Expand Up @@ -57,4 +57,4 @@ make build
## Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please
open an [issue](https://github.com/upbound/upjet-provider-template/issues).
open an [issue](https://github.com/test-my-org/provider-github/issues).
205 changes: 0 additions & 205 deletions apis/null/v1alpha1/zz_generated.deepcopy.go

This file was deleted.

68 changes: 0 additions & 68 deletions apis/null/v1alpha1/zz_generated.managed.go

This file was deleted.

17 changes: 0 additions & 17 deletions apis/null/v1alpha1/zz_generated.managedlist.go

This file was deleted.

Loading

0 comments on commit 9fb5aa8

Please sign in to comment.