redhat-cop / openshift-toolkit

A collection of code samples to help you get started with OpenShift
Apache License 2.0
234 stars 150 forks source link

3.11 ocp-master-cert-backup.sh #64

Closed Klaas- closed 5 years ago

Klaas- commented 5 years ago

Hi, ocp-master-cert-backup.sh is not working on a containerized 3.11. It checks for atomic-openshift-master-api which is not a service here.

Only running service (but that does not define a master) is atomic-openshift-node.service.

I would suggest to check for /etc/origin/master/ which only exists on masters.

Greetings Klaas

Klaas- commented 5 years ago

Should this be seen as a subset of https://github.com/openshift/openshift-ansible-contrib/blob/b78ba9349433603b593fd8f6dfc276a911c36f0b/reference-architecture/day2ops/scripts/backup_master_node.sh ?