diff --git a/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/openshift-pipelines-operator.v0.10.6.clusterserviceversion.yaml b/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/openshift-pipelines-operator.v0.10.6.clusterserviceversion.yaml new file mode 100644 index 000000000..ea1a341cc --- /dev/null +++ b/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/openshift-pipelines-operator.v0.10.6.clusterserviceversion.yaml @@ -0,0 +1,400 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "operator.tekton.dev/v1alpha1", + "kind": "Config", + "metadata": { + "name": "name.must.be-cluster" + }, + "spec": { + "targetNamespace": "openshift-pipelines" + } + } + ] + capabilities: Basic Install + categories: Developer Tools, Integration & Delivery + certified: "false" + containerImage: quay.io/openshift-pipeline/openshift-pipelines-operator:v0.10.6 + createdAt: "2019-03-15T19:44:21Z" + description: OpenShift Pipelines is a cloud-native CI/CD solution for building + pipelines using Tekton concepts which run natively on OpenShift and Kubernetes. + operators.operatorframework.io/internal-objects: '["config.operator.tekton.dev"]' + repository: https://github.com/openshift/tektoncd-pipeline-operator + support: Red Hat, Inc. + name: openshift-pipelines-operator.v0.10.6 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: OpenShift Pipelines is a cloud-native CI/CD solution for building + pipelines using Tekton concepts which run natively on OpenShift and Kubernetes. + displayName: OpenShift Pipelines Config + kind: Config + name: config.operator.tekton.dev + resources: + - kind: clusterroles + name: "" + version: v1 + - kind: customresourcedefinitions + name: "" + version: v1beta1 + - kind: deployments + name: "" + version: v1beta1 + - kind: podsecuritypolicies + name: "" + version: v1beta1 + - kind: clusterrolebindings + name: "" + version: v1beta1 + - kind: services + name: "" + version: v1 + - kind: pods + name: "" + version: v1 + - kind: configmaps + name: "" + version: v1 + - kind: config + name: "" + version: v1alpha1 + - kind: namespaces + name: "" + version: v1 + - kind: serviceaccounts + name: "" + version: v1 + specDescriptors: + - description: Namespace where OpenShift Pipelines is installed + displayName: Target Namespace + path: targetNamespace + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + statusDescriptors: + - description: Status of OpenShift Pipelines Installation + displayName: Installation Status + path: conditions[0].code + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + - description: Version of OpenShift Pipelines installed + displayName: OpenShift Pipelines Version + path: conditions[0].version + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + version: v1alpha1 + description: | + OpenShift Pipelines is a cloud-native continuous integration and delivery + (CI/CD) solution for building pipelines using [Tekton](https://tekton.dev). + Tekton is a flexible Kubernetes-native open-source CI/CD framework which + enables automating deployments across multiple platforms (Kubernetes, + serverless, VMs, etc) by abstracting away the underlying details. + + ## Features + * Standard CI/CD pipelines definition + * Build images with Kubernetes tools such as S2I, Buildah, Buildpacks, Kaniko, etc + * Deploy applications to multiple platforms such as Kubernetes, serverless and VMs + * Easy to extend and integrate with existing tools + * Scale pipelines on-demand + * Portable across any Kubernetes platform + * Designed for microservices and decentralised team + * Integrated with OpenShift Developer Console + + ## Installation + _OpenShift Pipelines Operator_ gets installed into a single namespace which would then install _OpenShift Pipelines_ into the same namespace. _OpenShift Pipelines_ is however cluster-wide and can run pipelines created in any namespace. + + ## Getting Started + In order to get familiar with _OpenShift Pipelines_ concepts and create your first pipeline, follow the [OpenShift Pipelines Tutorial](https://github.com/openshift/pipelines-tutorial). + + ### CLI + Tekton Pipelines cli project provides a CLI for interacting with OpenShift Pipelines. + + [Download Tekton CLI](https://github.com/tektoncd/cli/releases/latest) + displayName: OpenShift Pipelines Operator + icon: + - base64data: | + iVBORw0KGgoAAAANSUhEUgAAAGUAAABlCAYAAABUfC3PAAAQrElEQVR4Xu2dd3wU1RbHfymkQBom + kAYEiICCSFDkw3uACaIi0mJBKT4JRgSehSAoyEMMykMUpfgBBaSEjw8BfX4oL4ogQmjqB5CignQS + SgrpZdOTeZ8zYdbdzczO3dm5uxtx/oLM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gocR8NwSJ+iVjOuJycKBd987nJ9DvUZwcMTuHTiajZx + ePOlJBANCHLXLoDh/G+oq61lkVv3NNRfBPQdhJBnp+k239AqpFOaL2vCEqCCLz5B+dmTqCop0qqX + 6nc0pPUOCUVg/yEIGpHgdBCmArscFEtrEqSyH79Dxe8/o+p6OmrLy2z2JvG+E28f+LbvguZ3/w1+ + 9w9xKQiWOrs8FDWvqs1rOLJn+fh07eXShrem1/8BWjy0OmdfIfEAAAAASUVORK5CYII= + mediatype: image/png + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - namespaces + - persistentvolumeclaims + - pods + - pods/log + - secrets + - services + - serviceaccounts + verbs: + - '*' + - apiGroups: + - apps + resources: + - deployments + - daemonsets + - replicasets + - statefulsets + - deployments/finalizers + verbs: + - '*' + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - get + - create + - delete + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + - clusterrolebindings + - rolebindings + - roles + verbs: + - '*' + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - create + - update + - delete + - apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - build.knative.dev + resources: + - builds + - buildtemplates + - clusterbuildtemplates + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - extensions + resources: + - deployments + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - extensions + resources: + - deployments/finalizers + verbs: + - get + - list + - create + - update + - delete + - patch + - watch + - apiGroups: + - policy + resources: + - podsecuritypolicies + verbs: + - get + - create + - update + - delete + - use + - apiGroups: + - security.openshift.io + resources: + - securitycontextconstraints + verbs: + - get + - update + - use + - apiGroups: + - operator.tekton.dev + resources: + - '*' + verbs: + - '*' + - apiGroups: + - tekton.dev + resources: + - '*' + verbs: + - '*' + - apiGroups: + - console.openshift.io + resources: + - consoleyamlsamples + verbs: + - '*' + serviceAccountName: openshift-pipelines-operator + deployments: + - name: openshift-pipelines-operator + spec: + replicas: 1 + selector: + matchLabels: + name: openshift-pipelines-operator + strategy: {} + template: + metadata: + labels: + name: openshift-pipelines-operator + spec: + containers: + - command: + - openshift-pipelines-operator + - --recursive + env: + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.annotations['olm.targetNamespaces'] + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: OPERATOR_NAME + value: openshift-pipelines-operator + image: quay.io/openshift-pipeline/openshift-pipelines-operator:v0.10.6 + imagePullPolicy: Always + name: openshift-pipelines-operator + resources: {} + serviceAccountName: openshift-pipelines-operator + strategy: deployment + installModes: + - supported: false + type: OwnNamespace + - supported: false + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - tektoncd + - openshift + - build + - pipeline + links: + - name: OpenShift Tekton Pipeline GitHub Repository + url: https://github.com/openshift/tektoncd-pipeline + - name: OpenShift Pipelines Operator GitHub Repository + url: https://github.com/openshift/tektoncd-pipeline-operator + maintainers: + - email: pipelines-dev@redhat.com + name: Red Hat, Inc. + maturity: alpha + provider: + name: Red Hat + replaces: openshift-pipelines-operator.v0.10.5 + version: 0.10.6 diff --git a/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/operator_v1alpha1_config_crd.yaml b/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/operator_v1alpha1_config_crd.yaml new file mode 100644 index 000000000..46b322cec --- /dev/null +++ b/deploy/olm-catalog/openshift-pipelines-operator/0.10.6/operator_v1alpha1_config_crd.yaml @@ -0,0 +1,66 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: config.operator.tekton.dev +spec: + group: operator.tekton.dev + names: + kind: Config + listKind: ConfigList + plural: config + singular: config + scope: Cluster + subresources: + status: {} + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + targetNamespace: + description: namespace where OpenShift pipelines will be installed + type: string + required: + - targetNamespace + type: object + status: + properties: + conditions: + description: installation status sorted in reverse chronological order + items: + properties: + code: + description: Code indicates the status of installation of pipeline resources. + type: string + details: + description: Additional details about the Code + type: string + version: + description: The version of tekton pipelines + type: string + required: + - code + - version + type: object + type: array + operatorUUID: + type: string + description: UUID of the operator that installed the pipeline + type: object + additionalPrinterColumns: + - JSONPath: ".status.conditions[0].code" + name: status + type: string + description: status of pipeline installation + + version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true diff --git a/deploy/olm-catalog/openshift-pipelines-operator/openshift-pipelines-operator.package.yaml b/deploy/olm-catalog/openshift-pipelines-operator/openshift-pipelines-operator.package.yaml index ba9e7c4ec..4f608389f 100644 --- a/deploy/olm-catalog/openshift-pipelines-operator/openshift-pipelines-operator.package.yaml +++ b/deploy/olm-catalog/openshift-pipelines-operator/openshift-pipelines-operator.package.yaml @@ -1,5 +1,5 @@ channels: -- currentCSV: openshift-pipelines-operator.v0.10.5 +- currentCSV: openshift-pipelines-operator.v0.10.6 name: canary - currentCSV: openshift-pipelines-operator.v0.8.2 name: dev-preview diff --git a/deploy/operator.yaml b/deploy/operator.yaml index ed77aa907..4b5fd4c96 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -16,7 +16,7 @@ spec: serviceAccountName: openshift-pipelines-operator containers: - name: openshift-pipelines-operator - image: quay.io/openshift-pipeline/openshift-pipelines-operator:v0.10.5 + image: quay.io/openshift-pipeline/openshift-pipelines-operator:v0.10.6 command: - openshift-pipelines-operator - --recursive diff --git a/pkg/flag/flag.go b/pkg/flag/flag.go index 44abf1731..d3b258c16 100644 --- a/pkg/flag/flag.go +++ b/pkg/flag/flag.go @@ -40,7 +40,7 @@ const ( var ( flagSet *pflag.FlagSet - TektonVersion = "v0.10.1" + TektonVersion = "v0.10.1" PipelineSA string IgnorePattern string ResourceWatched string