Deploy retool and temporal services on oracle cloud kubernetes cluster with managed nodes using terraform

Dear community,

We are trying to deploy retool and temporal on Oracle cloud kubernetes cluster using terraform.
We started from this documentation and we transformed these manifests yaml files into terraform code using kubernetes resources.

After setting up all the required configurations and applying the terraform code and checking the created pods we got the following :

NAME                                          READY   STATUS             RESTARTS         AGE
api-ddb6c659d-xmn4r                           1/1     Running            0                28h
code-executor-758cf4c7fd-p7xfk                1/1     Running            0                27h
jobs-runner-5f4b574fc8-5n2x5                  1/1     Running            0                71m
postgres-7bb8b4569f-r6c5d                     1/1     Running            0                28h
retool-temporal-admintools-5898f89c56-q2f27   1/1     Running            0                28h
retool-temporal-frontend-76c88bbf44-sll2l     0/1     CrashLoopBackOff   334 (57s ago)    28h
retool-temporal-history-74bcb8d956-dntxx      0/1     CrashLoopBackOff   334 (26s ago)    28h
retool-temporal-matching-fcfcc686d-2v7bt      0/1     CrashLoopBackOff   18 (4m14s ago)   71m
retool-temporal-web-7884597975-zsk4r          1/1     Running            0                28h
retool-temporal-worker-54545bc99c-vrrzv       0/1     CrashLoopBackOff   18 (3m54s ago)   71m
workflow-worker-5978cbc4c4-s8pnz              0/1     CrashLoopBackOff   314 (9s ago)     26h
workflows-api-586dc4d7fb-vgqv9                1/1     Running            1 (28h ago)      28h

So, the temporal pods are crashing. When we checked the logs we got the following error :

2024/05/27 20:38:15 Loading config; env=docker,zone=,configDir=config
2024/05/27 20:38:15 Loading config files=[config/docker.yaml]
Unable to load configuration: config file corrupted: yaml: line 34: did not find expected key.

Note: we are using the following docker images to deploy the pods :

  • temporal admin : FROM temporalio/admin-tools:1.23.1
  • temporal one-offs : FROM tryretool/one-offs:retool-temporal-1.1.5
  • temporal UI : FROM temporalio/ui:2.27.1

We will be more than happy to provide more details and/or terraform code we are using to deploy the services

Thank you for your help