Skip to content

Implement webhooks management #8

@zugao

Description

@zugao

The latest version of appcat-postgresql uses validation webhooks which require certificates to work. Currently the chart is being installed with predefined certificates (step 4). This step has to be managed by the component.

Implementation ideas:

  1. Component crafts a secret which references certificates from Vault. ArgoCD will populate that sensitive information from Vault to valid secret data during deployment. This new secret webhook.existingSecret needs to be available in the Helm Chart.
  2. Add a pre-installation job for Argo to create the secret with self-signed certificates. We will still need webhook.existingSecret for that matter.

Acceptance Criteria

  • The secret should be created in the same namespace as the operator

Notes

we need:

  • argocd pre-hook
  • bash code to create certificates
  • a job definition to trigger the certificate creation
  • use hardcoded name for the secret

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions