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 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
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 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
service-web.yaml
serviceaccount.yaml