$ microk8s enable registry
# or if you want to specify the amount of storage to be added. E.g., to use 40Gi:
$ microk8s enable registry:size=40Gi
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
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
#!/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 |
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
# switch namedCertificates: null with | |
namedCertificates: | |
- certFile: wildcard.example.com.crt | |
keyFile: wildcard.example.com.key | |
names: | |
- "dashboard.openshift.example.com" | |
# ref: |