Last active
June 18, 2020 13:16
-
-
Save david-martin/af66a8ee2e1c4506376ccbeac378162a to your computer and use it in GitHub Desktop.
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 scratch | |
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | |
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | |
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | |
LABEL operators.operatorframework.io.bundle.package.v1=integreatly | |
LABEL operators.operatorframework.io.bundle.channels.v1=alpha | |
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha | |
COPY bundle/manifests /manifests/ | |
COPY bundle/metadata /metadata/ |
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
oc describe job -n openshift-marketplace | |
Name: a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5a8e59 | |
Namespace: openshift-marketplace | |
Selector: controller-uid=cb0c6aaa-6aa0-4928-890c-78c83ea15bd5 | |
Labels: controller-uid=cb0c6aaa-6aa0-4928-890c-78c83ea15bd5 | |
job-name=a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5a8e59 | |
Annotations: <none> | |
Parallelism: 1 | |
Completions: 1 | |
Start Time: Thu, 18 Jun 2020 12:02:53 +0100 | |
Pods Statuses: 0 Running / 0 Succeeded / 0 Failed | |
Pod Template: | |
Labels: controller-uid=cb0c6aaa-6aa0-4928-890c-78c83ea15bd5 | |
job-name=a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5a8e59 | |
Init Containers: | |
util: | |
Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:331a9a3662b6ee171b5079ba5ac0683b07ced943df4b3ba7e4fc2f52606e3c22 | |
Port: <none> | |
Host Port: <none> | |
Command: | |
/bin/cp | |
-Rv | |
/bin/cpb | |
/util/cpb | |
Environment: <none> | |
Mounts: | |
/util from util (rw) | |
pull: | |
Image: quay.io/dmartin/integreatly-bundle:2.3.0 | |
Port: <none> | |
Host Port: <none> | |
Command: | |
/util/cpb | |
/bundle | |
Environment: <none> | |
Mounts: | |
/bundle from bundle (rw) | |
/util from util (rw) | |
Containers: | |
extract: | |
Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:bcc4d32a95c07ec203b0840b1644e7219109f0f3dde4b311dfcc0dc9f5a4f894 | |
Port: <none> | |
Host Port: <none> | |
Command: | |
opm | |
alpha | |
bundle | |
extract | |
-m | |
/bundle/ | |
-n | |
openshift-marketplace | |
-c | |
a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5a8e59 | |
Environment: | |
CONTAINER_IMAGE: quay.io/dmartin/integreatly-bundle:2.3.0 | |
Mounts: | |
/bundle from bundle (rw) | |
Volumes: | |
bundle: | |
Type: EmptyDir (a temporary directory that shares a pod's lifetime) | |
Medium: | |
util: | |
Type: EmptyDir (a temporary directory that shares a pod's lifetime) | |
Medium: | |
Events: | |
Type Reason Age From Message | |
---- ------ ---- ---- ------- | |
Normal SuccessfulCreate 77m job-controller Created pod: a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5bg5l8 | |
Normal SuccessfulDelete 71m job-controller Deleted pod: a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f5bg5l8 | |
Warning BackoffLimitExceeded 71m (x2 over 71m) job-controller Job has reached the specified backoff limit |
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
oc logs a65a6665b5f24bc7c0842d977de04a8558f5da5166ff02d4e29c1518f52cxjx | |
time="2020-06-18T12:43:58Z" level=info msg="Using in-cluster kube client config" | |
time="2020-06-18T12:43:58Z" level=info msg="Reading file" file=/bundle/manifests/2.3.0 | |
time="2020-06-18T12:43:58Z" level=error msg="read failed: read /bundle/manifests/2.3.0: is a directory" file=/bundle/manifests/2.3.0 | |
Error: error loading manifests from directory: read /bundle/manifests/2.3.0: is a directory | |
Usage: | |
opm alpha bundle extract [flags] | |
Flags: | |
-c, --configmapname string name of configmap to write bundle data | |
-l, --datalimit uint maximum limit in bytes for total bundle data (default 1048576) | |
--debug enable debug logging | |
-h, --help help for extract | |
-k, --kubeconfig string absolute path to kubeconfig file | |
-m, --manifestsdir string path to directory containing manifests (default "/") | |
-n, --namespace string namespace to write configmap data (default "openshift-operator-lifecycle-manager") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment