cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Cannot install the plugin with ArgoCD

Aperta
#980 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Go
Stelle
191
Fork
72
Merge medio
2g 21h
PR unite (30g)
21

Descrizione

I try to install this plugin with ArgoCD like this:
```
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cloudnativepg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '0'
labels:
type: postgres
spec:
project: myproject
sources:
- chart: cloudnative-pg
repoURL: https://cloudnative-pg.github.io/charts
targetRevision: 0.28.2
helm:
releaseName: cloudnative-pg
# Install the barman plugin
- repoURL: https://github.com/cloudnative-pg/plugin-barman-cloud
targetRevision: v0.13.0
path: .
destination:
server: https://kubernetes.default.svc
namespace: cnpg-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions: [CreateNamespace=true, ServerSideApply=true]
```

ArgoCD complains with:
```
ComparisonError: Failed to load target state: failed to unmarshal manifests for source 2 of 2: Object 'Kind' is missing in '{".":"0.13.0","metadata":{"annotations":{"argocd.argoproj.io/tracking-id":"cloudnativepg-operator:/:cnpg-system/"}}}'
```

Image

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the failure using the shown ArgoCD Application and the repository at targetRevision v0.13.0. Inspect what ArgoCD finds in the repository root for source 2 and determine why it produces an object without a Kind. Done means ArgoCD can load valid manifests for the plugin source without the ComparisonError.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
kubernetes
Ambito
devops, infrastructure
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.