Skip to content

Commit 7a77261

Browse files
committed
remove TektonHub component support
1 parent 3e09d24 commit 7a77261

82 files changed

Lines changed: 10 additions & 6790 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ ifeq ($(TARGET), openshift)
7272
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-pipeline
7373
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-trigger
7474
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-chains
75-
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-hub
7675
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-results
7776
rm -rf ./cmd/$(TARGET)/operator/kodata/manual-approval-gate
7877
rm -rf ./cmd/$(TARGET)/operator/kodata/tekton-pruner

charts/tekton-operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
{{- end }}
7878
args:
7979
- "-controllers"
80-
- {{ .Values.controllers | default "tektonconfig,tektonpipeline,tektontrigger,tektonhub,tektonchain,tektonresult,tektondashboard,manualapprovalgate,tektonpruner,openshiftpipelinesascode" | quote }}
80+
- {{ .Values.controllers | default "tektonconfig,tektonpipeline,tektontrigger,tektonchain,tektonresult,tektondashboard,manualapprovalgate,tektonpruner,openshiftpipelinesascode" | quote }}
8181
- "-unique-process-name"
8282
- "tekton-operator-lifecycle"
8383
image: {{ include "tekton-operator.operator-image" . }}

charts/tekton-operator/templates/kubernetes-crds.yaml

Lines changed: 0 additions & 259 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,265 +2515,6 @@ spec:
25152515
---
25162516
apiVersion: apiextensions.k8s.io/v1
25172517
kind: CustomResourceDefinition
2518-
metadata:
2519-
annotations:
2520-
controller-gen.kubebuilder.io/version: v0.18.0
2521-
name: tektonhubs.operator.tekton.dev
2522-
labels:
2523-
version: "devel"
2524-
operator.tekton.dev/release: "devel"
2525-
spec:
2526-
group: operator.tekton.dev
2527-
names:
2528-
kind: TektonHub
2529-
listKind: TektonHubList
2530-
plural: tektonhubs
2531-
singular: tektonhub
2532-
scope: Cluster
2533-
versions:
2534-
- additionalPrinterColumns:
2535-
- jsonPath: .status.version
2536-
name: Version
2537-
type: string
2538-
- jsonPath: .status.conditions[?(@.type=="Ready")].status
2539-
name: Ready
2540-
type: string
2541-
- jsonPath: .status.conditions[?(@.type=="Ready")].message
2542-
name: Reason
2543-
type: string
2544-
- jsonPath: .status.apiUrl
2545-
name: ApiUrl
2546-
type: string
2547-
- jsonPath: .status.uiUrl
2548-
name: UiUrl
2549-
type: string
2550-
name: v1alpha1
2551-
schema:
2552-
openAPIV3Schema:
2553-
description: TektonHub is the Schema for the tektonhub API
2554-
properties:
2555-
apiVersion:
2556-
description: |-
2557-
APIVersion defines the versioned schema of this representation of an object.
2558-
Servers should convert recognized schemas to the latest internal value, and
2559-
may reject unrecognized values.
2560-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2561-
type: string
2562-
kind:
2563-
description: |-
2564-
Kind is a string value representing the REST resource this object represents.
2565-
Servers may infer this from the endpoint the client submits requests to.
2566-
Cannot be updated.
2567-
In CamelCase.
2568-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2569-
type: string
2570-
metadata:
2571-
type: object
2572-
spec:
2573-
properties:
2574-
api:
2575-
properties:
2576-
catalogRefreshInterval:
2577-
type: string
2578-
hubConfigUrl:
2579-
description: Deprecated, will be removed in further release
2580-
type: string
2581-
routeHostUrl:
2582-
type: string
2583-
secret:
2584-
type: string
2585-
type: object
2586-
catalogs:
2587-
items:
2588-
properties:
2589-
contextDir:
2590-
type: string
2591-
name:
2592-
type: string
2593-
org:
2594-
type: string
2595-
provider:
2596-
type: string
2597-
revision:
2598-
type: string
2599-
sshUrl:
2600-
type: string
2601-
type:
2602-
type: string
2603-
url:
2604-
type: string
2605-
type: object
2606-
type: array
2607-
categories:
2608-
items:
2609-
type: string
2610-
type: array
2611-
customLogo:
2612-
description: The Base64 Encode data and mediaType of the Custom Logo
2613-
properties:
2614-
base64Data:
2615-
type: string
2616-
mediaType:
2617-
type: string
2618-
type: object
2619-
db:
2620-
properties:
2621-
secret:
2622-
type: string
2623-
type: object
2624-
default:
2625-
properties:
2626-
scopes:
2627-
items:
2628-
type: string
2629-
type: array
2630-
type: object
2631-
options:
2632-
description: options holds additions fields and these fields will
2633-
be updated on the manifests
2634-
properties:
2635-
configMaps:
2636-
x-kubernetes-preserve-unknown-fields: true
2637-
deployments:
2638-
x-kubernetes-preserve-unknown-fields: true
2639-
disabled:
2640-
type: boolean
2641-
horizontalPodAutoscalers:
2642-
x-kubernetes-preserve-unknown-fields: true
2643-
statefulSets:
2644-
x-kubernetes-preserve-unknown-fields: true
2645-
webhookConfigurationOptions:
2646-
additionalProperties:
2647-
description: WebhookOptions defines options for webhooks
2648-
properties:
2649-
failurePolicy:
2650-
description: FailurePolicyType specifies a failure policy
2651-
that defines how unrecognized errors from the admission
2652-
endpoint are handled.
2653-
type: string
2654-
sideEffects:
2655-
description: SideEffectClass specifies the types of side
2656-
effects a webhook may have.
2657-
type: string
2658-
timeoutSeconds:
2659-
type: integer
2660-
type: object
2661-
type: object
2662-
type: object
2663-
params:
2664-
description: Params is the list of params passed for Hub customization
2665-
items:
2666-
description: Param declares an string value to use for the parameter
2667-
called name.
2668-
properties:
2669-
name:
2670-
type: string
2671-
value:
2672-
type: string
2673-
type: object
2674-
type: array
2675-
scopes:
2676-
items:
2677-
properties:
2678-
name:
2679-
type: string
2680-
users:
2681-
items:
2682-
type: string
2683-
type: array
2684-
type: object
2685-
type: array
2686-
targetNamespace:
2687-
description: TargetNamespace is where resources will be installed
2688-
type: string
2689-
required:
2690-
- options
2691-
type: object
2692-
status:
2693-
description: TektonHubStatus defines the observed state of TektonHub
2694-
properties:
2695-
annotations:
2696-
additionalProperties:
2697-
type: string
2698-
description: |-
2699-
Annotations is additional Status fields for the Resource to save some
2700-
additional State as well as convey more information to the user. This is
2701-
roughly akin to Annotations on any k8s resource, just the reconciler conveying
2702-
richer information outwards.
2703-
type: object
2704-
apiUrl:
2705-
description: The URL route for API which needs to be exposed
2706-
type: string
2707-
authUrl:
2708-
description: The URL route for Auth server
2709-
type: string
2710-
conditions:
2711-
description: Conditions the latest available observations of a resource's
2712-
current state.
2713-
items:
2714-
description: |-
2715-
Condition defines a readiness condition for a Knative resource.
2716-
See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
2717-
properties:
2718-
lastTransitionTime:
2719-
description: |-
2720-
LastTransitionTime is the last time the condition transitioned from one status to another.
2721-
We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
2722-
differences (all other things held constant).
2723-
type: string
2724-
message:
2725-
description: A human readable message indicating details about
2726-
the transition.
2727-
type: string
2728-
reason:
2729-
description: The reason for the condition's last transition.
2730-
type: string
2731-
severity:
2732-
description: |-
2733-
Severity with which to treat failures of this type of condition.
2734-
When this is not specified, it defaults to Error.
2735-
type: string
2736-
status:
2737-
description: Status of the condition, one of True, False, Unknown.
2738-
type: string
2739-
type:
2740-
description: Type of condition.
2741-
type: string
2742-
required:
2743-
- status
2744-
- type
2745-
type: object
2746-
type: array
2747-
hubInstallerSets:
2748-
additionalProperties:
2749-
type: string
2750-
description: The current installer set name
2751-
type: object
2752-
manifests:
2753-
description: The url links of the manifests, separated by comma
2754-
items:
2755-
type: string
2756-
type: array
2757-
observedGeneration:
2758-
description: |-
2759-
ObservedGeneration is the 'Generation' of the Service that
2760-
was last processed by the controller.
2761-
type: integer
2762-
uiUrl:
2763-
description: The URL route for UI which needs to be exposed
2764-
type: string
2765-
version:
2766-
description: The version of the installed release
2767-
type: string
2768-
type: object
2769-
type: object
2770-
served: true
2771-
storage: true
2772-
subresources:
2773-
status: {}
2774-
---
2775-
apiVersion: apiextensions.k8s.io/v1
2776-
kind: CustomResourceDefinition
27772518
metadata:
27782519
annotations:
27792520
controller-gen.kubebuilder.io/version: v0.18.0

0 commit comments

Comments
 (0)