Telecominfraproject / wlan-docs

11 stars 4 forks source link

./copy-certs-to-helm.sh ~/wlan-cloud-helm/ can't work in wlan-cloud-helm master code #1

Open 6ang996 opened 3 years ago

6ang996 commented 3 years ago

tip@tip:~/wlan-pki-cert-scripts$ ./copy-certs-to-helm.sh ~/wlan-cloud-helm/ Copying certs to wlan-integrated-cloud-component-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-integrated-cloud-component-service/resources/config/certs/' is not a directory Copy certificates to a central location ========= All Certs Copied ========== ========= Creating AP Package ======= adding: ca.pem (deflated 26%) adding: client.pem (deflated 43%) adding: client_dec.key (deflated 23%) AP zip package available at ./generated/ap.zip

OUTDATED, NOT NEEDED ANYMORE, LEFT FOR BACKWARDS COMPATIBILITY

Copying certs to kafka certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/kafka/resources/config/certs/' is not a directory Copying certs to cassandra certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/cassandra/resources/config/certs/' is not a directory Copying certs to postgres certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/postgresql/resources/config/certs/' is not a directory Copying certs to opensync-gw-cloud certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/opensync-gw-cloud/resources/config/certs' is not a directory Copying certs to opensync-gw-static certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/opensync-gw-static/resources/config/certs' is not a directory Copying certs to opensync-mqtt-broker certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/opensync-mqtt-broker/resources/config/certs/' is not a directory Copying certs to wlan-portal-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-portal-service/resources/config/certs/' is not a directory Copying certs to wlan-prov-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-prov-service/resources/config/certs/' is not a directory Copying certs to wlan-ssc-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-ssc-service/resources/config/certs/' is not a directory Copying certs to wlan-spc-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-spc-service/resources/config/certs/' is not a directory Copying certs to wlan-port-forwarding-gateway-service certs folder cp: target '/home/tip/wlan-cloud-helm//tip-wlan/charts/wlan-port-forwarding-gateway-service/resources/config/certs/' is not a directory

We have to reset hard to this commit ID cd wlan-cloud-helm git reset --hard da7bbf1723370623d0e6260dbc98365b3fc73742 cd -

4c74356b41 commented 3 years ago

hey, what exactly doesn't work for you? all those is not a directory are expected due to the helm chart secrets rework.

https://github.com/Telecominfraproject/wlan-cloud-helm/blob/master/CHANGELOG.md

ps. maybe try without the trailing slash, since you have // in the path, but again, those folders do not exist, so it should be fine.