Skip to content

Support for various database technologies #1

Description

@3keyroman

Currently it is possible to install helm chart only with the MariaDB and specific configuration, for example database name must be always ejbca otherwise it does not work.

In the EJBCA deployment template is an init container named ca-cert-locator that fails if the database is not named ejbca.

Anyway, the support for other database technologies should be extended and improved.
Configuration properties should be technology-agnostic, for example:

database:
  localDeployment:
    # If deployDatabase is enabled, a pod is deployed with a ClusterIP service.
    deployDatabase: false
    # A secret is also created containing the credentials
    username: ejbca
    password: ejbca
    passwordRoot: foo123
    image:
      repository: mariadb
      pullPolicy: IfNotPresent
      tag: "10.5"
  # If deployDatabase is true, endpoint is used as the name label used by a database deployment and associated service.

  # Database secret name is required to securely retrieve database credentials. Used regardless of localDeployment state
  secretName: ejbca-database-credentials

  # database technology, for example mariadb, postgresql
  type: "postgresql"
  host: "database-svc"
  port: 5432
  name: "ejbca"
  username: "ejbcauser"
  password: "your-strong-password"
  # optional to add specific properties to database connection string
  properties: ""

Link #2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions