best-kangaroo-27443
09/01/2024, 5:00 PM...
config:
dsn: <--- dsn connection details
...
I cant commit this to repo, but i see that a Secret
called hydra
is created with this value. wondering if a secretRef can be used in place of the raw valuebest-kangaroo-27443
09/02/2024, 12:14 AMJob
that reads from a secondary secret containing the dsn and to patch the hydra
secret with this value. I had to play around with helm hook weights to get it to work, but it seems the correct value was injected into hydra and auto-migration pods. there has to be a better way though…delightful-noon-48365
09/02/2024, 3:59 PMbest-kangaroo-27443
09/02/2024, 4:30 PMbest-kangaroo-27443
09/02/2024, 4:31 PMbest-kangaroo-27443
09/02/2024, 4:34 PMdelightful-noon-48365
09/02/2024, 4:39 PMdelightful-noon-48365
09/02/2024, 4:42 PMdelightful-noon-48365
09/02/2024, 4:44 PMbest-kangaroo-27443
09/02/2024, 4:48 PMdelightful-noon-48365
09/02/2024, 4:50 PMbest-kangaroo-27443
09/02/2024, 5:03 PMhydra
, which contains the dsn as configured in the chart. We made a job that patches this. It just seemed like a hacky workaround to do.best-kangaroo-27443
09/02/2024, 5:05 PMhydra
secret with its actual value.delightful-noon-48365
09/02/2024, 5:15 PMbest-kangaroo-27443
09/02/2024, 5:17 PMdelightful-noon-48365
09/02/2024, 5:24 PMbest-kangaroo-27443
09/02/2024, 5:25 PMbest-kangaroo-27443
09/02/2024, 5:27 PM