apiVersion: v1 kind: Pod metadata: name: entitled-build-pod spec: containers: - name: entitled-build image: registry.access.redhat.com/ubi8:latest command: [ "/bin/sh", "-c", "dnf search kernel-devel --showduplicates" ] volumeMounts: - name: secret-entitlement mountPath: /etc/pki/entitlement readOnly: true volumes: - name: secret-entitlement secret: secretName: entitlement restartPolicy: Never