This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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
NOTES.txt
_helpers.tpl
configmap-env.yaml
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
deployment-streaming.yaml
deployment-web.yaml
hpa.yaml
ingress.yaml
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
pvc-system.yaml
secrets.yaml
service-streaming.yaml
service-web.yaml
serviceaccount.yaml