mastodon/chart/templates
James Smith 1165943968
Mark job pods not to use Istio's envoy sidecar (#18415)
* Mark job pods not to use Istio's envoy sidecar

Istio injects sidecars into pods to implement mTLS between pods. Jobs
usually don't know about this, so they don't signal the Envoy process
to stop when the job finishes. Since at least one process is running
in the pod, Kubernetes doesn't consider the job to be completed, so it
lingers.

By adding the `sidecar.istio.io/inject` annotation set to `"false"`,
we let Istio know that it should not inject the sidecar. If Istio is
not installed, then this has no impact.

* Support arbitrary job annotations in the Helm chart

Rather than focus on Istio, this allows arbitrary annotations for job pods.

* Add in-line documentation for pod/job annotations
2022-08-25 04:40:38 +02:00
..
tests Add Helm chart (#14090) 2020-06-29 13:58:48 +02:00
NOTES.txt helm: standardize yaml configuration (#15728) 2021-02-15 08:00:54 +01:00
_helpers.tpl Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941) 2022-08-10 17:12:58 +02:00
configmap-env.yaml Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941) 2022-08-10 17:12:58 +02:00
cronjob-media-remove.yaml Mark job pods not to use Istio's envoy sidecar (#18415) 2022-08-25 04:40:38 +02:00
deployment-sidekiq.yaml Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941) 2022-08-10 17:12:58 +02:00
deployment-streaming.yaml Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941) 2022-08-10 17:12:58 +02:00
deployment-web.yaml Allow S3 to use an existing secret (#18997) 2022-08-25 04:39:11 +02:00
hpa.yaml Add Helm chart (#14090) 2020-06-29 13:58:48 +02:00
ingress.yaml Add support >= 1.22 (#17490) 2022-02-09 12:30:00 +01:00
job-assets-precompile.yaml Mark job pods not to use Istio's envoy sidecar (#18415) 2022-08-25 04:40:38 +02:00
job-chewy-upgrade.yaml Mark job pods not to use Istio's envoy sidecar (#18415) 2022-08-25 04:40:38 +02:00
job-create-admin.yaml Mark job pods not to use Istio's envoy sidecar (#18415) 2022-08-25 04:40:38 +02:00
job-db-migrate.yaml Mark job pods not to use Istio's envoy sidecar (#18415) 2022-08-25 04:40:38 +02:00
pvc-assets.yaml helm: add support for S3 storage (#15748) 2021-02-19 09:52:32 +01:00
pvc-system.yaml helm: add support for S3 storage (#15748) 2021-02-19 09:52:32 +01:00
secrets.yaml Fix broken dependencies in helm chart and allow using existing secrets in the chart (#18941) 2022-08-10 17:12:58 +02:00
service-streaming.yaml helm: standardize yaml configuration (#15728) 2021-02-15 08:00:54 +01:00
service-web.yaml helm: standardize yaml configuration (#15728) 2021-02-15 08:00:54 +01:00
serviceaccount.yaml Add Helm chart (#14090) 2020-06-29 13:58:48 +02:00