Created
October 30, 2020 12:58
-
-
Save dmage/445ab91f2977a5d45895b92e52f36fe4 to your computer and use it in GitHub Desktop.
This file contains 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 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