Skip to content

Instantly share code, notes, and snippets.

View wtam2018's full-sized avatar

William Tam wtam2018

  • Red Hat
  • Boston, MA
View GitHub Profile
Connect to VPN
# skip this. we don't depend on pipeline anymore
#Clone Pipelines Operator bundle source
#http://pkgs.devel.redhat.com/cgit/containers/openshift-pipelines-operator-prod-operator-metadata/
#Checkout the right branch e.g. "pipelines-1.3-rhel-8"
#Edit clusterserviceversion yaml to remove "replaces" statement
#Docker build the bundle
#Push the bundle
@wtam2018
wtam2018 / Installing GitOps Operator Candidate in Disconnected Cluster
Last active July 16, 2021 16:11
Installing GitOps Operator Candidate in Disconnected Cluster
0. Install the latest "oc" openshift-client and opm tool
https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/latest-4.7/
1. Login as kubeadmin
2. Connect to VPN
(skip) 2.1. Disable default operator indices
@wtam2018
wtam2018 / Installing GitOps Operator Candidate for testing
Last active March 19, 2021 05:43
Installing GitOps Operator Candidate for testing
1. Login as kubeadmin
2. Connect to VPN
3. add brew.registry.redhat.io token to pull-secret openshift global config
$ oc get secrets pull-secret -n openshift-config -o template='{{index .data ".dockerconfigjson"}}' | base64 -d > authfile
$ podman login --authfile authfile --username <username> --password <password> brew.registry.redhat.io
$ oc set data secret/pull-secret -n openshift-config --from-file=.dockerconfigjson=authfile