Skip to content

Postgres

databases:
  pgs:
    - name: "test"  
      instance: ""
      branch: ""
      privateIP: ""
      project: ""
      dbname: ""
  pgsExt:
    - name: "test"  
      instance: ""
      provider: ""
      privateIP: ""
      project: ""
      dbname: ""

livenessProbe:
  httpGet:
    path: /healthcheck
    port: 80
  initialDelaySeconds: 5
  timeoutSeconds: 60

Argument Reference

  • name : (Required) The name of database.

  • instance : (Optional) nom de l'instance

  • privateIP : (Optional) Adresse ip de l'instance

  • provider : (Optional) reférence à un project crée par deployer

  • project : (Optional) ID du project GCP

  • dbname : (Optional) nom réel autogénéré de la resource [nomProjet]_[gitBranch]_[name]

Variables générées par Deployer

  • PG_NAME_ : Nom (par exemple PG_NAME_TEST)
  • PG_HOST_ : Host (PG_HOST_TEST)
  • PG_PASS_ : Mot de passe (PG_PASS_TEST)
  • PG_PORT_ : Port (PG_PORT_TEST)
  • GOOGLE_APPLICATION_CREDENTIALS : Path du service account