This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM quay.io/containerdisks/fedora:42 as builder | |
FROM quay.io/fedora/fedora:42 | |
COPY --from=builder /disk/* / | |
RUN dnf install qemu-img -y | |
RUN ls -lrt / | |
RUN qemu-img convert -f qcow2 -O vmdk disk.img output.vmdk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package populator | |
//go:generate mockgen -destination=mocks/storage_mock_client.go -package=storage_mocks . StorageApi | |
type StorageApi interface { | |
StorageMapper | |
StorageResolver | |
} | |
type StorageAdapterID string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install and configure HAProxy for OpenShift | |
hosts: all | |
become: yes | |
user: root | |
vars: | |
openshift_api_vip: 192.168.122.90 | |
openshift_apps_vip: 192.168.122.63 | |
tasks: | |
- name: Install HAProxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: root-ca-to-cacerts | |
spec: | |
initContainers: | |
- name: add-kube-root-ca-to-cacerts | |
image: registry.access.redhat.com/ubi9/openjdk-21 | |
volumeMounts: | |
- mountPath: /opt/new-cacerts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.stream.*; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpClient; | |
import java.net.URI; | |
import java.net.http.HttpResponse; | |
import java.net.http.HttpClient.Version; | |
import java.net.http.HttpRequest.BodyPublishers; | |
import java.net.http.HttpResponse.BodyHandlers; | |
import java.time.Duration; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# | |
set -xe | |
kind delete cluster orchestrator | |
KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER=native kind create cluster --config - <<EOF | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
name: orchestrator | |
networking: |
This document provides step-by-step instructions for developers to set up a local installation of Orchestrator using the Helm chart provided in rgolangh/janus-idp-workflows-helm repository.
Before proceeding, ensure you have the following prerequisites installed:
- Helm v3+
- Kubernetes cluster configured (e.g., Kind, Minikube, Docker Desktop with Kubernetes enabled)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
pushd $(mktemp -d -p .) | |
cleanup() { | |
popd | |
} | |
trap cleanup EXIT SIGINT SIGTERM | |
VERDACCIO_CONF=$(mktemp -p . XXX-verdaccio.conf) | |
BACKSTAGE_PLUGINS_DOCKERFILE=$(mktemp -p . XXX-backstage-plugins.Dockerfile) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Template | |
apiVersion: template.openshift.io/v1 | |
metadata: | |
name: f37-arm | |
namespace: openshift-cnv | |
labels: | |
os.template.kubevirt.io/fedora37: 'true' | |
template.kubevirt.io/type: vm | |
workload.template.kubevirt.io/server: 'true' | |
annotations: |
NewerOlder