Skip to content

Commit

Permalink
Merge pull request #19 from ldalorion/main
Browse files Browse the repository at this point in the history
removed the ability to expose network as a claim
  • Loading branch information
Aaron Eaton authored Apr 8, 2022
2 parents d4d7ad0 + 4998622 commit 1a727e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
30 changes: 2 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,26 +128,6 @@ kubectl apply -f examples/provider-default-gcp.yaml
`Organization`
1. Verify access to your team `Control Planes` and Registries

#### Provision a Network fabric using kubectl

1. Provision a `Network` resource (claim for `CompositeNetwork`) provided by the platform `Configuration`:

```console
kubectl -n upbound-system apply -f examples/network.yaml
```

1. View status / details of the managed resources created for your claim:

```console
kubectl get managed
```

1. Check status of your claim:

```console
kubectl -n upbound-system get network
```

#### Provision a Kubernetes cluster using kubectl

1. Provision a `Cluster` resource (claim for `CompositeCluster`) provided by the platform `Configuration`:
Expand Down Expand Up @@ -179,19 +159,13 @@ kubectl -n upbound-system get cluster

#### Cleanup Resources

1. Delete `Network` claim:

```console
kubectl -n upbound-system delete -f examples/network.yaml
```

2. Delete `Cluster` claim:
1. Delete `Cluster` claim:

```console
kubectl -n upbound-system delete -f examples/cluster.yaml
```

3. Verify all underlying resources have been cleanly deleted:
2. Verify all underlying resources have been cleanly deleted:

```console
kubectl get managed
Expand Down
11 changes: 0 additions & 11 deletions examples/network.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions network/definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ metadata:
- required: true
customError: Cluster ref is required.
spec:
claimNames:
kind: Network
plural: networks
group: gcp.platformref.crossplane.io
names:
kind: CompositeNetwork
Expand Down

0 comments on commit 1a727e6

Please sign in to comment.