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

Cannot install the plugin with ArgoCD

オープン
#980 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Go
スター
191
フォーク
72
平均マージ
2日 21時間
マージ済み PR(30日)
21

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
kubernetes
領域
devops, infrastructure
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。