Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operatorhub.io still thinks the latest version of the tekton operator is 0.61. #1493

Open
RobVerduijn opened this issue May 16, 2023 · 5 comments

Comments

@RobVerduijn
Copy link

RobVerduijn commented May 16, 2023

When trying to install the tekton operator on okd using the operatorhub.io it installs version 0.61

there are 2 yaml files below

edit: no more error, this was due to the use of the wrong image in the catalogue definition

packagemanifest tektoncd-operator:

kind: PackageManifest
apiVersion: packages.operators.coreos.com/v1
metadata:
  name: tektoncd-operator
  namespace: openshift-marketplace
  creationTimestamp: '2023-05-16T11:10:17Z'
  labels:
    catalog: operatorhubio-operators
    catalog-namespace: openshift-marketplace
    operatorframework.io/arch.amd64: supported
    operatorframework.io/os.linux: supported
    provider: The Tekton Authors
    provider-url: ''
spec: {}
status:
  catalogSource: operatorhubio-operators
  catalogSourceDisplayName: OperatorHub.io Operators
  catalogSourcePublisher: OperatorHub.io
  catalogSourceNamespace: openshift-marketplace
  provider:
    name: The Tekton Authors
  packageName: tektoncd-operator
  channels:
    - name: alpha
      currentCSV: tektoncd-operator.v0.61.0
      currentCSVDesc:
        customresourcedefinitions:
          owned:
            - name: tektonchains.operator.tekton.dev
              version: v1alpha1
              kind: TektonChain
              displayName: TektonChain
              description: >
                TektonChain installs Tekton Chain on a cluster. The operator
                installs Tekton Chain on a cluster

                if an instance of this CRD is created on your cluster with name
                `chain`. At present, the operator honors only

                one CustomResource instance with the name `chain` to ensure only
                one set of Tekton Chain exists on a cluster.
            - name: tektonconfigs.operator.tekton.dev
              version: v1alpha1
              kind: TektonConfig
              displayName: TektonConfig
              description: >
                TektonConfig installs Tekton Pipelines, Tekton Triggers and
                Tekton Dashboard on a cluster. The operator installs

                the 3 components on a cluster if an instance of this CRD is
                created on your cluster with name `config`.

                At present, the operator honors only one CustomResource instance
                with the name `config` to ensure only one set

                of the three components (Pipelines, Triggers, Dashboard) exists
                on a cluster. An instance of this CRD will automatically

                create instances of the other CRDs (TektonPipeline,
                TektonDashboard and TektonTriggers).
            - name: tektondashboards.operator.tekton.dev
              version: v1alpha1
              kind: TektonDashboard
              displayName: TektonDashboard
              description: >
                TektonDashboard installs Tekton Dashboard on a cluster. The
                operator installs Tekton Dashboard on a cluster

                if an instance of this CRD is created on your cluster with name
                `dashboard`. At present, the operator honors only

                one CustomResource instance with the name `dashboard` to ensure
                only one set of Tekton Dashboard exists on a cluster.
            - name: tektonhubs.operator.tekton.dev
              version: v1alpha1
              kind: TektonHub
              displayName: TektonHubs
              description: >
                TektonHub installs Tekton Hub on a cluster. The operator
                installs Tekton Hub on a cluster

                if an instance of this CRD is created on your cluster with name
                `hub`. At present, the operator honors only

                one CustomResource instance with the name `hub` to ensure only
                one set of Tekton Hub exists on a cluster.
            - name: tektoninstallersets.operator.tekton.dev
              version: v1alpha1
              kind: TektonInstallerSet
              displayName: TektonInstallerSets
              description: >
                TektonInstallerSet internal CRD used by other component
                reconcilers to create kubernetes resources from their
and fails.
                release manifests
            - name: tektonpipelines.operator.tekton.dev
              version: v1alpha1
              kind: TektonPipeline
              displayName: TektonPipeline
              description: >
                TektonPipeline installs Tekton Pipelines on a cluster. The
                operator installs Tekton Pipelines on a cluster

                if an instance of this CRD is created on your cluster with name
                `pipeline`. At present, the operator honors only

                one CustomResource instance with the name `pipeline` to ensure
                only one set of Tekton Pipeline exists on a cluster.
            - name: tektonresults.operator.tekton.dev
              version: v1alpha1
              kind: TektonResult
              displayName: TektonResults
              description: >
                TektonResult installs Tekton Results on a cluster. The operator
                installs Tekton Results on a cluster

                if an instance of this CRD is created on your cluster with name
                `result`. At present, the operator honors only

                one CustomResource instance with the name `result` to ensure
                only one set of Tekton Results exists on a cluster.
            - name: tektontriggers.operator.tekton.dev
              version: v1alpha1
              kind: TektonTrigger
              displayName: TektonTriggers
              description: >
                TektonTrigger installs Tekton Triggers on a cluster. The
                operator installs Tekton Triggers on a cluster

                if an instance of this CRD is created on your cluster with name
                `trigger`. At present, the operator honors only

                one CustomResource instance with the name `trigger` to ensure
                only one set of Tekton Triggers exists on a cluster.
        relatedImages:
          - >-
            gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/webhook@sha256:38698adafe8317c6846e967c92c20db205f9a5152b255a92b8190fe0f78a272f
          - >-
            gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/operator@sha256:c91ed327f06ad60b3a43a2838eee6b833b78b00ffb482a9de531f452fb90c6fa
        annotations:and fails.
          operators.operatorframework.io/builder: operator-sdk-v1.23.0
          operators.operatorframework.io/project_layout: unknown
          certified: 'false'
          repository: 'https://github.com/tektoncd/operator'
          support: The Tekton Authors
          alm-examples: |-
            [
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonChain",
                "metadata": {
                  "name": "chain"
                },
                "spec": {
                  "targetNamespace": "tekton-pipelines"
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonConfig",
                "metadata": {
                  "name": "config"
                },
                "spec": {
                  "profile": "all",
                  "pruner": {
                    "keep": 100,
                    "resources": [
                      "pipelinerun",
                      "taskrun"
                    ],
                    "schedule": "0 8 * * *"
                  },
                  "targetNamespace": "tekton-pipelines"
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonDashboard",
                "metadata": {
                  "name": "dashboard"
                },
                "spec": {
                  "targetNamespace": "tekton-pipelines"
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonHub",
                "metadata": {
                  "name": "hub"
                },
                "spec": {
                  "api": {
                    "hubConfigUrl": "https://raw.githubusercontent.com/tektoncd/hub/main/config.yaml"
                  }
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonInstallerSet",
                "metadata": {
                  "name": "foo"
                },
                "spec": {
                  "manifests": []
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonPipeline",
                "metadata": {
                  "name": "pipeline"
                },
                "spec": {
                  "targetNamespace": "tekton-pipelines"
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonResult",
                "metadata": {
                  "name": "result"
                },
                "spec": {
                  "targetNamespace": "tekton-pipelines"
                }
              },
              {
                "apiVersion": "operator.tekton.dev/v1alpha1",
                "kind": "TektonTrigger",
                "metadata": {
                  "name": "trigger"
                },
                "spec": {
                  "targetNamespace": "tekton-pipelines"
                }
              }
            ]
          capabilities: Full Lifecycle
          containerImage: >-
            gcr.io/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/operator@sha256:c91ed327f06ad60b3a43a2838eee6b833b78b00ffb482a9de531f452fb90c6fa
          categories: 'Developer Tools, Integration & Delivery'
          description: >-
            The quickest and easiest way to install, upgrade and manage TektonCD
            projects on any Kubernetes Cluster.
        apiservicedefinitions: {}
        keywords:
          - tekton
          - tektoncd
          - build
          - pipeline
          - cicd
        displayName: Tektoncd Operator
        provider:
          name: The Tekton Authors
        maturity: alpha
        installModes:
          - type: OwnNamespace
            supported: false
          - type: SingleNamespace
            supported: false
          - type: MultiNamespace
            supported: false
          - type: AllNamespaces
            supported: true
        version: 0.61.0
        links:
          - name: Tekton Documentation
            url: 'https://tekton.dev/'
          - name: Tekton Pipeline
            url: 'https://github.com/tektoncd/pipeline'
          - name: Tekton Triggers
            url: 'https://github.com/tektoncd/triggers'
          - name: Tekton Dashboard
            url: 'https://github.com/tektoncd/dashboard'
          - name: Tekton Chains
            url: 'https://github.com/tektoncd/chains'
          - name: Tekton Results
            url: 'https://github.com/tektoncd/results'
          - name: Tekton Hub
            url: 'https://github.com/tektoncd/hub'
        maintainers:
          - name: The Tekton Authors
            email: tekton-dev@googlegroups.com
        description: >
          Tekton is a powerful and flexible open-source framework for creating
          CI/CD systems, allowing developers to build,

          test, and deploy across cloud providers and on-premise systems.


          Read more: https://tekton.dev


          Tektoncd Operator makes is easy to install and maintain TektonCD
          projects on you cluster.


          ## Tekton Pipeline


          The Tekton Pipelines project provides k8s-style resources for
          declaring CI/CD-style pipelines.


          Tekton Pipelines are Cloud Native:


          * Run on Kubernetes

          * Have Kubernetes clusters as a first class type

          * Use containers as their building blocks


          Tekton Pipelines are Decoupled:


          * One Pipeline can be used to deploy to any k8s cluster

          * The Tasks which make up a Pipeline can easily be run in isolation

          * Resources such as git repos can easily be swapped between runs


          Tekton Pipelines are Typed:


          * The concept of typed resources means that for a resource such as an
          Image, implementations can easily be swapped out (e.g. building with
          kaniko v.s. buildkit)


          ## Tekton Triggers


          Tekton Triggers is a Kubernetes Custom Resource Definition (CRD)
          controller that allows you to create Kubernetes resources based on
          information it extracts from event payloads.


          Tekton is a Kubernetes-native continuous integration and delivery
          (CI/CD) framework that allows you to create containerized, composable,
          and configurable workloads declaratively through Kubernetes CRDs.

          When integrated with Tekton Triggers, Tekton allows you to easily
          create fully fledged CI/CD systems in which you define all mechanics
          exclusively using Kubernetes resources.


          ## Tekton Dashboard
 

          Tekton Dashboard is a general purpose, web-based UI for Tekton
          Pipelines and Tekton triggers resources.


          It allows users to manage and view Tekton resource creation,
          execution, and completion.


          Among other things, the Tekton Dashboard supports:


          * Filtering resources by label

          * Realtime view of PipelineRun and TaskRun logs

          * View resource details and YAML

          * Show resources for the whole cluster or limit visibility to a
          particular namespace

          * Import resources directly from a git repository

          * Adding functionality through extensions, like automatically
          triggering pipelines on git events (GitHub and GitLab supported)


          ## Tekton Chains


          Supply Chain Security in Tekton Pipelines


          ## Tekton Results


          Tekton Results aims to help users logically group CI/CD workload
          history and separate out long term result storage away from the
          Pipeline controller. This allows you to:


          * Provide custom Result metadata about your CI/CD workflows not
          available in the Tekton TaskRun/PipelineRun CRDs (for example:
          post-run actions)

          * Group related workloads together (e.g. bundle related TaskRuns and
          PipelineRuns into a single unit)

          * Make long-term result history independent of the Pipeline CRD
          controller, letting you free up etcd resources for Run execution.


          ## Tekton Hub


          The Tekton hub is a web based platform for developers to discover,
          share and contribute tasks and pipelines for Tekton.
  defaultChannel: alpha

catalogsource:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  creationTimestamp: '2023-05-16T11:10:17Z'
  generation: 4
  managedFields:
    - apiVersion: operators.coreos.com/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:spec':
          .: {}
          'f:displayName': {}
          'f:image': {}
          'f:publisher': {}
          'f:sourceType': {}
      manager: Mozilla
      operation: Update
      time: '2023-05-16T13:45:54Z'
    - apiVersion: operators.coreos.com/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        'f:status':
          .: {}
          'f:connectionState':
            .: {}
            'f:address': {}
            'f:lastConnect': {}
            'f:lastObservedState': {}
          'f:registryService':
            .: {}
            'f:createdAt': {}
            'f:port': {}
            'f:protocol': {}
            'f:serviceName': {}
            'f:serviceNamespace': {}
      manager: catalog
      operation: Update
      subresource: status
      time: '2023-05-16T13:46:16Z'
  name: operatorhubio-operators
  namespace: openshift-marketplace
  resourceVersion: '2512123'
  uid: b58294f6-e556-4160-a543-b84db2261a32
spec:
  displayName: OperatorHub.io Operators
  image: 'quay.io/operatorhubio/catalog:latest'
  publisher: OperatorHub.io
  sourceType: grpc
status:
  connectionState:
    address: 'operatorhubio-operators.openshift-marketplace.svc:50051'
    lastConnect: '2023-05-16T13:46:16Z'
    lastObservedState: READY
  registryService:
    createdAt: '2023-05-16T13:45:54Z'
    port: '50051'
    protocol: grpc
    serviceName: operatorhubio-operators
    serviceNamespace: openshift-marketplace
@RobVerduijn RobVerduijn changed the title operatorhub.io still thinks the latest version of the tekton operator is 0.61 and fails. operatorhub.io still thinks the latest version of the tekton operator is 0.61. May 16, 2023
@jkandasa
Copy link
Member

@RobVerduijn thanks to report this issue.
Seems Tektoncd Operator is not published to operatorhub.io for a while.
We have to publish Tektoncd Operator into operatorhub.io on each release

CC @vdemeester @piyush-garg

@RobVerduijn
Copy link
Author

@RobVerduijn thanks to report this issue. Seems Tektoncd Operator is not published to operatorhub.io for a while. We have to publish Tektoncd Operator into operatorhub.io on each release

CC @vdemeester @piyush-garg

Hi,

Another release of tekton was done last week, however this has not been published on operatorhub.io

Please make publishing the release on operatorhub.io part of your pipeline.

@acelinkio
Copy link

Its been a few months, any updates on this? 0.61 is still the latest release posted there. Not sure if this is aimed to be fixed in the next release.

@mikecarr
Copy link

Should I believe the operator is no longer maintained as far as releases to operatorhub.io? What is the recommended installation method? I am using ArgoCD and GitOps

@adambkaplan
Copy link

adambkaplan commented Oct 31, 2023

Bumping this as a more pressing issue. The current version of the operator on Operatorhub.io uses HPA v2beta1 as part of its reconciliation. This API version was removed in k8s 1.25 (with full removal of beta APIs in v1.26). KUBERNETES 1.25 IS NOW EOL (see https://kubernetes.io/releases/ for current supported versions)

adambkaplan added a commit to adambkaplan/shipwright-operator that referenced this issue Nov 1, 2023
Update KinD to latest released version (v0.20.0) and use the supported
v1.24 k8s node version from the corresponding release note. The current
Tekton operator on OperatorHub does not support k8s 1.25 or higher.
This also sets the minKubeVersion to 1.24.0 on the operator CSV so the
version we test with and the min supported version are aligned.

See tektoncd/operator#1493.
adambkaplan added a commit to adambkaplan/shipwright-operator that referenced this issue Nov 2, 2023
Update KinD to latest released version (v0.20.0) and use the supported
v1.24 k8s node version from the corresponding release note. The current
Tekton operator on OperatorHub does not support k8s 1.25 or higher.
This also sets the minKubeVersion to 1.24.0 on the operator CSV so the
version we test with and the min supported version are aligned.

See tektoncd/operator#1493.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants