Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Deploying ClusterExtensions using spec.config does not work

Đang mở
#2,937 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của operator-framework/operator-controller

Tất cả issue của operator-framework/operator-controller

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.