OLM install: let the plugin create its mTLS certificates
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 47/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go, kubernetes, postgresql
- Área
- backend, infrastructure, security
Línea de trabajo
Start by locating the plugin's /readyz handler and readiness probe, then trace how it loads the barman-cloud-server-tls and barman-cloud-client-tls secrets. The smaller proposal is done when readiness reports failure if certificate files are missing. The certificate-generation proposal also needs decisions about CA and certificate creation, renewal, and compatibility with existing cert-manager secrets.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
First, thanks for the great work on CloudNativePG and the plugin! We use CloudNativePG in many projects, and it hugely
simplifies our PostgreSQL setups!
We installed the plugin from OperatorHub (v0.16.0, AllNamespaces) next to CloudNativePG 1.30.2 installed the
same way.
After the Subscription everything looks healthy: the CSV is Succeeded and the barman-cloud pod is 1/1 Ready.
But the plugin is not usable. The CNPG operator registers it only after we create barman-cloud-server-tls and
barman-cloud-client-tls ourselves (we used the cert-manager example from the docs). Until then the only signal is a
ServerSecretNotFound warning event on the barman-cloud Service and an error in the CNPG operator log.
Proposal 1: create the certificates when they are missing
When the two secrets do not exist, the plugin creates a CA, a server certificate for the barman-cloud Service and a
client certificate, and renews them before they expire. If the secrets already exist, it leaves them alone, so
cert-manager setups keep working. With this, an OLM install is complete with just a Subscription.
Proposal 2 (smaller): do not report Ready without certificates
If self-generated certificates are not wanted, the pod should not look healthy.
Today the readiness probe is tcpSocket: 9090. That port is open even without certificates.
Possible change: add a check to the existing /readyz endpoint (port 8081, today only a ping) that loads the
certificate files, and use /readyz as the readiness probe.
Environment
- Kubernetes 1.36, OLM
- CloudNativePG
1.30.2and plugin-barman-cloud0.16.0, both from OperatorHub.io
- Lenguaje dominante
- Go
- Estrellas
- 214
- Forks
- 91
- Merge medio
- 2 d 11 h
- PR fusionados (30 d)
- 38
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/plugin-barman-cloud
-
Cluster never reconciles when created before its ObjectStore: requeue without RequeueAfter is droppedPosiblemente ocupada @shanurwan la tomó hace 17 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cloudnative-pg/plugin-barman-cloud#1236 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
cloudnative-pg/plugin-barman-cloud#1117 · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
Add RBAC aggregation labels to ObjectStore editor/viewer ClusterRolesPosiblemente ocupada @stefanpeknik la tomó hace 76 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
cloudnative-pg/plugin-barman-cloud#1102 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
cloudnative-pg/plugin-barman-cloud#1263 ·
Los mantenedores suelen responder en 2 días
-
WAL prefetch (`wal.maxParallel` > 1) names the wrong segments when the WAL segment size is not 16MBAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
cloudnative-pg/plugin-barman-cloud#1259 ·
Los mantenedores suelen responder en 2 días
Todos los issues de cloudnative-pg/plugin-barman-cloud
Issues similares
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPosiblemente ocupada @huanghaoyuanhhy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/milvus-backup#1418 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
eugenioenko/ttt#1909 ·
Los mantenedores suelen responder en 1 día
-
ColumnIndex max truncation returns a value smaller than the real max when the prefix is all 0xFFAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
parquet-go/parquet-go#819 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`Posiblemente ocupada @DavePearce la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
Los mantenedores suelen responder en 1 día