Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
# switch namedCertificates: null with | |
namedCertificates: | |
- certFile: wildcard.example.com.crt | |
keyFile: wildcard.example.com.key | |
names: | |
- "dashboard.openshift.example.com" | |
# ref: |
#!/bin/bash | |
OC_DEFAULT_SUBDOMAIN="openshift.example.com" | |
# Create a pem file with the new files | |
cat ${OC_DEFAULT_SUBDOMAIN}.crt ${OC_DEFAULT_SUBDOMAIN}.key ${OC_DEFAULT_SUBDOMAIN}.ca-cert > ${OC_DEFAULT_SUBDOMAIN}.combined.pem | |
# Create a backup, just in case | |
mkdir -p openshift/backup | |
oc export -n default secrets/router-certs sa/router clusterrolebindings/router-router-role deploymentconfig/router service/router > openshift/backup/default.router.backup.yaml |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of