Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Bring-your-own serving certificate for the aggregated API server

Abierto
#144 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go, kubernetes

Línea de trabajo

Locate the aggregated API server's Secret handling and certificate reload entry points first, then review the existing unit-test and Kind setup. Verify the supplied Secret is never written, rotation works without a restart, expiry failures are clear, and the documentation explains cert-manager CA injection and the manage-ca-bundle annotation.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Since #140 and #141, the aggregated API server generates its serving CA in the coder-k8s-apiserver-tls Secret and keeps the APIService caBundle in sync. Some clusters want to supply their own certificate instead, for example issued by cert-manager or a corporate CA.

Today the server adopts any valid Secret unchanged, but it still renews the serving certificate with the Secret's CA key, so it needs that key. The opt-out annotation coder.com/manage-ca-bundle=false only stops the caBundle sync.

Proposal: a bring-your-own mode (a flag, or a Secret annotation) in which the server:

  • only reads a kubernetes.io/tls Secret, possibly without the CA key;
  • never generates or renews certificates;
  • reloads the certificate when the Secret changes;
  • fails clearly when the certificate is close to expiry.

Document how this mode works with cert-manager's CA injector and with the opt-out annotation.

Acceptance:

  1. With BYO mode on, the server serves the supplied certificate and never writes the Secret. Show this with unit tests and a Kind proof.
  2. Rotating the supplied Secret is picked up without a restart.
  3. The docs cover setup with cert-manager.

Owner: maintainer desk. Trigger: user demand, or after the namespaced Role issue lands. Refs #137.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium

Lenguaje dominante
Go
Estrellas
4
Forks
3
Merge medio
3 h 15 min
PR fusionados (30 d)
31

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de coder/coder-k8s

Todos los issues de coder/coder-k8s

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.