Skip to content

Instantly share code, notes, and snippets.

@estroz
Created May 7, 2020 23:40
Show Gist options
  • Save estroz/b79b0de33557163f64d2717359286cca to your computer and use it in GitHub Desktop.
Save estroz/b79b0de33557163f64d2717359286cca to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: memcached-operator-index-server
namespace: default
spec:
containers:
- command:
- /bin/bash
- -c
- '/bin/opm registry add -d ./index.db -b quay.io/estroz/memcached-operator-bundle:v0.0.1 && \
/bin/opm registry serve -d ./index.db'
ports:
- name: registry-grpc
containerPort: 50051
# Build with changes in https://github.com/operator-framework/operator-registry/pull/320
image: quay.io/operator-framework/upstream-opm-builder:latest
imagePullPolicy: IfNotPresent
name: memcached-operator-index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment