Created
August 5, 2020 15:29
-
-
Save mjudeikis/34a53d25d083010b80ddcba3ab853acd 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: csr | |
namespace: openshift-cluster-machine-approver | |
spec: | |
serviceAccount: machine-approver-sa | |
serviceAccountName: machine-approver-sa | |
containers: | |
- args: | |
- sh | |
- -c | |
- oc get csr -o name | xargs oc adm certificate approve >/dev/termination-log; exit 1 | |
image: registry.redhat.io/openshift4/ose-tools-rhel7:latest | |
name: csr | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
operator: Exists | |
- effect: NoExecute | |
key: node.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 120 | |
- effect: NoExecute | |
key: node.kubernetes.io/not-ready | |
operator: Exists | |
tolerationSeconds: 120 | |
- effect: NoSchedule | |
key: node.kubernetes.io/memory-pressure | |
operator: Exists | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment