feat: add 1st version of rendered jobs#10
Conversation
MoisesGSalas
left a comment
There was a problem hiding this comment.
I think we should add a TTL so the jobs don't linger for ever after finished. Something like
ttlSecondsAfterFinished: 100| # Secret resource that will be used to store the account's private key. | ||
| privateKeySecretRef: | ||
| name: {{ K8S_NAMESPACE }}-letsencrypt-account-key | ||
| server: https://acme-v02.api.letsencrypt.org/directory |
There was a problem hiding this comment.
Just for testing. I'll remove this shortly
| - k8s/volumes.yml | ||
| {%- if not DRYDOCK_DISABLE_JOBS | default(false) %} | ||
| - k8s/jobs.yml | ||
| {%- if DRYDOCK_INIT_JOBS %} |
There was a problem hiding this comment.
How can I enable only the default jobs (lms,cms,mysql)?
There was a problem hiding this comment.
For now, just disable the plugins & you'll have the default jobs
| @@ -0,0 +1,31 @@ | |||
| {%- if "minio" in DRYDOCK_INIT_JOBS %} | |||
There was a problem hiding this comment.
This may be a bit hacky, but one way to know if a plugin like this is installed is to check if MINIO_DOCKER_IMAGE is defined. Then we add all the files but they will be empty if the plugin isn't enabled. What do you think?
|
Warning |
Description
This PR adds a list of jobs for the most used services. This list can be configured using a variable defined in the config.yml with optional services such as

minioorforum; required services likeLMSare not removable. There's also a specified order in which they're run:We configured this behavior using
wavesfrom argoCD.How to test
DRYDOCK_INIT_JOBSwith the list of servicestutor drydock save -r reference.yml