This file has been truncated, but you can view the full file.
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
{ | |
"schema": "olm.package", | |
"name": "amq-streams", | |
"defaultChannel": "stable", | |
"icon": { | |
"base64data": "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAIj5JREFUeNrsnX1wVOW9x5/dBBIgLxvAKFFkGape0Zo4tFNfppLcueKlRQlzi0A7HRKsdG5va5Iy3r96b7Ktf9w71Ztgp+OI1Sx3Wt/wDol2ZLRqFjuibaEktmClRQJULOElGxKSAHm553dyTrpJNpvz9pzzPOd8vzPbDUKzZ3fP5/v8fr/neX5PiEHS6qPrWUR5KtP+WK49L1EeUe3n1L+3qnblkdR+7lQex7WfE/rf33xi/O8hyRTCRyAF6GUa1PRcqoFdLthlJjSj6NBMo1MxhnZ8ezAAyDzs5RroZQ6M4J6qcMOW9qJvfqd94MC+jv7f/jpx3VO7YAowACgF+HIN+JUCjur24P9aFVv0RPOE/3bpsML/rNmJ4XNde/s/2Ju4qq4hgbsABhDEEX6t34CfCf50uvLXTjYy0J8Y+vR4a/LlZkQIMABfQl+pjfCV7O8FOhZ0+NPpcudfOofPn2np2RXfu+i/drTg7oEByAz9Wg36SFDetx34p0QHJz5JhnLntPS99Vpr0Te+DTOAAUgR3tcEDXoe8Kczg0t/PtwyOjiwvWDNg0gTYADCQE+gV2ngR4P6OfCEf7IG2n/TmRVZsP2TlTfEsQYBBuAV+OXK02YN/kDLTfhTNXIhyUYGB+LJ53fsxGwCDMAt8An4+iCP9iLAP1lUPLx06GBMSQ/i+FZgADzC/FotzI/gExEL/lQN93QnL33Usf3EhoompAcwALvgRzXoqwC++PBPNoLR/ovx5EvPblfSg058YzAAs+DXI7+XE/7JdYLLx4/G+97+ZQxGAAMwGurX49OQH/7JR |
create this graph with:
opm alpha render-graph registry.redhat.io/redhat/redhat-operator-index:v4.14 --package-name quay-operator
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
func GetDataFromFBC(report index.Data) (index.Data, error) { | |
root := "./output/" + actions.GetVersionTagFromImage(report.Flags.IndexImage) + "/configs" | |
fileSystem := os.DirFS(root) | |
fbc, err := declcfg.LoadFS(fileSystem) | |
if err != nil { | |
return report, fmt.Errorf("unable to load the file based config : %s", err) | |
} | |
model, err := declcfg.ConvertToModel(*fbc) | |
if err != nil { |
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 | |
# Check if an image reference is provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <image-reference>" | |
exit 1 | |
fi | |
IMAGE_REF=$1 |
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
--- Changes started at 2024-03-13 20:01:22.594301 --- | |
Skipped: ./imgpkg/CODE_OF_CONDUCT.md - Reason: Unsupported file type | |
Skipped: ./imgpkg/go.mod - Reason: Unsupported file type | |
Skipped: ./imgpkg/LICENSE - Reason: Unsupported file type | |
Skipped: ./imgpkg/code-header-template.txt - Reason: Unsupported file type | |
Skipped: ./imgpkg/MAINTAINERS.md - Reason: Unsupported file type | |
Skipped: ./imgpkg/GOVERNANCE.md - Reason: Unsupported file type | |
Skipped: ./imgpkg/go.sum - Reason: Unsupported file type | |
Skipped: ./imgpkg/.golangci.yml - Reason: Unsupported file type | |
Skipped: ./imgpkg/NOTICE - Reason: Unsupported file type |
podman --version
podman version 5.0.1
tilt version
v0.33.12, built 2024-03-28
start Kind with a local registry. Just use the regular Kind with registry script
To solidify these concepts, let’s walk through a real example on OpenShift. We will attempt to install the OpenShift Pipelines Operator as a cluster extension, but we’ll initially misconfigure its RBAC to trigger the preflight checks. Then we’ll fix the permissions.
Step 1: Create a Service Account with limited RBAC. In this example, we create a service account pipelines-installer in the pipelines project, and give it a deliberately minimal ClusterRole that is missing some permissions we know the operator will need:
apiVersion: v1
kind: ServiceAccount
metadata:
OlderNewer