- OpenShift CLI Version >= 4.3.0
Needed for kustomize
oc version
- Create a branch in the repository or fork the repository.
- If you branched, update
./subscription/subscription.yaml
and setapps.open-cluster-management.io/github-branch: master
to your branch name. - If you forked the repo, update
./subscription/channel.yaml
and setspec.pathname
to your forked git repository url
- Create the file
./subscriptions/secret.yaml
---
apiVersion: v1
kind: Secret
metadata:
name: my-github-secret
namespace: baremetal-assets
data:
user: BASE64_ENCRYPTED_USERNAME
accessToken: BASE64_ENCRYPTED_PASSWORD
- Base64 encode your git username, and replace
BASE64_ENCRYPED_USERNAME
- Base64 encode your git access token, and replace
BASE64_ENCRYPTED_PASSWORD
- Add the subscription to your Red Hat Advanced Cluster Management for Kubernetes HUB
oc apply -k subscription/
- After you have completed the ONE time setup, you will start to see the BMA Objects from the
./bma/BareMetalAssets
folder start appearing in the Bare Metal Asset UI. - If you commit a change to your branch or forked repo, those changes will appear in the Bare Metal Asset UI in <60s
- The namespace used for the Bare Metal Asset Objects is
default
Reach out to acm-contact@redhat.com
in coreos.slack.com for help