Skip to content

Configuring AuditBot

See how to download example files from the helm chart here.

Configuration

For a quick setup using the default settings, see the minimal fragment example in charts/matrix-stack/ci/fragments/auditbot-minimal.yaml.

Credentials

Credentials are generated if initSecrets is enabled. Alternatively they can either be provided inline in the values with value or if you have an existing Secret in the cluster in the same namespace you can use secret andsecretKey to reference it.

If you don't want the chart to generate the secret, please refer to the following values fragments examples to see the secrets to configure.

AuditBot requires user.password, backupPassphrase and the registration file in appserviceRegistration.

  • charts/matrix-stack/ci/fragments/auditbot-secrets-in-helm.yaml
  • charts/matrix-stack/ci/fragments/auditbot-secrets-externally.yaml

Additional configuration

Additional AuditBot configuration can be provided inline in the values as a string with

auditbot:
  additional:
    ## Either reference config to inject by:
    1-custom-config:
      config: |
        outputs:
        - type: file
          file: /storage/matrix-pipeline.log
          size: 100M
          keep: 3
    ## Either reference an existing `Secret` by:
    2-custom-config:
      configSecret: custom-auditbot-config
      configSecretKey: shared.yaml