Deploying ClusterExtensions using spec.config does not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- api, infrastructure
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 213
- Forks
- 85
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 38
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from operator-framework/operator-controller
-
lifecycle/stale
Difficulty 1/5 Under an hour Newbie friendliness 90/100
operator-framework/operator-controller#2726 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
epic epic/v1-api lifecycle/stale v1.x
Difficulty 5/5 Over a week Newbie friendliness 30/100
operator-framework/operator-controller#2727 · 2 comments ·
-
operator-framework/operator-controller#2686 · 2 comments · 1 assignee ·
All issues in operator-framework/operator-controller
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
googleapis/librarian#7670 · 2 comments ·