Skip to content

Instantly share code, notes, and snippets.

@astoycos
Last active August 2, 2023 16:17
Show Gist options
  • Save astoycos/f57bb0703ca00acb583122afbab718a8 to your computer and use it in GitHub Desktop.
Save astoycos/f57bb0703ca00acb583122afbab718a8 to your computer and use it in GitHub Desktop.
Install-bpfd-0.2.1-OLM-manual
  1. Create namespace
oc create ns openshift-bpfd
  1. Install cert-manager bits
kubectl apply -f https://github.com/bpfd-dev/bpfd/releases/download/v0.2.1/bpfd-cert-manager-v0.2.1.yaml -n openshift-bpfd
  1. Create the operatorgroup to install from OLM
oc apply -f - <<EOF
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
  name: bpfd-operator
  namespace: openshift-bpfd
spec:
  targetNamespaces:
  - openshift-bpfd
EOF
  1. Create the subscription to actually install the operator
oc apply -f - <<EOF
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: bpfd-operator
  namespace: openshift-bpfd
spec:
  channel: alpha
  name: bpfd-operator
  source: community-operators 
  sourceNamespace: openshift-marketplace
  startingCSV: bpfd-operator.v0.2.1
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment