Skip to content

Instantly share code, notes, and snippets.

View camilamacedo86's full-sized avatar

Camila Macedo camilamacedo86

View GitHub Profile
@camilamacedo86
camilamacedo86 / add_properties.py
Created July 8, 2021 17:23 — forked from gallettilance/add_properties.py
Add maxOpenShiftVersion Property of "4.8" to all bundles that use deprecated v1beta1 APIs
# Requires
# OPM, operator-sdk v1.8.0 or higher
# grpcurl, podman or docker, skopeo, manifest-tool
import os
import re
import time
import json
import socket
import sqlite3