mirror of https://github.com/crossplane/docs.git
docs snapshot for crossplane version `v0.13`
This commit is contained in:
parent
820260dd51
commit
e1b40c602c
|
@ -28,8 +28,8 @@ Run `setup.sh` to read `aws` credentials and region, and create an `aws
|
||||||
provider` instance in Crossplane:
|
provider` instance in Crossplane:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -O https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/configure/aws/provider.yaml
|
curl -O https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/configure/aws/provider.yaml
|
||||||
curl -O https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/configure/aws/setup.sh
|
curl -O https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/configure/aws/setup.sh
|
||||||
./setup.sh [--profile aws_profile]
|
./setup.sh [--profile aws_profile]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ account will have access to the services and roles sufficient to run the
|
||||||
Crossplane GCP examples.
|
Crossplane GCP examples.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -O https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/configure/gcp/credentials.sh
|
curl -O https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/configure/gcp/credentials.sh
|
||||||
./credentials.sh
|
./credentials.sh
|
||||||
# ... EXAMPLE OUTPUT ONLY
|
# ... EXAMPLE OUTPUT ONLY
|
||||||
# export ORGANIZATION_ID=987654321
|
# export ORGANIZATION_ID=987654321
|
||||||
|
|
|
@ -143,7 +143,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/claim-aws.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/claim-aws.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -167,7 +167,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/claim-aws.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/claim-aws.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -190,7 +190,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/claim-gcp.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/claim-gcp.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -213,7 +213,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/claim-azure.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/claim-azure.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -236,7 +236,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/claim-alibaba.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/claim-alibaba.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -332,7 +332,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/compose/pod.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/compose/pod.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
This `Pod` simply connects to a PostgreSQL database and prints its name, so you
|
This `Pod` simply connects to a PostgreSQL database and prints its name, so you
|
||||||
|
|
|
@ -128,7 +128,7 @@ kubectl get all -n crossplane-system
|
||||||
The Crossplane CLI extends `kubectl` with functionality to build, push, and install [Crossplane packages]:
|
The Crossplane CLI extends `kubectl` with functionality to build, push, and install [Crossplane packages]:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh
|
curl -sL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Select Provider
|
## Select Provider
|
||||||
|
@ -147,7 +147,7 @@ Install and configure a provider for Crossplane to use for infrastructure provis
|
||||||
### Install AWS Provider
|
### Install AWS Provider
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl crossplane install provider crossplane/provider-aws:master
|
kubectl crossplane install provider crossplane/provider-aws:v0.12.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get AWS Account Keyfile
|
### Get AWS Account Keyfile
|
||||||
|
@ -194,7 +194,7 @@ kubectl apply -f provider.yaml
|
||||||
### Install GCP Provider
|
### Install GCP Provider
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl crossplane install provider crossplane/provider-gcp:master
|
kubectl crossplane install provider crossplane/provider-gcp:v0.12.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get GCP Account Keyfile
|
### Get GCP Account Keyfile
|
||||||
|
@ -259,7 +259,7 @@ kubectl apply -f provider.yaml
|
||||||
### Install Azure Provider
|
### Install Azure Provider
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl crossplane install provider crossplane/provider-azure:master
|
kubectl crossplane install provider crossplane/provider-azure:v0.12.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Get Azure Principal Keyfile
|
### Get Azure Principal Keyfile
|
||||||
|
@ -321,7 +321,7 @@ kubectl apply -f provider.yaml
|
||||||
### Install Alibaba Provider
|
### Install Alibaba Provider
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl crossplane install provider crossplane/provider-alibaba:master
|
kubectl crossplane install provider crossplane/provider-alibaba:v0.3.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a Provider Secret
|
### Create a Provider Secret
|
||||||
|
|
|
@ -108,7 +108,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws/definition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws/definition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -153,7 +153,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws-with-vpc/definition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws-with-vpc/definition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -198,7 +198,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/gcp/definition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/gcp/definition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -243,7 +243,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/azure/definition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/azure/definition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -288,7 +288,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/alibaba/definition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/alibaba/definition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -368,7 +368,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws/composition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws/composition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -533,7 +533,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws-with-vpc/composition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws-with-vpc/composition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -587,7 +587,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/gcp/composition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/gcp/composition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -669,7 +669,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/azure/composition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/azure/composition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -718,7 +718,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/alibaba/composition.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/alibaba/composition.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -756,7 +756,7 @@ metadata:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws/crossplane.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws/crossplane.yaml
|
||||||
|
|
||||||
# Set this to the Docker Hub username or OCI registry you wish to use.
|
# Set this to the Docker Hub username or OCI registry you wish to use.
|
||||||
REG=my-package-repo
|
REG=my-package-repo
|
||||||
|
@ -780,7 +780,7 @@ metadata:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/aws-with-vpc/crossplane.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/aws-with-vpc/crossplane.yaml
|
||||||
|
|
||||||
# Set this to the Docker Hub username or OCI registry you wish to use.
|
# Set this to the Docker Hub username or OCI registry you wish to use.
|
||||||
REG=my-package-repo
|
REG=my-package-repo
|
||||||
|
@ -803,7 +803,7 @@ metadata:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/gcp/crossplane.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/gcp/crossplane.yaml
|
||||||
|
|
||||||
# Set this to the Docker Hub username or OCI registry you wish to use.
|
# Set this to the Docker Hub username or OCI registry you wish to use.
|
||||||
REG=my-package-repo
|
REG=my-package-repo
|
||||||
|
@ -826,7 +826,7 @@ metadata:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/azure/crossplane.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/azure/crossplane.yaml
|
||||||
|
|
||||||
# Set this to the Docker Hub username or OCI registry you wish to use.
|
# Set this to the Docker Hub username or OCI registry you wish to use.
|
||||||
REG=my-package-repo
|
REG=my-package-repo
|
||||||
|
@ -849,7 +849,7 @@ metadata:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/package/alibaba/crossplane.yaml
|
curl -OL https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/package/alibaba/crossplane.yaml
|
||||||
|
|
||||||
# Set this to the Docker Hub username or OCI registry you wish to use.
|
# Set this to the Docker Hub username or OCI registry you wish to use.
|
||||||
REG=my-package-repo
|
REG=my-package-repo
|
||||||
|
|
|
@ -49,7 +49,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/provision/aws.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/provision/aws.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Creating the above instance will cause Crossplane to provision an RDS instance
|
Creating the above instance will cause Crossplane to provision an RDS instance
|
||||||
|
@ -97,7 +97,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/provision/gcp.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/provision/gcp.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Creating the above instance will cause Crossplane to provision a CloudSQL
|
Creating the above instance will cause Crossplane to provision a CloudSQL
|
||||||
|
@ -163,7 +163,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/provision/azure.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/provision/azure.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Creating the above instance will cause Crossplane to provision a PostgreSQL
|
Creating the above instance will cause Crossplane to provision a PostgreSQL
|
||||||
|
@ -213,7 +213,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/provision/alibaba.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/provision/alibaba.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Creating the above instance will cause Crossplane to provision an RDS instance
|
Creating the above instance will cause Crossplane to provision an RDS instance
|
||||||
|
|
|
@ -76,7 +76,7 @@ Run the following command to add support for all the workloads and traits requir
|
||||||
by this guide:
|
by this guide:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/run/definitions.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/run/definitions.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Application Developer
|
## Application Developer
|
||||||
|
@ -292,7 +292,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/run/components.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/run/components.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Each of the above components describes a particular kind of workload. The
|
Each of the above components describes a particular kind of workload. The
|
||||||
|
@ -376,7 +376,7 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/run/appconfig.yaml
|
kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/run/appconfig.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
This application configuration names each of components the application
|
This application configuration names each of components the application
|
||||||
|
@ -464,8 +464,8 @@ If you also wish to delete the components, workload definitions, and trait
|
||||||
definitions we created in this guide, run:
|
definitions we created in this guide, run:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
kubectl delete -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/run/components.yaml
|
kubectl delete -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/run/components.yaml
|
||||||
kubectl delete -f https://raw.githubusercontent.com/crossplane/crossplane/master/docs/snippets/run/definitions.yaml
|
kubectl delete -f https://raw.githubusercontent.com/crossplane/crossplane/release-0.13/docs/snippets/run/definitions.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Open Application Model]: https://oam.dev/
|
[Open Application Model]: https://oam.dev/
|
||||||
|
|
Loading…
Reference in New Issue