Last active
July 7, 2020 15:47
-
-
Save ikurni/b2c1d7ac2bb267a85894b416bc77bf52 to your computer and use it in GitHub Desktop.
Openshift 4 Add worker nodes after 24 hours
This file contains hidden or 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
##Replace api-int.clusterDomain with your FQDN only and run the below commands: | |
export MCS=api-int.clusterDomain:22623 | |
##Run below command to update worker.ign file | |
echo "q" | openssl s_client -connect $MCS -showcerts | awk '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/' | base64 --wrap=0 | tee ./api-int.base64 && \ | |
sed --regexp-extended --in-place=.backup "s%base64,[^,]+%base64,$(cat ./api-int.base64)\"%" ./worker.ign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment