Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cert-transfer integration (mutual_tls misnomer) #204

Merged
merged 20 commits into from
Aug 17, 2023
Merged

Conversation

PietroPasotti
Copy link
Collaborator

@PietroPasotti PietroPasotti commented Jul 21, 2023

This PR adds a cert-transfer endpoint to Traefik, using the mutual_tls interface (rename pending) to allow traefik to receive ca certificates.

Fixes #195
Fixes #214

Depends on:

Tandem PRs:


Design target:

  1. For in-cluster CA, we need to use cert_transfer with traefik, instead of tls_certificates.
  2. For external CA, traefik needs to create a CSR over tls_certificates only with its external hostname. We should not add fqdn there.

image

@PietroPasotti PietroPasotti changed the base branch from main to ingress/scheme July 21, 2023 13:17
Base automatically changed from ingress/scheme to main July 25, 2023 14:38
lib/charms/traefik_k8s/v2/ingress.py Outdated Show resolved Hide resolved
metadata.yaml Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
@lucabello
Copy link
Contributor

Not sure if this should wait for grafana-agent to be tested or not, but in any case LGTM :)

@sed-i sed-i requested review from lucabello and sed-i August 15, 2023 04:53
@lucabello lucabello changed the title Mtls integration (cert-transfer endpoint) cert-transfer integration (mutual_tls misnomer) Aug 16, 2023
@sed-i
Copy link
Contributor

sed-i commented Aug 17, 2023

Will address canonical/certificate-transfer-interface#11 in a separate traefik PR.
Merging as is to enable progress with related charms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants