Skip to content

Commit

Permalink
move chart images to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhelil authored and tekton-robot committed Jan 23, 2025
1 parent 2311e52 commit 4e323f9
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
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
2 changes: 1 addition & 1 deletion charts/tekton-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ operator:
pruner:
image:
# Container image for Tekton pruner. Defaults to gcr.
repository: "gcr.io/tekton-releases/dogfooding/tkn"
repository: "ghcr.io/tektoncd/plumbing/tkn"
tag: "d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471"

## Configuration for the tekton-operator-webhook pod
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:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
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:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
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:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
- 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:d1da68e766393c4b4eb162128f2c5fd2cee270828811a113fcda1e8a586e7471
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

0 comments on commit 4e323f9

Please sign in to comment.