- Download deploy repo
git clone https://github.com/stolostron/deploy.git
- Create the nuke.sh script
cd deploy
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>HyperShift PR Report — 2026-05-13 to 2026-05-20</title> | |
| <style> | |
| :root { | |
| --bg:#0f1117;--card:#181b24;--border:#2a2e3a;--text:#c9cdd5;--text-dim:#6b7280; | |
| --accent:#3b82f6;--accent-dim:#1e3a5f;--green:#22c55e;--green-dim:#0d3320; |
| # Makefile for OIDC Tools | |
| .PHONY: help build clean test install run-example | |
| # Variables | |
| BINARY_NAME=oidc-tools | |
| VERSION=$(shell git describe --tags --always --dirty 2>/dev/null || echo "dev") | |
| help: ## Show this help | |
| @echo "OIDC Tools - Tools for managing OIDC documents in Hypershift HostedClusters" |
| apiVersion: mirror.openshift.io/v1alpha2 | |
| kind: ImageSetConfiguration | |
| storageConfig: | |
| registry: | |
| imageURL: registry.hypershiftbm.lab:5000/openshift/release/metadata:latestv2 | |
| mirror: | |
| platform: | |
| channels: | |
| - name: candidate-4.17 | |
| minVersion: 4.17.0-ec.1 |
| #!/bin/bash | |
| function identifyImages() { | |
| export KUBECONFIG=/root/.kcli/clusters/hub-ipv6/auth/kubeconfig | |
| > imagesToMirror.txt | |
| IFS=$'\n' | |
| for image in $(oc get pod -A -o yaml | grep "Back-off pulling image"); do | |
| extractedImage=$(echo "$image" | grep -o '"[^"]*"') | |
| finalImage=$(echo "$extractedImage" | cut -d '"' -f 2) | |
| echo $finalImage >> $filename |
git clone https://github.com/stolostron/deploy.git
cd deploy
| package main | |
| import ( | |
| "fmt" | |
| corev1 "k8s.io/api/core/v1" | |
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| ) | |
| type labelChecker struct { |
| apiVersion: hypershift.openshift.io/v1beta1 | |
| kind: HostedCluster | |
| metadata: | |
| creationTimestamp: null | |
| name: sample-hosted | |
| namespace: clusters | |
| spec: | |
| autoscaling: {} | |
| controllerAvailabilityPolicy: SingleReplica | |
| dns: |
| #!/usr/bin/env python3 | |
| import RPi.GPIO as GPIO | |
| import time | |
| from flask import Flask | |
| from flask_restful import Resource, Api | |
| class LuxaOS(Resource): | |
| def put(self, state): | |
| activateLuxaOS(state) |
| apiVersion: machineconfiguration.openshift.io/v1 | |
| kind: MachineConfig | |
| metadata: | |
| labels: | |
| machineconfiguration.openshift.io/role: master | |
| name: egress-limit-ssh | |
| spec: | |
| config: | |
| ignition: | |
| version: 3.2.0 |