View Source Actors.Security.Tls.Initializer (spawn v2.0.0-RC10)

This module must be used by initializing the container via initContainers

initContainers:
  - args:
      - eval
      - Kompost.Webhooks.bootstrap_tls(:prod, "tls-certs")
    image: ghcr.io/eigr/spawn-proxy:2.0.0-RC9
    name: init-certificates
serviceAccountName: kompost
volumes:
  - name: certs
    secret:
      optional: true
      secretName: tls-certs

Summary

Functions

bootstrap_tls(env, secret_name, service_namespace, service_name, secret_namespace)

@spec bootstrap_tls(atom(), binary(), binary(), binary(), binary()) :: :ok