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
tags: dev4devs

Example of multi stage build for Docker images

# Base image Example

# ----------------
#############################################
# Temp image to build the prerequisites 
@camilamacedo86
camilamacedo86 / [OSEv3:vars]-Vars-3.11-Example
Last active February 26, 2021 04:46
[OpenShift] - Example of [OSEv3:vars] in the inventory file to setup 3.11 enterprise version with Operator Framework
[OSEv3:vars]
###########################################################################
### Ansible Vars
###########################################################################
timeout=60
ansible_user=user
ansible_become=yes
###########################################################################