OLM install: let the plugin create its mTLS certificates
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 47/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- go, kubernetes, postgresql
- Domaine
- backend, infrastructure, security
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go
- Étoiles
- 214
- Forks
- 91
- Merge moyen
- 2 j 11 h
- PR mergées (30 j)
- 38
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cloudnative-pg/plugin-barman-cloud
-
Cluster never reconciles when created before its ObjectStore: requeue without RequeueAfter is droppedPeut-être pris @shanurwan l’a pris il y a 17 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
cloudnative-pg/plugin-barman-cloud#1236 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
cloudnative-pg/plugin-barman-cloud#1117 · 1 réaction ·
Les mainteneurs répondent en général sous 2 jours
-
Add RBAC aggregation labels to ObjectStore editor/viewer ClusterRolesPeut-être pris @stefanpeknik l’a pris il y a 76 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
cloudnative-pg/plugin-barman-cloud#1102 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
cloudnative-pg/plugin-barman-cloud#1263 ·
Les mainteneurs répondent en général sous 2 jours
-
WAL prefetch (`wal.maxParallel` > 1) names the wrong segments when the WAL segment size is not 16MBOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
cloudnative-pg/plugin-barman-cloud#1259 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de cloudnative-pg/plugin-barman-cloud
Issues similaires
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPeut-être pris @huanghaoyuanhhy l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
zilliztech/milvus-backup#1418 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
eugenioenko/ttt#1909 ·
Les mainteneurs répondent en général sous 1 jour
-
ColumnIndex max truncation returns a value smaller than the real max when the prefix is all 0xFFOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
parquet-go/parquet-go#819 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`Peut-être pris @DavePearce l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
Les mainteneurs répondent en général sous 1 jour