Deploying ClusterExtensions using spec.config does not work
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- api, infrastructure
Hướng nghiên cứu
Start with the ClusterExtension CRD and the v1.11.0 olmv1_manifest used by the installer, then compare their schemas with the documented spec.config example in the issue. Trace how the v1.11.0 manifest is generated or packaged and verify the resulting API accepts the supplied resource without the strict decoding error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am using OLMv1 with version v1.11.0.
I am trying to deploy a ClusterExtension like this:
apiVersion: olm.operatorframework.io/v1
kind: ClusterExtension
metadata:
name: argocd
spec:
namespace: argocd-operator
source:
sourceType: Catalog
catalog:
packageName: argocd-operator
channels: ["alpha"]
version: "0.18.0"
config:
configType: "Inline"
inline:
deploymentConfig:
env:
- name: ARGOCD_CLUSTER_CONFIG_NAMESPACES
value: "cluster-argocd"
However I am seeing an error on deploy. The relevant part of the error:
The request is invalid: patch: Invalid value: "{\"apiVersion\":\"olm.operatorframework.io/v1\",\"kind\":\"ClusterExtension\",
......
\"type:\"Progressing\"}],\"install\":{\"bundle\":{\"name\":\"argocd-operator.v0.18.0\",\"version\":\"0.18.0\"}}}}": strict decoding error: unknown field "spec.config"
Looking into the CRD, it seems config is not a field.
Looking into the olmv1_manifest that the installer uses specifically for v1.11.0, even that CRD does not have the spec.config field defined.
- Ngôn ngữ chính
- Go
- Star
- 213
- Fork
- 85
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 38
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của operator-framework/operator-controller
-
lifecycle/stale
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
operator-framework/operator-controller#2726 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
lifecycle/stale
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
operator-framework/operator-controller#2784 · 1 bình luận ·
-
epic epic/v1-api lifecycle/stale v1.x
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
operator-framework/operator-controller#2727 · 2 bình luận ·
-
operator-framework/operator-controller#2686 · 2 bình luận · 1 người được giao ·
Tất cả issue của operator-framework/operator-controller
Issue tương tự
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microsoft/agent-framework-go#1179 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
infiniflow/ragflow#20223 · 1 reaction ·
-
bug needs triage pkg/translator/faro
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 bình luận ·