plugin-barman-cloud: make the certificates' private key and commonName configurable
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- helm
- Área
- backend
Línea de trabajo
El issue identifica dos plantillas de Certificate, values.yaml, el esquema generado y el README. Empieza por localizar las plantillas barman-cloud-server y barman-cloud-client y comprobar cómo se renderizan sus valores de certificado; luego sigue el proceso de generación del esquema y del README del chart. El objetivo se alcanza cuando los valores predeterminados se renderizan de forma idéntica byte a byte, los valores de la clave privada y la opción commonName se renderizan como se describe, y se vuelven a generar el esquema y el README.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The chart's two Certificates, barman-cloud-server and barman-cloud-client, hardcode commonName and set only privateKey.rotationPolicy. So cert-manager issues them with RSA keys, and values can't change either.
Admission policies that require ECDSA or Ed25519 keys, or that reject commonName on TLS certificates, flag both. Gatekeeper and Kyverno both have such policies. Today the only way around it is createServerCertificate: false / createClientCertificate: false, with both Certificates copied into a wrapper chart.
Proposal, backwards compatible (the defaults render byte-identical):
certificate.privateKey(default{}): merged into both Certificates'spec.privateKey, for example{algorithm: ECDSA, size: 256}.rotationPolicystaysAlwaysunless set.certificate.commonName(defaulttrue): whenfalse, neither Certificate setscommonName. The client certificate getsdnsNames: [barman-cloud-client]instead, since cert-manager needs at least one name on it.
Since 2026-10-30, we have run the plugin (v0.15.1, CNPG 1.30.1) with exactly these Certificates: ECDSA P-256, no commonName. Continuous archiving stays healthy on every cluster. Neither the plugin nor cnpg-i-machinery reads the peer's CN outside tests.
I have the change ready (two templates, values.yaml, regenerated schema and README) and can open a PR if this approach is acceptable.
- Lenguaje dominante
- Go Template
- Estrellas
- 644
- Forks
- 276
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 23
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudnative-pg/charts
-
chart( cluster )
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudnative-pg/charts#1057 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Azure recovery Secret is not created with recovery.method=pluginPosiblemente ocupada @sarankumar1325 la tomó hace 31 días. Abiertochart( cluster )
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
cloudnative-pg/charts#1040 ·
Los mantenedores suelen responder en 1 día
-
[cluster] Allow pinning the PostgreSQL patch version in the built-in TimescaleDB ImageCatalogAbiertochart( cluster )
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
cloudnative-pg/charts#1020 ·
Los mantenedores suelen responder en 1 día
-
chart( cluster )
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
cloudnative-pg/charts#1013 ·
Los mantenedores suelen responder en 1 día
-
Feature request: Add an excludeQueries list to exclude certain queries from the default monitoring queries setQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertochart( operator )
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
cloudnative-pg/charts#1001 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudnative-pg/charts
Issues similares
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientPosiblemente ocupada @NEAL3K la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
milind-soni/OpenMausBot#8345 ·
Los mantenedores suelen responder en 1 día
-
Feed validator crashes with "Memory error" when validating https://www.tidyverse.org/index.xmlAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
w3c/feedvalidator#204 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
open-mmlab/mmcv#3352 ·
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100