Skip to content

Commit 6861340

Browse files
authored
pkg-mgr: Add digest support and enable-dependency-version-upgrades flag (#835)
1 parent 11ed92d commit 6861340

File tree

6 files changed

+58
-0
lines changed

6 files changed

+58
-0
lines changed

content/master/concepts/packages.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ spec:
5454
package: xpkg.upbound.io/upbound/platform-ref-aws:v0.6.0
5555
```
5656
57+
{{<hint "tip" >}}
58+
Crossplane supports installations with image digests instead of tags to get deterministic
59+
and repeatable installations.
60+
61+
```yaml {label="digest"}
62+
apiVersion: pkg.crossplane.io/v1
63+
kind: Configuration
64+
metadata:
65+
name: platform-ref-aws
66+
spec:
67+
package: xpkg.upbound.io/upbound/platform-ref-aws@sha256:a30ad655c7699218d9234285d838d85582f015d02f7f061f8486b28248fd7db7
68+
```
69+
{{< /hint >}}
70+
5771
Crossplane installs the Compositions, Composite Resource Definitions and
5872
Providers listed in the Configuration.
5973

content/master/concepts/providers.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,20 @@ volumes.
130130
Providers support multiple configuration options to change installation related
131131
settings.
132132

133+
{{<hint "tip" >}}
134+
Crossplane supports installations with image digests instead of tags to get deterministic
135+
and repeatable installations.
136+
137+
```yaml {label="digest"}
138+
apiVersion: pkg.crossplane.io/v1
139+
kind: Provider
140+
metadata:
141+
name: provider-aws
142+
spec:
143+
package: xpkg.upbound.io/crossplane-contrib/provider-aws@sha256:ee6bece46dbb54cc3f0233961f5baac317fa4e4a81b41198bdc72fc472d113d0
144+
```
145+
{{< /hint >}}
146+
133147
#### Provider pull policy
134148

135149
Use a {{<hover label="pullpolicy" line="6">}}packagePullPolicy{{</hover>}} to

content/master/software/install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ at the table below.
259259
| Alpha | `--enable-realtime-compositions` | Enable support for real time compositions. |
260260
| Alpha | `--enable-ssa-claims` | Enable support for using server-side apply to sync claims with XRs. |
261261
| Alpha | `--enable-usages` | Enable support for Usages. |
262+
| Alpha | `--enable-dependency-version-upgrades ` | Enable automatic version upgrades of dependencies when updating packages. |
262263
{{< /table >}}
263264
{{< /expand >}}
264265

content/v1.18/concepts/packages.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ spec:
5454
package: xpkg.upbound.io/upbound/platform-ref-aws:v0.6.0
5555
```
5656
57+
{{<hint "tip" >}}
58+
Crossplane supports installations with image digests instead of tags to get deterministic
59+
and repeatable installations.
60+
61+
```yaml {label="digest"}
62+
apiVersion: pkg.crossplane.io/v1
63+
kind: Configuration
64+
metadata:
65+
name: platform-ref-aws
66+
spec:
67+
package: xpkg.upbound.io/upbound/platform-ref-aws@sha256:a30ad655c7699218d9234285d838d85582f015d02f7f061f8486b28248fd7db7
68+
```
69+
{{< /hint >}}
70+
5771
Crossplane installs the Compositions, Composite Resource Definitions and
5872
Providers listed in the Configuration.
5973

content/v1.18/concepts/providers.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,20 @@ volumes.
130130
Providers support multiple configuration options to change installation related
131131
settings.
132132

133+
{{<hint "tip" >}}
134+
Crossplane supports installations with image digests instead of tags to get deterministic
135+
and repeatable installations.
136+
137+
```yaml {label="digest"}
138+
apiVersion: pkg.crossplane.io/v1
139+
kind: Provider
140+
metadata:
141+
name: provider-aws
142+
spec:
143+
package: xpkg.upbound.io/crossplane-contrib/provider-aws@sha256:ee6bece46dbb54cc3f0233961f5baac317fa4e4a81b41198bdc72fc472d113d0
144+
```
145+
{{< /hint >}}
146+
133147
#### Provider pull policy
134148

135149
Use a {{<hover label="pullpolicy" line="6">}}packagePullPolicy{{</hover>}} to

content/v1.18/software/install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ at the table below.
259259
| Alpha | `--enable-realtime-compositions` | Enable support for real time compositions. |
260260
| Alpha | `--enable-ssa-claims` | Enable support for using server-side apply to sync claims with XRs. |
261261
| Alpha | `--enable-usages` | Enable support for Usages. |
262+
| Alpha | `--enable-dependency-version-upgrades ` | Enable automatic version upgrades of dependencies when updating packages. |
262263
{{< /table >}}
263264
{{< /expand >}}
264265

0 commit comments

Comments
 (0)