Deploying ClusterExtensions using spec.config does not work
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- api, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 213
- Fork
- 85
- Merge medio
- 1g 10h
- PR unite (30g)
- 38
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di operator-framework/operator-controller
-
lifecycle/stale
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
operator-framework/operator-controller#2726 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
epic epic/v1-api lifecycle/stale v1.x
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
operator-framework/operator-controller#2727 · 2 commenti ·
-
operator-framework/operator-controller#2686 · 2 commenti · 1 assegnatario ·
Tutte le issue di operator-framework/operator-controller
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug group: validation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
codecheckers/chekhov#51 ·
-
Creating worktree from an existing remote branch with a slash in it, has unexpected behaviour Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100