Skip to content

Commit

Permalink
Merge pull request #7 from phisco/there-is-no-latest
Browse files Browse the repository at this point in the history
docs: use proper tag instead of latest
  • Loading branch information
phisco authored Mar 26, 2024
2 parents 2113eec + 8d854be commit 1871b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,6 @@ spec:
{{- end}}
```
## Installing the `function-extra-resources` Function into a Cluster

``` shell
cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1beta1
kind: Function
metadata:
name: function-extra-resources
spec:
package: xpkg.upbound.io/crossplane-contrib/function-extra-resources:latest
EOF
```

## Local dev.
### Air
Expand Down
4 changes: 2 additions & 2 deletions example/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ metadata:
name: function-extra-resources
annotations:
# This tells crossplane beta render to connect to the function locally.
render.crossplane.io/runtime: Development
#render.crossplane.io/runtime: Development
spec:
# This is ignored when using the Development runtime.
package: xpkg.upbound.io/crossplane-contrib/function-extra-resources:latest
package: xpkg.upbound.io/crossplane-contrib/function-extra-resources:v0.0.1
---
apiVersion: pkg.crossplane.io/v1beta1
kind: Function
Expand Down

0 comments on commit 1871b0e

Please sign in to comment.