Skip to content

Comments

Update dev Graphemes API deployment to use GHCR#74

Merged
ty2k merged 1 commit intodevfrom
ci/graphemes-api-dev-deployment
May 20, 2025
Merged

Update dev Graphemes API deployment to use GHCR#74
ty2k merged 1 commit intodevfrom
ci/graphemes-api-dev-deployment

Conversation

@ty2k
Copy link
Collaborator

@ty2k ty2k commented May 20, 2025

This updates the dev namespace deployment for the Graphemes API to point to the image hosted on GHCR instead of an OpenShift ImageStream (see #69 and #72).

@ty2k ty2k requested a review from Copilot May 20, 2025 23:23
@ty2k ty2k self-assigned this May 20, 2025
@ty2k ty2k added the cicd Continuous integration / continuous deployment pipeline label May 20, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the development deployment of the Graphemes API to pull its container image from GitHub Container Registry (GHCR) instead of an OpenShift ImageStream.

  • Removed legacy ImageStream triggers and annotations.
  • Updated the image field to point to ghcr.io/bcgov/standard-graphemes/graphemes-api:dev.
Comments suppressed due to low confidence (1)

graphemes-api/openshift/dev/deployment.yaml:29

  • If the GHCR registry requires authentication, add an imagePullSecrets entry under spec: to allow pulling private images (e.g., `imagePullSecrets:
    • name: ghcr-registry-secret`).
spec:

containers:
- name: graphemes-api
image: "image-registry.openshift-image-registry.svc:5000/f343b4-tools/graphemes-api:dev"
image: ghcr.io/bcgov/standard-graphemes/graphemes-api:dev
Copy link

Copilot AI May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding imagePullPolicy: Always for the dev deployment to ensure Kubernetes always pulls the latest :dev image rather than using a potentially cached image.

Copilot uses AI. Check for mistakes.
@ty2k ty2k merged commit 8adda76 into dev May 20, 2025
1 check passed
@ty2k ty2k deleted the ci/graphemes-api-dev-deployment branch May 20, 2025 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cicd Continuous integration / continuous deployment pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant