Closed mierea closed 1 week ago
The error your seeing is because your secret doesn't include the database or smtp passwords. See https://openunison.github.io/namespace_as_a_service/ Using ArgoCD.
You will and to also reenable amq. If you have storage available, I'd enable the PVC too. See Production AMQ on the same page.
Found my answer here:
amqEnvSecret.getData().put("JDBC_DRIVER", this.props.get("OU_JDBC_DRIVER").getBytes("UTF-8"));
amqEnvSecret.getData().put("JDBC_URL", this.props.get("OU_JDBC_URL").getBytes("UTF-8"));
amqEnvSecret.getData().put("JDBC_USER", this.props.get("OU_JDBC_USER").getBytes("UTF-8"));
amqEnvSecret.getData().put("JDBC_PASSWORD", this.props.get("OU_JDBC_PASSWORD").getBytes("UTF-8"));
amqEnvSecret.getData().put("TLS_KS_PWD", ksPassword.getBytes("UTF-8"));
Heh @mlbiam you beat me to it. After I added this I still had few errors that were sovlved by tweaking the values file.
Also you need to sync multiple times what is left out of sync to actually sync everything (sync wave not really working i guess)
I'll close the ticket, thanks!
Excellent @mierea ! Feedback on our deployment docs and methods is greatly appreciated! We want to make openunison easier to deploy.
My application.yaml
My secrets file:
My values file:
I tried with and without ActiveMq, with and without trusted certs, with and without cert generation etc.
on first sync it fails because the order of operations must be wrong (waits for webhooks before orchestra is even deployed) trying to sync orchestra generates this in the operator error log
Any idea what I'm doing wrong?