apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: workflows-api namespace: processing spec: values: services: backend: podAnnotations: _default: vault.hashicorp.com/agent-inject-secret-processing-jwt-public: secrets/data/vault/common/jwt_public vault.hashicorp.com/agent-inject-template-processing-jwt-public: '{{- with secret "secrets/data/vault/common/jwt_public" -}} {{ index .Data.data "public_key" }} {{- end -}}' deployment: args: _default: - 'set -a [ -f /vault/secrets/processing-postgresql ] && . /vault/secrets/processing-postgresql [ -f /vault/secrets/processing-jwt-public ] && export PUBLIC_KEY="$(cat /vault/secrets/processing-jwt-public)" set +a exec /httpserver migrate '