Skip to content

Instantly share code, notes, and snippets.

@dmage
Created October 30, 2020 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmage/445ab91f2977a5d45895b92e52f36fe4 to your computer and use it in GitHub Desktop.
Save dmage/445ab91f2977a5d45895b92e52f36fe4 to your computer and use it in GitHub Desktop.
# oc create -f ./boater-probe.yaml
# oc -n openshift logs pod/boater-probe
---
apiVersion: v1
kind: Pod
metadata:
name: boater-probe
namespace: openshift
spec:
containers:
- name: boater
image: quay.io/rh-obulatov/boater
command:
- boater
- --config-json=/etc/creds/.dockerconfigjson
- -a
- -v
- get-manifest
- registry.redhat.io/rhscl/ruby-26-rhel7:latest
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: creds
mountPath: /etc/creds
restartPolicy: Never
volumes:
- name: creds
secret:
secretName: samples-registry-credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment