Common¶
adeploy has useful features that can be used in both, Helm chart templates and Jinja deployment templates.
Secrets¶
adeploy can create secrets for you in various ways:
- Retrieve secrets from the supported secret Sources like gopass or shell commands
- Retrieve or auto-generate (rotate) arbitrary secrets using bash commands
Since adeploy will create non-existing secrets but won't touch existing secrets1, a very simple but effective concept
of secret management can be established and adeploy can be used to automate everything while excluding secret handling
in CI/CD pipelines.
Includes¶
adeploy brings support to include and optionally render YAML parts or arbitrary files into k8s manifests.
This allows you to define repeating YAML parts (i.e. environments, affinities) at a single place and include them into all relevant manifest files.
Further it is now possible to add all files from a directory i.e. into a ConfigMap in order to create config files in your deployment.
Manage Labels¶
adeploy provides functions and mechanisms to create default and custom labels following best practises in a single
place of your default or namespace/release configuration.
Resource Limits¶
For larger deployments it is sometimes hard to keep track of the defined resource limits. For example a deployment for a
distributed system having lots of similar workloads are suitable for a global definition of resource limits. adeploy
does support such a global definition at a single point in your default or namespace/release configuration.
Probes¶
Next to labels and resources, adeploy also allows to update liveness, readiness and startup probes on a global or
workload scope at a single point in the default or namespace/release configuration.
Jinja Helpers¶
Next to the features from above, you can use the complete Jinja templating support when creating Jinja deployment or
Helm chart templates using adeploy. Please see the official Jinja documentation
for details.
Next to the full Jinja templating support, we've added some very useful functions and filters that can be used when
creating Jinja deployment or Helm chart templates using adeploy:
-
If
--recreate-secretsis specified,adeployis forced to re-create also existing secrets. This is useful to update secrets or rotate auto-generated secrets. ↩