-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from negz/haarchri-fixes
Make the project work
- Loading branch information
Showing
6 changed files
with
104 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# example-project-aws | ||
|
||
An example Upbound control plane project for Amazon Web Services (AWS). | ||
|
||
A control plane project is a source-level representation of a Crossplane control | ||
plane. It lets you treat your control plane configuration as a software project. | ||
With a control plane project you can build your compositions using a language | ||
like KCL or Python. This enables Crossplane schema-aware syntax highlighting, | ||
autocompletion, and linting. | ||
|
||
Read the [control plane project documentation][proj-docs] to learn more about | ||
control plane projects. | ||
|
||
This project defines a new `StorageBucket` API, which is powered by AWS S3. It | ||
includes [KCL][kcl-docs] and [Python][py-docs] functions that implement the | ||
composition logic. | ||
|
||
The project uses the KCL function by default. Edit [`composition.yaml`][comp] to | ||
switch to the Python function. | ||
|
||
|
||
[proj-docs]: https://docs.upbound.io/core-concepts/projects/ | ||
[kcl-docs]: https://docs.upbound.io/core-concepts/kcl/overview/ | ||
[py-docs]: https://docs.upbound.io/core-concepts/python/overview/ | ||
[comp]: ./apis/xstoragebuckets/composition.yaml |
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 |
---|---|---|
|
@@ -7,4 +7,4 @@ spec: | |
parameters: | ||
region: us-west-1 | ||
versioning: true | ||
acl: public | ||
acl: public-read |
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 @@ | ||
apiVersion: aws.upbound.io/v1beta1 | ||
kind: ProviderConfig | ||
metadata: | ||
name: default | ||
spec: | ||
credentials: | ||
source: Secret | ||
secretRef: | ||
namespace: crossplane-system | ||
name: aws-secret | ||
key: my-aws-secret |
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