Skip to content

Commit

Permalink
Simply provider versions in examples
Browse files Browse the repository at this point in the history
Signed-off-by: Jean du Plessis <jean@upbound.io>
  • Loading branch information
jeanduplessis committed Nov 5, 2024
1 parent e0b13c5 commit d092324
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 37 deletions.
14 changes: 7 additions & 7 deletions content/master/cli/command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ inside Crossplane.

The `<package-kind>` is either a `configuration`, `function` or `provider`.

For example, to install version 0.42.0 of the
[AWS S3 provider](https://marketplace.upbound.io/providers/upbound/provider-aws-s3/v0.42.0):
For example, to install the latest version of the
[AWS S3 provider](https://marketplace.upbound.io/providers/upbound/provider-aws-s3/):

`crossplane xpkg install provider xpkg.upbound.io/upbound/provider-aws-s3:v0.42.0`
`crossplane xpkg install provider xpkg.upbound.io/upbound/provider-aws-s3:v1`

#### Flags
{{< table "table table-sm table-striped">}}
Expand Down Expand Up @@ -507,10 +507,10 @@ already installed in Crossplane.
The package file must be an organization, image and tag on the `xpkg.upbound.io`
registry on [Upbound Marketplace](https://marketplace.upbound.io/).

For example, to update to version 0.42.0 of the
[AWS S3 provider](https://marketplace.upbound.io/providers/upbound/provider-aws-s3/v0.42.0):
For example, to update to the latest version of the
[AWS S3 provider](https://marketplace.upbound.io/providers/upbound/provider-aws-s3/):

`crossplane xpkg update provider xpkg.upbound.io/upbound/provider-aws-s3:v0.42.0`
`crossplane xpkg update provider xpkg.upbound.io/upbound/provider-aws-s3:v1`


## beta
Expand Down Expand Up @@ -957,7 +957,7 @@ kind: Provider
metadata:
name: provider-aws-iam
spec:
package: xpkg.upbound.io/upbound/provider-aws-iam:v1.0.0
package: xpkg.upbound.io/upbound/provider-aws-iam:v1
```

Now include the XR or managed resource to validate.
Expand Down
10 changes: 5 additions & 5 deletions content/master/concepts/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ For example, this installation of the Upbound AWS reference platform is
```shell {copy-lines="1"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-aws-s3 True False xpkg.upbound.io/upbound/provider-aws-s3:v0.41.0 12s
provider-aws-s3 True False xpkg.upbound.io/upbound/provider-aws-s3:v1.0.0 12s
```

To see more information on why the Provider isn't `HEALTHY` use
Expand All @@ -338,7 +338,7 @@ API Version: pkg.crossplane.io/v1
Kind: ProviderRevision
Spec:
Desired State: Active
Image: xpkg.upbound.io/upbound/provider-aws-s3:v0.41.0
Image: xpkg.upbound.io/upbound/provider-aws-s3:v1.0.0
Revision: 1
Status:
Conditions:
Expand Down Expand Up @@ -376,10 +376,10 @@ View the `ProviderRevisions` with
```shell {label="getPR",copy-lines="1"}
kubectl get providerrevisions
NAME HEALTHY REVISION IMAGE STATE DEP-FOUND DEP-INSTALLED AGE
provider-aws-s3-dbc7f981d81f True 1 xpkg.upbound.io/upbound/provider-aws-s3:v0.37.0 Active 1 1 10d
provider-aws-s3-dbc7f981d81f True 1 xpkg.upbound.io/upbound/provider-aws-s3:v1.0.0 Active 1 1 10d
provider-nop-552a394a8acc True 2 xpkg.upbound.io/crossplane-contrib/provider-nop:v0.3.0 Active 11d
provider-nop-7e62d2a1a709 True 1 xpkg.upbound.io/crossplane-contrib/provider-nop:v0.2.0 Inactive 13d
upbound-provider-family-aws-710d8cfe9f53 True 1 xpkg.upbound.io/upbound/provider-family-aws:v0.40.0 Active 10d
upbound-provider-family-aws-710d8cfe9f53 True 1 xpkg.upbound.io/upbound/provider-family-aws:v1.0.0 Active 10d
```

By default Crossplane keeps a single
Expand Down Expand Up @@ -640,7 +640,7 @@ kind: Provider
metadata:
name: provider-gcp-iam
spec:
package: xpkg.upbound.io/upbound/provider-gcp-iam:v0.37.0
package: xpkg.upbound.io/upbound/provider-gcp-iam:v1
runtimeConfigRef:
name: enable-ess
---
Expand Down
10 changes: 5 additions & 5 deletions content/master/getting-started/provider-aws-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ kind: Provider
metadata:
name: provider-aws-s3
spec:
package: xpkg.upbound.io/upbound/provider-aws-s3:v1.1.0
package: xpkg.upbound.io/upbound/provider-aws-s3:v1
EOF
```

Expand Down Expand Up @@ -96,7 +96,7 @@ kind: Provider
metadata:
name: provider-aws-dynamodb
spec:
package: xpkg.upbound.io/upbound/provider-aws-dynamodb:v1.1.0
package: xpkg.upbound.io/upbound/provider-aws-dynamodb:v1
EOF
```

Expand All @@ -106,9 +106,9 @@ View the new DynamoDB provider with `kubectl get providers`.
```shell {copy-lines="1"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-aws-dynamodb True True xpkg.upbound.io/upbound/provider-aws-dynamodb:v1.1.0 3m55s
provider-aws-s3 True True xpkg.upbound.io/upbound/provider-aws-s3:v1.1.0 13m
upbound-provider-family-aws True True xpkg.upbound.io/upbound/provider-family-aws:v1.1.0 13m
provider-aws-dynamodb True True xpkg.upbound.io/upbound/provider-aws-dynamodb:v1.0.0 3m55s
provider-aws-s3 True True xpkg.upbound.io/upbound/provider-aws-s3:v1.0.0 13m
upbound-provider-family-aws True True xpkg.upbound.io/upbound/provider-family-aws:v1.0.0 13m
```

## Create a custom API
Expand Down
6 changes: 3 additions & 3 deletions content/master/getting-started/provider-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ kind: Provider
metadata:
name: provider-aws-s3
spec:
package: xpkg.upbound.io/upbound/provider-aws-s3:v1.1.0
package: xpkg.upbound.io/upbound/provider-aws-s3:v1
EOF
```

Expand All @@ -52,8 +52,8 @@ Verify the provider installed with `kubectl get providers`.
```shell {copy-lines="1",label="getProvider"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-aws-s3 True True xpkg.upbound.io/upbound/provider-aws-s3:1.1.0 97s
upbound-provider-family-aws True True xpkg.upbound.io/upbound/provider-family-aws:1.1.0 88s
provider-aws-s3 True True xpkg.upbound.io/upbound/provider-aws-s3:1.0.0 97s
upbound-provider-family-aws True True xpkg.upbound.io/upbound/provider-family-aws:1.0.0 88s
```

The S3 Provider installs a second Provider, the
Expand Down
10 changes: 5 additions & 5 deletions content/master/getting-started/provider-azure-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ kind: Provider
metadata:
name: provider-azure-network
spec:
package: xpkg.upbound.io/upbound/provider-azure-network:v0.42.1
package: xpkg.upbound.io/upbound/provider-azure-network:v1
EOF
```

Expand Down Expand Up @@ -496,7 +496,7 @@ kind: Provider
metadata:
name: provider-azure-compute
spec:
package: xpkg.upbound.io/upbound/provider-azure-compute:v0.42.1
package: xpkg.upbound.io/upbound/provider-azure-compute:v1
EOF
```

Expand All @@ -506,9 +506,9 @@ View the new Compute provider with `kubectl get providers`.
```shell {copy-lines="1"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-azure-compute True True xpkg.upbound.io/upbound/provider-azure-compute:v0.42.1 25s
provider-azure-network True True xpkg.upbound.io/upbound/provider-azure-network:v0.42.1 3h
upbound-provider-family-azure True True xpkg.upbound.io/upbound/provider-family-azure:v0.42.1 3h
provider-azure-compute True True xpkg.upbound.io/upbound/provider-azure-compute:v1.0.0 25s
provider-azure-network True True xpkg.upbound.io/upbound/provider-azure-network:v1.0.0 3h
upbound-provider-family-azure True True xpkg.upbound.io/upbound/provider-family-azure:v1.0.0 3h
```

## Access the custom API
Expand Down
6 changes: 3 additions & 3 deletions content/master/getting-started/provider-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ kind: Provider
metadata:
name: provider-azure-network
spec:
package: xpkg.upbound.io/upbound/provider-azure-network:v0.42.1
package: xpkg.upbound.io/upbound/provider-azure-network:v1
EOF
```

Expand All @@ -54,8 +54,8 @@ Verify the provider installed with `kubectl get providers`.
```shell {copy-lines="1",label="getProvider"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-azure-network True True xpkg.upbound.io/upbound/provider-azure-network:v0.42.1 38s
upbound-provider-family-azure True True xpkg.upbound.io/upbound/provider-family-azure:v0.42.1 26s
provider-azure-network True True xpkg.upbound.io/upbound/provider-azure-network:v1.0.0 38s
upbound-provider-family-azure True True xpkg.upbound.io/upbound/provider-family-azure:v1.0.0 26s
```

The Network Provider installs a second Provider, the
Expand Down
10 changes: 5 additions & 5 deletions content/master/getting-started/provider-gcp-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kind: Provider
metadata:
name: provider-gcp-storage
spec:
package: xpkg.upbound.io/upbound/provider-gcp-storage:v0.41.0
package: xpkg.upbound.io/upbound/provider-gcp-storage:v1
EOF
```

Expand Down Expand Up @@ -114,7 +114,7 @@ kind: Provider
metadata:
name: provider-gcp-pubsub
spec:
package: xpkg.upbound.io/upbound/provider-gcp-pubsub:v0.41.0
package: xpkg.upbound.io/upbound/provider-gcp-pubsub:v1
EOF
```

Expand All @@ -123,9 +123,9 @@ View the new PubSub provider with `kubectl get providers`.
```shell {copy-lines="1"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-gcp-pubsub True True xpkg.upbound.io/upbound/provider-gcp-pubsub:v0.41.0 39s
provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v0.41.0 13m
upbound-provider-family-gcp True True xpkg.upbound.io/upbound/provider-family-gcp:v0.41.0 12m
provider-gcp-pubsub True True xpkg.upbound.io/upbound/provider-gcp-pubsub:v1.0.0 39s
provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v1.0.0 13m
upbound-provider-family-gcp True True xpkg.upbound.io/upbound/provider-family-gcp:v1.0.0 12m
```


Expand Down
6 changes: 3 additions & 3 deletions content/master/getting-started/provider-gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kind: Provider
metadata:
name: provider-gcp-storage
spec:
package: xpkg.upbound.io/upbound/provider-gcp-storage:v0.41.0
package: xpkg.upbound.io/upbound/provider-gcp-storage:v1
EOF
```

Expand All @@ -51,8 +51,8 @@ Verify the provider installed with `kubectl get providers`.
```shell {copy-lines="1",label="getProvider"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v0.41.0 36s
upbound-provider-family-gcp True True xpkg.upbound.io/upbound/provider-family-gcp:v0.41.0 29s
provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v1.0.0 36s
upbound-provider-family-gcp True True xpkg.upbound.io/upbound/provider-family-gcp:v1.0.0 29s
```

The Storage Provider installs a second Provider, the
Expand Down
2 changes: 1 addition & 1 deletion content/master/software/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ List the installed _providers_ with `kubectl get providers`.
```shell {copy-lines="1"}
kubectl get providers
NAME INSTALLED HEALTHY PACKAGE AGE
upbound-provider-aws True True xpkg.upbound.io/upbound/provider-aws:v0.27.0 8h
upbound-provider-aws True True xpkg.upbound.io/upbound/provider-aws:v1.0.0 8h
```

Remove the installed _providers_ with `kubectl delete provider`.
Expand Down

0 comments on commit d092324

Please sign in to comment.