View Source Actors.Security.Tls.Initializer (spawn v1.0.0-rc.26)

This module must be used by initializing the container via initContainers

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

Summary

Functions

Link to this function

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

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