-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update images and add downstream images (#30)
Signed-off-by: Zhiwei Yin <[email protected]>
- Loading branch information
1 parent
066a27e
commit 190ba97
Showing
12 changed files
with
213 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: POST | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
- release-* | ||
|
||
env: | ||
GO_VERSION: '1.22' | ||
GO_REQUIRED_MIN_VERSION: '' | ||
USE_EXISTING_CLUSTER: false # set to true to use an existing kind cluster for debugging with act | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add permisson to docker.sock | ||
run: sudo chown runner:docker /var/run/docker.sock | ||
if: ${{ env.ACT }} # this step only runs locally when using the https://github.com/nektos/act to debug the e2e | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
- name: Install kind | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.22.0 | ||
install_only: true | ||
- name: Test kind works and there is no cluster started | ||
run: | | ||
[[ $(kind get clusters | wc -l) -eq 0 ]] | ||
- name: Set KUBECONFIG dir | ||
run: | | ||
mkdir -p /home/runner/.kube | ||
- name: Create Hub cluster | ||
run: | | ||
kind create cluster --name hub | ||
env: | ||
KUBECONFIG: /home/runner/.kube/hub-kubeconfig | ||
- name: Create Spoke cluster | ||
run: | | ||
kind create cluster --name spoke | ||
env: | ||
KUBECONFIG: /home/runner/.kube/spoke-kubeconfig | ||
- name: Test Hub and Spoke clusters | ||
run: | | ||
kubectl cluster-info --kubeconfig /home/runner/.kube/hub-kubeconfig | ||
kubectl get pods -A --kubeconfig /home/runner/.kube/hub-kubeconfig | ||
kubectl cluster-info --kubeconfig /home/runner/.kube/spoke-kubeconfig | ||
kubectl get pods -A --kubeconfig /home/runner/.kube/spoke-kubeconfig | ||
- name: Create internal kubeconfigs | ||
run: | | ||
kind get kubeconfig --internal --name hub > /home/runner/.kube/hub-internal-kubeconfig | ||
kind get kubeconfig --internal --name spoke > /home/runner/.kube/spoke-internal-kubeconfig | ||
- name: Install MCE+Policy | ||
run: | | ||
make e2e-install | ||
env: | ||
KUBECONFIG: /home/runner/.kube/hub-kubeconfig | ||
UserName: ${{ secrets.IMAGE_PULL_SECRET_USER_NAME }} | ||
Password: ${{ secrets.IMAGE_PULL_SECRET_TOKEN }} | ||
MCEValues: ./test/configuration/mce-ds-values.yaml | ||
PolicyValues: ./test/configuration/policy-ds-values.yaml | ||
- name: Import hosted cluster | ||
run: | | ||
make e2e-import-cluster | ||
env: | ||
KUBECONFIG: /home/runner/.kube/hub-kubeconfig | ||
MANAGED_CLUSTER_NAME: spoke | ||
MANAGED_KUBECONFIG: /home/runner/.kube/spoke-internal-kubeconfig | ||
EXTERNAL_MANAGED_KUBECONFIG: /home/runner/.kube/spoke-internal-kubeconfig | ||
- name: Run e2e | ||
run: | | ||
make test-e2e | ||
env: | ||
KUBECONFIG: /home/runner/.kube/hub-kubeconfig | ||
MANAGED_CLUSTER_NAME: spoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v2 | ||
name: mce | ||
description: A Helm chart for MCE | ||
version: 2.7.0 | ||
appVersion: 2.7.0 | ||
version: 1.0.0 | ||
appVersion: 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
|
||
replicaCount: 2 | ||
availabilityConfig: High | ||
mceVersion: 2.8 | ||
replicaCount: 1 | ||
availabilityConfig: Basic | ||
images: | ||
registry: "registry.redhat.io/multicluster-engine" | ||
|
||
overrides: | ||
backplane_operator: "registry.redhat.io/multicluster-engine/backplane-rhel9-operator@sha256:8c2f526398df56f92bfc62af8e42c3e373c236ab67e58e877cf9690fc480d46a" | ||
registration_operator: "registry.redhat.io/multicluster-engine/registration-operator-rhel9@sha256:8a37700e9848830dca9a3eebd4c8ca6abd7b04dc28ab5cefd743d00dd58be92a" | ||
hypershift_addon_operator: "registry.redhat.io/multicluster-engine/hypershift-addon-rhel9-operator@sha256:af40c47a901c3c1851104427d3fd9db1f0cb6205e37917dc87af57facc90d75d" | ||
hypershift_operator: "registry.redhat.io/multicluster-engine/hypershift-rhel9-operator@sha256:161292cbf4b81c928e6dc9162dc63b02b21c93bfa92b3272f437dc4ff5a02c3a" | ||
managedcluster_import_controller: "registry.redhat.io/multicluster-engine/managedcluster-import-controller-rhel9@sha256:09a2f864c76373c9c6af4e8f7c2ffe4dffecc2637cf1647b7d2926419265e3f4" | ||
multicloud_manager: "registry.redhat.io/multicluster-engine/multicloud-manager-rhel9@sha256:a0873734a8e0d0b5092820d7ded0436c30fd572abdabb01159b53f0bb2e9d4a3" | ||
addon_manager: "registry.redhat.io/multicluster-engine/addon-manager-rhel9@sha256:25cdce9461a24748fc6631fa4394b813deabdb27d0c95956508d2a38c504a6a9" | ||
work: "registry.redhat.io/multicluster-engine/work-rhel9@sha256:1fecd5872ad4a0ce5ddab8a156a54315fc51508a4a18a80d901af7f9af294ec6" | ||
registration: "registry.redhat.io/multicluster-engine/registration-rhel9@sha256:26ef4145f464f1c5cdb6ab42c119766669f7f08e46cbd4185bdbd3f4cd70bb54" | ||
placement: "registry.redhat.io/multicluster-engine/placement-rhel9@sha256:737cf1d7dcdf8c32d96894eebd686caf35959232f3fd774b307cf1df8068d26c" | ||
kube_rbac_proxy_mce: "registry.redhat.io/multicluster-engine/kube-rbac-proxy-mce-rhel9@sha256:b1ada80f881131283a94d84cb37edc4b9725ccea9b66ebf8ccd6956cb515531a" | ||
clusterlifecycle_state_metrics: "registry.redhat.io/multicluster-engine/clusterlifecycle-state-metrics-rhel9@sha256:bf5bb514e4d8af5e38317c3727d4cd9f90c22b293fe3e2367f9f0e179e0ee0c7" | ||
backplane_operator: "backplane-rhel9-operator@sha256:8c2f526398df56f92bfc62af8e42c3e373c236ab67e58e877cf9690fc480d46a" | ||
registration_operator: "registration-operator-rhel9@sha256:8a37700e9848830dca9a3eebd4c8ca6abd7b04dc28ab5cefd743d00dd58be92a" | ||
hypershift_addon_operator: "hypershift-addon-rhel9-operator@sha256:af40c47a901c3c1851104427d3fd9db1f0cb6205e37917dc87af57facc90d75d" | ||
hypershift_operator: "hypershift-rhel9-operator@sha256:161292cbf4b81c928e6dc9162dc63b02b21c93bfa92b3272f437dc4ff5a02c3a" | ||
managedcluster_import_controller: "managedcluster-import-controller-rhel9@sha256:09a2f864c76373c9c6af4e8f7c2ffe4dffecc2637cf1647b7d2926419265e3f4" | ||
multicloud_manager: "multicloud-manager-rhel9@sha256:a0873734a8e0d0b5092820d7ded0436c30fd572abdabb01159b53f0bb2e9d4a3" | ||
addon_manager: "addon-manager-rhel9@sha256:25cdce9461a24748fc6631fa4394b813deabdb27d0c95956508d2a38c504a6a9" | ||
work: "work-rhel9@sha256:1fecd5872ad4a0ce5ddab8a156a54315fc51508a4a18a80d901af7f9af294ec6" | ||
registration: "registration-rhel9@sha256:26ef4145f464f1c5cdb6ab42c119766669f7f08e46cbd4185bdbd3f4cd70bb54" | ||
placement: "placement-rhel9@sha256:737cf1d7dcdf8c32d96894eebd686caf35959232f3fd774b307cf1df8068d26c" | ||
kube_rbac_proxy_mce: "kube-rbac-proxy-mce-rhel9@sha256:b1ada80f881131283a94d84cb37edc4b9725ccea9b66ebf8ccd6956cb515531a" | ||
clusterlifecycle_state_metrics: "clusterlifecycle-state-metrics-rhel9@sha256:bf5bb514e4d8af5e38317c3727d4cd9f90c22b293fe3e2367f9f0e179e0ee0c7" | ||
imageCredentials: | ||
dockerConfigJson: "" | ||
registry: "registry.redhat.io" | ||
userName: "" | ||
password: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
mceVersion: 2.8 | ||
replicaCount: 1 | ||
availabilityConfig: Basic | ||
|
||
images: | ||
registry: "quay.io/acm-d" | ||
|
||
overrides: | ||
backplane_operator: "backplane-rhel9-operator:v2.8.0-13" | ||
registration_operator: "registration-operator-rhel9:v2.8.0-13" | ||
hypershift_addon_operator: "hypershift-addon-rhel9-operator:v2.8.0-5" | ||
hypershift_operator: "hypershift-rhel9-operator:v2.8.0-14" | ||
managedcluster_import_controller: "managedcluster-import-controller-rhel9:v2.8.0-13" | ||
multicloud_manager: "multicloud-manager-rhel9:v2.8.0-9" | ||
addon_manager: "addon-manager-rhel9:v2.8.0-13" | ||
work: "work-rhel9:v2.8.0-13" | ||
registration: "registration-rhel9:v2.8.0-13" | ||
placement: "placement-rhel9:v2.8.0-13" | ||
kube_rbac_proxy_mce: "kube-rbac-proxy-mce-rhel9:v2.8.0-13" | ||
clusterlifecycle_state_metrics: "clusterlifecycle-state-metrics-rhel9:v2.8.0-10" | ||
|
||
imageCredentials: | ||
dockerConfigJson: "" | ||
registry: "quay.io" | ||
userName: "" | ||
password: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
|
||
mceVersion: 2.8 | ||
replicaCount: 1 | ||
availabilityConfig: Basic | ||
|
||
images: | ||
registry: "quay.io/stolostron" | ||
|
||
overrides: | ||
backplane_operator: "quay.io/stolostron/backplane-operator:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
registration_operator: "quay.io/stolostron/registration-operator:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
hypershift_addon_operator: "quay.io/stolostron/hypershift-addon-operator:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
hypershift_operator: "quay.io/acm-d/hypershift-rhel9-operator:v2.8.0-4" | ||
managedcluster_import_controller: "quay.io/stolostron/managedcluster-import-controller:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
multicloud_manager: "quay.io/stolostron/multicloud-manager:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
addon_manager: "quay.io/stolostron/addon-manager:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
work: "quay.io/stolostron/work:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
registration: "quay.io/stolostron/registration:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
placement: "quay.io/stolostron/placement:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
kube_rbac_proxy_mce: "quay.io/stolostron/kube-rbac-proxy-mce:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
clusterlifecycle_state_metrics: "quay.io/stolostron/clusterlifecycle-state-metrics:2.13.0-SNAPSHOT-2024-11-26-00-59-13" | ||
backplane_operator: "backplane-operator:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
registration_operator: "registration-operator:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
hypershift_addon_operator: "hypershift-addon-operator:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
managedcluster_import_controller: "managedcluster-import-controller:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
multicloud_manager: "multicloud-manager:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
addon_manager: "addon-manager:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
work: "work:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
registration: "registration:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
placement: "placement:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
kube_rbac_proxy_mce: "kube-rbac-proxy-mce:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
clusterlifecycle_state_metrics: "clusterlifecycle-state-metrics:2.13.0-SNAPSHOT-2024-12-22-19-33-27" | ||
|
||
imageCredentials: | ||
dockerConfigJson: "" | ||
registry: "quay.io" | ||
userName: "" | ||
password: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
global: | ||
registryOverride: "quay.io/acm-d" | ||
# registry for ACM 2.11.2 | ||
# registryOverride: "registry.redhat.io" | ||
imageOverrides: | ||
# upstream images | ||
governance_policy_propagator: "governance-policy-propagator-rhel9:v2.13.0-11" | ||
governance_policy_addon_controller: "acm-governance-policy-addon-controller-rhel9:v2.13.0-12" | ||
config_policy_controller: "config-policy-controller-rhel9:v2.13.0-14" | ||
governance_policy_framework_addon: "acm-governance-policy-framework-addon-rhel9:v2.13.0-11" | ||
klusterlet_addon_controller: "klusterlet-addon-controller-rhel9:v2.13.0-8" | ||
|
||
namespace: multicluster-engine | ||
pullSecret: open-cluster-management-image-pull-credentials | ||
|
||
cma: | ||
defaultConfig: | ||
name: addon-hosted-config | ||
namespace: multicluster-engine | ||
grc: | ||
hubconfig: | ||
replicaCount: 1 | ||
cluster-lifecycle: | ||
hubconfig: | ||
replicaCount: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters