Adil Karim
02/09/2022, 11:29 AMspec:
volumes:
- name: config
secret:
secretName: my-service-config
containers:
volumeMounts:
- mountPath: "/etc/my-service-config"
readOnly: true
name: "config"
From what I can see on the docs we can import that into the container using K8sRunLauncher
. Is that right?
The main question is, can I merge configs? It would be good for all the production string values for resources to come from this precompiled YAML file, but op configuration we might want to handle in the launchpad - this would be great DX for our Data Scientists.daniel
02/09/2022, 3:03 PMAlex Service
02/09/2022, 5:36 PMdagster.utils.yaml_utils
; it has some helper functions in there that likely do what you’re looking for 🙂Adil Karim
02/09/2022, 6:50 PM