github.com/mre-fog/trillianxx@v1.1.2-0.20180615153820-ae375a99d36a/examples/deployment/kubernetes/trillian-mysql.yaml (about)

     1  # This configmap is for running Trillian with a MySQL database on Kubernetes.
     2  # You'll want to update the storage-flag below with the correct configuration
     3  # info for the database.
     4  apiVersion: v1
     5  kind: ConfigMap
     6  metadata:
     7    name: deploy-config
     8    namespace: default
     9  data:
    10    CLOUD_PROJECT: ${PROJECT_NAME}
    11    # Update this with your DB connection string:
    12    STORAGE_FLAG: --mysql_uri=test:zaphod@tcp(db:3306)/test
    13    STORAGE_SYSTEM: mysql
    14    GOOGLE_APPLICATION_CREDENTIALS: /var/secrets/google/key.json
    15    SIGNER_BATCH_SIZE: "500"
    16    SIGNER_INTERVAL: "20ms"
    17    SIGNER_NUM_SEQUENCERS: "10"
    18    SIGNER_RESIGN_ODDS: "1000"
    19