Skip to content

Commit bf1d88a

Browse files
Merge branch 'main' into fix-e2e-test-2
2 parents 788fffd + dcce94c commit bf1d88a

File tree

6 files changed

+25
-11
lines changed

6 files changed

+25
-11
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ jobs:
9999
mkdir -p output
100100
helm template ./deploy --namespace ocm-system --set "manager.image.tag=${{ env.RELEASE_VERSION }}" --include-crds > ./output/install.yaml
101101
- name: Setup Syft
102-
uses: anchore/sbom-action/download-syft@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0.20.4
102+
uses: anchore/sbom-action/download-syft@da167eac915b4e86f08b264dbdbc867b61be6f0c # v0.20.5
103103
- name: Setup Cosign
104104
uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159
105105
- name: Run goreleaser
106-
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552
106+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a
107107
with:
108108
distribution: goreleaser
109109
version: latest

deploy/templates/deployment_manager.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ spec:
3333
{{- if not .Values.registry.tls.enabled }}
3434
- --oci-registry-insecure-skip-verify
3535
{{- end }}
36+
{{- if .Values.manager.image.fullyQualifiedImageName }}
37+
image: "{{ .Values.manager.image.fullyQualifiedImageName }}"
38+
{{- else }}
3639
image: "{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag | default .Chart.AppVersion }}"
40+
{{- end }}
3741
name: manager
3842
imagePullPolicy: {{ .Values.manager.image.pullPolicy }}
3943
{{- if .Values.registry.tls.enabled }}

deploy/templates/deployment_registry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ spec:
1919
enableServiceLinks: true
2020
containers:
2121
- name: registry
22+
{{- if .Values.registry.image.fullyQualifiedImageName }}
23+
image: "{{ .Values.registry.image.fullyQualifiedImageName }}"
24+
{{- else }}
2225
image: "{{ .Values.registry.image.repository }}:{{ .Values.registry.image.tag }}"
26+
{{- end }}
2327
imagePullPolicy: {{ .Values.registry.image.pullPolicy }}
2428
ports:
2529
- containerPort: 5000

deploy/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ registry:
2121
pullPolicy: IfNotPresent
2222
tag: 3
2323
imagePullSecrets:
24+
# A fully qualified image should be with format [registry_hostname[:port]/][namespace/]repository_name[:tag|@digest]
25+
# If set, it will override the repository and tag above
26+
fullyQualifiedImageName: ""
2427
address: registry.ocm-system.svc.cluster.local:5000
2528
tls:
2629
enabled: true
@@ -59,6 +62,9 @@ manager:
5962
# Overrides the image tag whose default is the chart appVersion.
6063
tag: ""
6164
imagePullSecrets:
65+
# A fully qualified image should be with format [registry_hostname[:port]/][namespace/]repository_name[:tag|@digest]
66+
# If set, it will override the repository and tag above
67+
fullyQualifiedImageName: ""
6268
volumeMounts:
6369
- mountPath: "/etc/ssl/certs/registry-root.pem"
6470
subPath: "registry-root.pem"

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ replace (
1414
require (
1515
cuelang.org/go v0.14.0
1616
github.com/Masterminds/semver/v3 v3.4.0
17-
github.com/containers/image/v5 v5.36.0
17+
github.com/containers/image/v5 v5.36.1
1818
github.com/cyphar/filepath-securejoin v0.4.1
1919
github.com/distribution/distribution/v3 v3.0.0
2020
github.com/fluxcd/helm-controller/api v1.3.0
@@ -23,7 +23,7 @@ require (
2323
github.com/fluxcd/pkg/apis/meta v1.18.0
2424
github.com/fluxcd/pkg/http/fetch v0.17.0
2525
github.com/fluxcd/pkg/kustomize v1.19.0
26-
github.com/fluxcd/pkg/runtime v0.78.0
26+
github.com/fluxcd/pkg/runtime v0.79.0
2727
github.com/fluxcd/pkg/tar v0.13.0
2828
github.com/fluxcd/source-controller/api v1.6.2
2929
github.com/go-logr/logr v1.4.3
@@ -144,7 +144,7 @@ require (
144144
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
145145
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
146146
github.com/containers/ocicrypt v1.2.1 // indirect
147-
github.com/containers/storage v1.59.0 // indirect
147+
github.com/containers/storage v1.59.1 // indirect
148148
github.com/coreos/go-oidc/v3 v3.14.1 // indirect
149149
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
150150
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,14 @@ github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpS
266266
github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw=
267267
github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8=
268268
github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU=
269-
github.com/containers/image/v5 v5.36.0 h1:Zh+xFcLjRmicnOT5AFPHH/xj+e3s9ojDN/9X2Kx1+Jo=
270-
github.com/containers/image/v5 v5.36.0/go.mod h1:VZ6cyDHbxZoOt4dklUJ+WNEH9FrgSgfH3qUBYKFlcT0=
269+
github.com/containers/image/v5 v5.36.1 h1:6zpXBqR59UcAzoKpa/By5XekeqFV+htWYfr65+Cgjqo=
270+
github.com/containers/image/v5 v5.36.1/go.mod h1:b4GMKH2z/5t6/09utbse2ZiLK/c72GuGLFdp7K69eA4=
271271
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 h1:Qzk5C6cYglewc+UyGf6lc8Mj2UaPTHy/iF2De0/77CA=
272272
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
273273
github.com/containers/ocicrypt v1.2.1 h1:0qIOTT9DoYwcKmxSt8QJt+VzMY18onl9jUXsxpVhSmM=
274274
github.com/containers/ocicrypt v1.2.1/go.mod h1:aD0AAqfMp0MtwqWgHM1bUwe1anx0VazI108CRrSKINQ=
275-
github.com/containers/storage v1.59.0 h1:r2pYSTzQpJTROZbjJQ54Z0GT+rUC6+wHzlSY8yPjsXk=
276-
github.com/containers/storage v1.59.0/go.mod h1:KoAYHnAjP3/cTsRS+mmWZGkufSY2GACiKQ4V3ZLQnR0=
275+
github.com/containers/storage v1.59.1 h1:11Zu68MXsEQGBBd+GadPrHPpWeqjKS8hJDGiAHgIqDs=
276+
github.com/containers/storage v1.59.1/go.mod h1:KoAYHnAjP3/cTsRS+mmWZGkufSY2GACiKQ4V3ZLQnR0=
277277
github.com/coreos/go-oidc/v3 v3.14.1 h1:9ePWwfdwC4QKRlCXsJGou56adA/owXczOzwKdOumLqk=
278278
github.com/coreos/go-oidc/v3 v3.14.1/go.mod h1:HaZ3szPaZ0e4r6ebqvsLWlk2Tn+aejfmrfah6hnSYEU=
279279
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
@@ -381,8 +381,8 @@ github.com/fluxcd/pkg/http/fetch v0.17.0 h1:U/Fuh+H1cRL2d/EOfdsjJPaPDPtL3pFanPSE
381381
github.com/fluxcd/pkg/http/fetch v0.17.0/go.mod h1:nMozZtiSKtPGwMrR5wGjIJoQmhvFqZ5P4UsM/Lqza2I=
382382
github.com/fluxcd/pkg/kustomize v1.19.0 h1:2eO8lMx0/H/Yyq35LMTAMhxEElOzMW0Yi9zUNZoimlU=
383383
github.com/fluxcd/pkg/kustomize v1.19.0/go.mod h1:OCCW9vU3lStDh3jyg9MM/a29MSdNAVk2wjl0lDos5Fs=
384-
github.com/fluxcd/pkg/runtime v0.78.0 h1:xwNZqnazmgURGuLiHDbzST6BI5K9fvZuNS4eMVY35Es=
385-
github.com/fluxcd/pkg/runtime v0.78.0/go.mod h1:iGhdaEq+lMJQTJNAFEPOU4gUJ7kt3yeDcJPZy7O9IUw=
384+
github.com/fluxcd/pkg/runtime v0.79.0 h1:9tv79EiQDx/QJH9mYDd9kZ9WybCVWBUGoiBHij+eKkc=
385+
github.com/fluxcd/pkg/runtime v0.79.0/go.mod h1:iGhdaEq+lMJQTJNAFEPOU4gUJ7kt3yeDcJPZy7O9IUw=
386386
github.com/fluxcd/pkg/sourceignore v0.13.0 h1:ZvkzX2WsmyZK9cjlqOFFW1onHVzhPZIqDbCh96rPqbU=
387387
github.com/fluxcd/pkg/sourceignore v0.13.0/go.mod h1:Z9H1GoBx0ljOhptnzoV0PL6Nd/UzwKcSphP27lqb4xI=
388388
github.com/fluxcd/pkg/ssa v0.51.0 h1:sFarxKZcS0J8sjq9qvs/r+1XiJqNgRodEiPjV75F8R4=

0 commit comments

Comments
 (0)