Skip to content

Commit

Permalink
pkg-mgr: Add digest support and enable-dependency-version-upgrades
Browse files Browse the repository at this point in the history
…flags

Signed-off-by: ezgidemirel <[email protected]>
  • Loading branch information
ezgidemirel committed Nov 8, 2024
1 parent cc9c665 commit 82b0d47
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/master/concepts/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ spec:
package: xpkg.upbound.io/upbound/platform-ref-aws:v0.6.0
```
{{<hint "tip" >}}
Crossplane supports installations with image digests instead of tags to get deterministic
and repeatable installations.
```yaml {label="digest"}
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
name: platform-ref-aws
spec:
package: xpkg.upbound.io/upbound/platform-ref-aws@sha256:a30ad655c7699218d9234285d838d85582f015d02f7f061f8486b28248fd7db7
```
{{< /hint >}}
Crossplane installs the Compositions, Composite Resource Definitions and
Providers listed in the Configuration.
Expand Down
14 changes: 14 additions & 0 deletions content/master/concepts/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,20 @@ volumes.
Providers support multiple configuration options to change installation related
settings.

{{<hint "tip" >}}
Crossplane supports installations with image digests instead of tags to get deterministic
and repeatable installations.

```yaml {label="digest"}
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-aws
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-aws@sha256:ee6bece46dbb54cc3f0233961f5baac317fa4e4a81b41198bdc72fc472d113d0
```
{{< /hint >}}

#### Provider pull policy

Use a {{<hover label="pullpolicy" line="6">}}packagePullPolicy{{</hover>}} to
Expand Down
1 change: 1 addition & 0 deletions content/master/software/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ at the table below.
| Alpha | `--enable-realtime-compositions` | Enable support for real time compositions. |
| Alpha | `--enable-ssa-claims` | Enable support for using server-side apply to sync claims with XRs. |
| Alpha | `--enable-usages` | Enable support for Usages. |
| Alpha | `--enable-dependency-version-upgrades ` | Enable automatic version upgrades of dependencies when updating packages. |
{{< /table >}}
{{< /expand >}}

Expand Down
14 changes: 14 additions & 0 deletions content/v1.16/concepts/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ spec:
package: xpkg.upbound.io/upbound/platform-ref-aws:v0.6.0
```
{{<hint "tip" >}}
Crossplane supports installations with image digests instead of tags to get deterministic
and repeatable installations.
```yaml {label="digest"}
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
name: platform-ref-aws
spec:
package: xpkg.upbound.io/upbound/platform-ref-aws@sha256:a30ad655c7699218d9234285d838d85582f015d02f7f061f8486b28248fd7db7
```
{{< /hint >}}
Crossplane installs the Compositions, Composite Resource Definitions and
Providers listed in the Configuration.
Expand Down
14 changes: 14 additions & 0 deletions content/v1.18/concepts/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,20 @@ volumes.
Providers support multiple configuration options to change installation related
settings.

{{<hint "tip" >}}
Crossplane supports installations with image digests instead of tags to get deterministic
and repeatable installations.

```yaml {label="digest"}
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-aws
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-aws@sha256:ee6bece46dbb54cc3f0233961f5baac317fa4e4a81b41198bdc72fc472d113d0
```
{{< /hint >}}

#### Provider pull policy

Use a {{<hover label="pullpolicy" line="6">}}packagePullPolicy{{</hover>}} to
Expand Down
1 change: 1 addition & 0 deletions content/v1.18/software/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ at the table below.
| Alpha | `--enable-realtime-compositions` | Enable support for real time compositions. |
| Alpha | `--enable-ssa-claims` | Enable support for using server-side apply to sync claims with XRs. |
| Alpha | `--enable-usages` | Enable support for Usages. |
| Alpha | `--enable-dependency-version-upgrades ` | Enable automatic version upgrades of dependencies when updating packages. |
{{< /table >}}
{{< /expand >}}

Expand Down

0 comments on commit 82b0d47

Please sign in to comment.