Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move chart images to ghcr.io #2534

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ko.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defaultBaseImage: gcr.io/distroless/static:nonroot
defaultBaseImage: ghcr.io/distroless/static
baseImageOverrides:
github.com/tektoncd/operator/cmd/openshift/operator: registry.access.redhat.com/ubi8/ubi-minimal
github.com/tektoncd/operator/cmd/openshift/webhook: registry.access.redhat.com/ubi8/ubi-minimal
Expand Down
12 changes: 6 additions & 6 deletions charts/tekton-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ tekton-operator
{{- $image = .Values.operator.image.repository }}
{{- else -}}
{{- if .Values.openshift.enabled -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/openshift/operator" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/openshift/operator" -}}
{{- else -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/operator" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/kubernetes/operator" -}}
{{- end -}}
{{- end -}}
{{- printf "%s:%s" $image $tag -}}
Expand All @@ -124,9 +124,9 @@ tekton-operator
{{- $image = .Values.webhook.image.repository }}
{{- else -}}
{{- if .Values.openshift.enabled -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/openshift/webhook" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/openshift/webhook" -}}
{{- else -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/webhook" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/kubernetes/webhook" -}}
{{- end -}}
{{- end -}}
{{- printf "%s:%s" $image $tag -}}
Expand All @@ -140,9 +140,9 @@ tekton-operator
{{- $image = .Values.webhookProxy.image.repository }}
{{- else -}}
{{- if .Values.openshift.enabled -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/openshift/proxy-webhook" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/openshift/proxy-webhook" -}}
{{- else -}}
{{- $image = "gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/proxy-webhook" -}}
{{- $image = "ghcr.io/tektoncd/operator/github.com/tektoncd/operator/cmd/kubernetes/proxy-webhook" -}}
{{- end -}}
{{- end -}}
{{- printf "%s:%s" $image $tag -}}
Expand Down
4 changes: 2 additions & 2 deletions charts/tekton-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ operator:
pruner:
image:
# Container image for Tekton pruner. Defaults to gcr.
repository: "gcr.io/tekton-releases/dogfooding/tkn"
tag: "233de6c8b8583a34c2379fa98d42dba739146c9336e8d41b66030484357481ed" # v0.38.1
repository: "ghcr.io/tektoncd/plumbing/tkn"
tag: "d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471"

## Configuration for the tekton-operator-webhook pod
webhook:
Expand Down
2 changes: 1 addition & 1 deletion config/kubernetes/base/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
- name: IMAGE_PIPELINES_PROXY
value: ko://github.com/tektoncd/operator/cmd/kubernetes/proxy-webhook
- name: IMAGE_JOB_PRUNER_TKN
value: gcr.io/tekton-releases/dogfooding/tkn@sha256:233de6c8b8583a34c2379fa98d42dba739146c9336e8d41b66030484357481ed # v0.38.1
value: ghcr.io/tektoncd/plumbing/tkn@sha256:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
- name: METRICS_DOMAIN
value: tekton.dev/operator
- name: VERSION
Expand Down
2 changes: 1 addition & 1 deletion config/openshift/base/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
- name: IMAGE_PIPELINES_PROXY
value: ko://github.com/tektoncd/operator/cmd/openshift/proxy-webhook
- name: IMAGE_JOB_PRUNER_TKN
value: gcr.io/tekton-releases/dogfooding/tkn@sha256:233de6c8b8583a34c2379fa98d42dba739146c9336e8d41b66030484357481ed # v0.38.1
value: ghcr.io/tektoncd/plumbing/tkn@sha256:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
- name: METRICS_DOMAIN
value: tekton.dev/operator
- name: VERSION
Expand Down
2 changes: 1 addition & 1 deletion operatorhub/kubernetes/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image-substitutions:
containerName: tekton-operator-lifecycle
envKeys:
- IMAGE_PIPELINES_PROXY
- image: gcr.io/tekton-releases/dogfooding/tkn@sha256:233de6c8b8583a34c2379fa98d42dba739146c9336e8d41b66030484357481ed # v0.38.1
- image: ghcr.io/tektoncd/plumbing/tkn@sha256:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
replaceLocations:
envTargets:
- deploymentName: tekton-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ spec:
- name: IMAGE_PIPELINES_PROXY
value: gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/proxy-webhook@sha256:c2c3a38c2d26fc05d336e0e47c24a488a26cc6df8d72cd55e00ac05668d090d4
- name: IMAGE_JOB_PRUNER_TKN
value: gcr.io/tekton-releases/dogfooding/tkn@sha256:233de6c8b8583a34c2379fa98d42dba739146c9336e8d41b66030484357481ed # v0.38.1
value: ghcr.io/tektoncd/plumbing/tkn@sha256:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
- name: METRICS_DOMAIN
value: tekton.dev/operator
- name: VERSION
Expand Down
2 changes: 1 addition & 1 deletion tekton/build-publish-images-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
description: The vX.Y.Z version that the artifacts should be tagged with (including `v`)
- name: imageRegistry
description: The target image registry
default: gcr.io
default: ghcr.io
- name: imageRegistryPath
description: The path (project) in the image registry
- name: imageRegistryRegions
Expand Down
2 changes: 1 addition & 1 deletion tekton/operator-release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
description: the git revision to release
- name: imageRegistry
description: The target image registry
default: gcr.io
default: ghcr.io
- name: imageRegistryPath
description: The path (project) in the image registry
default: tekton-releases
Expand Down
Loading