Skip to content

Commit

Permalink
Delete unused API CRD and controller (Kuadrant#87)
Browse files Browse the repository at this point in the history
* delete unused API CRD and controller

* manifests updated
  • Loading branch information
eguzki authored Feb 16, 2022
1 parent 9adfed3 commit a6c78e2
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 470 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ vendor
*.swp
*.swo
*~

kuadrant-controller
60 changes: 0 additions & 60 deletions apis/apim/v1alpha1/api_types.go

This file was deleted.

111 changes: 0 additions & 111 deletions apis/apim/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 0 additions & 78 deletions config/crd/bases/apim.kuadrant.io_apis.yaml

This file was deleted.

1 change: 0 additions & 1 deletion config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/apim.kuadrant.io_apis.yaml
- bases/apim.kuadrant.io_ratelimitpolicies.yaml
#+kubebuilder:scaffold:crdkustomizeresource

Expand Down
98 changes: 0 additions & 98 deletions config/deploy/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,78 +8,6 @@ metadata:
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
labels:
app: kuadrant
name: apis.apim.kuadrant.io
spec:
group: apim.kuadrant.io
names:
kind: API
listKind: APIList
plural: apis
singular: api
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: API is the Schema for the apis API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
info:
properties:
description:
type: string
openAPIRef:
properties:
URL:
type: string
configMap:
description: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
type: object
title:
type: string
version:
type: string
required:
- title
- version
type: object
required:
- info
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
Expand Down Expand Up @@ -270,32 +198,6 @@ metadata:
app: kuadrant
name: kuadrant-manager-role
rules:
- apiGroups:
- apim.kuadrant.io
resources:
- apis
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apim.kuadrant.io
resources:
- apis/finalizers
verbs:
- update
- apiGroups:
- apim.kuadrant.io
resources:
- apis/status
verbs:
- get
- patch
- update
- apiGroups:
- apim.kuadrant.io
resources:
Expand Down
Loading

0 comments on commit a6c78e2

Please sign in to comment.