Fix to deal with k8s violation of RFC2045 section 6.8 MIME base64 format regarding newlines
Change-Id: Iaa5bddead83e5ec8076b876bdca1967acfb69212
diff --git a/scripts/pki/Makefile b/scripts/pki/Makefile
index a21f042..70fce4f 100644
--- a/scripts/pki/Makefile
+++ b/scripts/pki/Makefile
@@ -50,12 +50,12 @@
@echo "# Certificates can be regenerated with scripts/pki/Makefile" >> $@
@echo "# Created on: `date -u`, good for $(EXPIRATION_DAYS) days" >> $@
@echo "ca_cert_chain: |" >> $@
- @cat xos-CA.pem | base64 -b 72 | sed 's/^/ /' >> $@
+ @cat xos-CA.pem | base64 | sed 's/^/ /' >> $@
@echo "secrets:" >> $@
@echo " core_api_cert: |" >> $@
- @cat xos-core.pem | base64 -b 72 | sed 's/^/ /' >> $@
+ @cat xos-core.pem | base64 | sed 's/^/ /' >> $@
@echo " core_api_key: |" >> $@
- @cat xos-core.key | base64 -b 72 | sed 's/^/ /' >> $@
+ @cat xos-core.key | base64 | sed 's/^/ /' >> $@
clean:
rm -rf root_ca *.pem *.key *.csr helm_xos_pki.yaml