Page MenuHomeDevCentral

Fix sentry wrapper SECRET_KEY templating
Closed, ResolvedPublic

Description

Deploying Sentry on docker-002:

----------
          ID: /srv/sentry/nasqueron/bin/sentry
    Function: file.managed
      Result: True
     Comment: File /srv/sentry/nasqueron/bin/sentry updated
     Started: 23:32:37.921894
    Duration: 71.927 ms
     Changes:
              ----------
              diff:
                  ---
                  +++
                  @@ -19,7 +19,7 @@

                   set -e

                  -SECRET_KEY=$(credential nasqueron.sentry.app_key)
                  +SECRET_KEY=$(credential args['credential'])

                   docker run -it --rm \
                       -e SENTRY_SECRET_KEY=$SECRET_KEY \

Seems the credential command argument misses Jinja template {{ }}.