Skip to content

Commit

Permalink
Merge pull request #201 from upbound/readme-urls
Browse files Browse the repository at this point in the history
Provide full urls to examples in readme
  • Loading branch information
kaessert authored Oct 21, 2024
2 parents dcb95e3 + cc82273 commit a683e3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ AWS_PROFILE=default && echo -e "[default]\naws_access_key_id = $(aws configure g
kubectl create secret generic aws-creds -n upbound-system --from-file=credentials=./creds.conf

# Configure the AWS Provider to use the secret:
kubectl apply -f examples/aws-default-provider.yaml
kubectl apply -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/aws-default-provider.yaml
```

See [provider-aws docs](https://marketplace.upbound.io/providers/upbound/provider-family-aws)
Expand All @@ -158,12 +158,12 @@ the application code. In our example here we simply create the claims directly:

Create a custom defined cluster:
```console
kubectl apply -f examples/cluster-claim.yaml
kubectl apply -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/cluster-claim.yaml
```

Create a custom defined database:
```console
kubectl apply -f examples/mariadb-claim.yaml
kubectl apply -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/mariadb-claim.yaml
```

**NOTE**: The database abstraction relies on the cluster claim to be ready - it
Expand All @@ -172,13 +172,13 @@ uses the same network to have connectivity with the EKS cluster.
Alternatively, you can use a postgresql claim:

```
kubectl apply -f examples/postgres-claim.yaml
kubectl apply -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/postgres-claim.yaml
```

Now deploy the sample application:

```
kubectl apply -f examples/app-claim.yaml
kubectl apply -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/app-claim.yaml
```

**NOTE**: application has a strong dependency on mariadb type of the database
Expand All @@ -200,7 +200,7 @@ crossplane beta trace cluster.aws.platformref.upbound.io/platform-ref-aws
To delete the provisioned resources you would simply delete the claims:

```console
kubectl delete -f examples/cluster-claim.yaml,examples/mariadb-claim.yaml,examples/app-claim.yaml
kubectl delete -f https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/cluster-claim.yaml,https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/mariadb-claim.yaml,https://raw.githubusercontent.com/upbound/platform-ref-aws/main/examples/app-claim.yaml
```

To uninstall the provider & platform configuration:
Expand Down

0 comments on commit a683e3b

Please sign in to comment.