-
Notifications
You must be signed in to change notification settings - Fork 22
HYPERFLEET-1186 - docs: Use the OCI artifact for the release chart #197
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,13 +28,13 @@ The adapter requires a running message broker and HyperFleet API. The [hyperflee | |
| |---------|-----------------| | ||
| | `make local-up-gcp` | GKE cluster + images + API + adapters + Maestro | | ||
| | `make install-hyperfleet` | Everything on an existing K8s cluster using RabbitMQ (no GCP needed) | | ||
| | `make install-hyperfleet-adapters` | Install sample Hyperfleet Adapters | | ||
| | `make install-adapters` | Install sample Hyperfleet Adapters | | ||
| | `make status` | Verify the deployment | | ||
|
|
||
| Make sure you define the following environment variables: | ||
| * `HELMFILE_ENV`: accepted values : `kind`, `gcp` | ||
| * `NAMESPACE`: namespace where HyperFleet components will be deployed | ||
| * `REGISTRY`: The registry namespace from which to pull the images. `quay.io/openshift-hyperfleet` for released images | ||
| * `REGISTRY`: The registry namespace from which to pull the images. `quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet` for released images | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line 37: Registry mismatch between documented environment variable and Makefile test harness. README documents 🤖 Prompt for AI Agents |
||
| * `API_IMAGE_TAG`: image tag for `hyperfleet-api` container image | ||
| * `SENTINEL_IMAGE_TAG`: image tag for `hyperfleet-sentinel` container image | ||
| * `ADAPTER_IMAGE_TAG`: image tag for `hyperfleet-adapter` container image | ||
|
Comment on lines
+31
to
40
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check what changed in README.md in this PR (get file size first)
wc -l README.md
head -50 README.mdRepository: openshift-hyperfleet/hyperfleet-adapter Length of output: 2814 🏁 Script executed: #!/bin/bash
# Verify hyperfleet-api Makefile still uses old registry
grep -n "IMAGE_REGISTRY" Makefile | head -5Repository: openshift-hyperfleet/hyperfleet-api Length of output: 417 🏁 Script executed: #!/bin/bash
# Verify hyperfleet-sentinel Makefile still uses old registry
grep -n "IMAGE_REGISTRY" Makefile | head -5Repository: openshift-hyperfleet/hyperfleet-sentinel Length of output: 414 Supply chain inconsistency: Registry namespace mismatch across components will cause image pull/push failures post-merge. Adapter documentation (line 39) instructs deployments to use 🤖 Prompt for AI AgentsSource: Linked repositories |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,8 @@ This guide explains how to configure and deploy an adapter instance using the He | |
|
|
||
| ## Configuration Overview | ||
|
|
||
| The HyperFleet Adapter Helm chart is released as an oci artifact at : oci://quay.io/redhat-services-prod/hyperfleet-tenant/hyperfleet/hyperfleet-adapter-chart. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check for Makefile and CI/CD configuration
echo "=== Makefile targets ==="
cat -n Makefile | grep -i "chart\|helm" || echo "No chart/helm targets found"
echo -e "\n=== Repository structure ==="
find . -type f -name "Makefile" -o -name ".konfluxci.yaml" -o -name ".tekton*" | head -20
echo -e "\n=== Tekton/Konflux pipeline files ==="
if [ -d ".tekton" ]; then ls -la .tekton/; fi
if [ -f ".konfluxci.yaml" ]; then cat .konfluxci.yaml; fi
echo -e "\n=== Chart directory ==="
if [ -d "charts" ] || [ -d "helm" ]; then find . -type d \( -name "charts" -o -name "helm" \) -exec ls -la {} \;; fi
echo -e "\n=== Build/push targets in Makefile ==="
cat Makefile | grep -A 5 "\.PHONY.*push\|\.PHONY.*build" | head -50Repository: openshift-hyperfleet/hyperfleet-adapter Length of output: 3839 🏁 Script executed: #!/bin/bash
echo "=== hyperfleet-adapter-chart-push.yaml ==="
cat -n .tekton/hyperfleet-adapter-chart-push.yaml | head -200
echo -e "\n=== Checking for registry/image configuration in pipeline ==="
grep -n "quay.io\|registry\|IMAGE\|ARTIFACT" .tekton/hyperfleet-adapter-chart-push.yaml | head -30Repository: openshift-hyperfleet/hyperfleet-adapter Length of output: 11067 🏁 Script executed: #!/bin/bash
echo "=== hyperfleet-adapter-tag.yaml (check for promotion logic) ==="
cat -n .tekton/hyperfleet-adapter-tag.yaml | grep -A 5 -B 5 "quay.io\|services-prod\|user-workloads" | head -100
echo -e "\n=== docs/deployment.md context around line 9 ==="
cat -n docs/deployment.md | sed -n '1,30p'
echo -e "\n=== Checking for any promotion/release documentation ==="
find . -type f \( -name "*.md" -o -name "*.yaml" \) | xargs grep -l "services-prod\|user-workloads" 2>/dev/nullRepository: openshift-hyperfleet/hyperfleet-adapter Length of output: 6818 🏁 Script executed: #!/bin/bash
echo "=== README.md (check for release/registry info) ==="
cat README.md | grep -A 10 -B 2 "services-prod\|user-workloads\|registry\|release\|chart" | head -80Repository: openshift-hyperfleet/hyperfleet-adapter Length of output: 1606 🏁 Script executed: #!/bin/bash
echo "=== Searching architecture repo for registry promotion/release patterns ==="
grep -r "services-prod\|user-workloads" --include="*.md" hyperfleet/ 2>/dev/null | head -30
echo -e "\n=== Release process documentation ==="
cat -n hyperfleet/docs/release/hyperfleet-release-process.md 2>/dev/null | grep -A 5 -B 5 "services-prod\|chart" | head -100Repository: openshift-hyperfleet/architecture Length of output: 11113 Line 9: Helm chart not published to documented registry — deployment will fail. The Tekton build pipeline publishes the chart to 🤖 Prompt for AI Agents |
||
|
|
||
| An adapter deployment requires three pieces of configuration, all settable through Helm values: | ||
|
|
||
| | Config | Helm value | Purpose | | ||
|
|
@@ -208,8 +210,8 @@ gcloud projects add-iam-policy-binding MY_PROJECT \ | |
| ```yaml | ||
| image: | ||
| registry: quay.io | ||
| repository: openshift-hyperfleet/hyperfleet-adapter | ||
| tag: v0.2.0 | ||
| repository: redhat-services-prod/hyperfleet-tenant/hyperfleet/hyperfleet-adapter | ||
| tag: <version> | ||
|
|
||
| adapterConfig: | ||
| create: true | ||
|
|
@@ -237,15 +239,15 @@ broker: | |
| ```yaml | ||
| image: | ||
| registry: quay.io | ||
| repository: openshift-hyperfleet/my-adapter | ||
| tag: v1.0.0 | ||
| repository: redhat-services-prod/hyperfleet-tenant/hyperfleet/hyperfleet-adapter | ||
| tag: <version> | ||
|
|
||
| adapterConfig: | ||
| create: true | ||
| yaml: | ||
| adapter: | ||
| name: my-adapter | ||
| version: "1.0.0" | ||
| version: "<version-no-v-prefix>" | ||
| clients: | ||
| hyperfleet_api: | ||
| base_url: http://hyperfleet-api:8000 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.