Skip to content

Commit 66be86a

Browse files
Merge pull request #636 from ecordell/remove-all
fix(crds): remove category all from CRDs
2 parents 61486be + 9ed8b2b commit 66be86a

27 files changed

+1076
-69
lines changed

Documentation/design/architecture.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Each of these Operators are responsible for managing the CRDs that are the basis
66

77
| Resource | Short Name | Owner | Description |
88
|--------------------------|------------|---------|--------------------------------------------------------------------------------------------|
9-
| ClusterServiceVersion | CSV | OLM | application metadata: name, version, icon, required resources, installation, etc... |
10-
| InstallPlan | IP | Catalog | calculated list of resources to be created in order to automatically install/upgrade a CSV |
11-
| CatalogSource | CS | Catalog | a repository of CSVs, CRDs, and packages that define an application |
12-
| Subscription | Sub | Catalog | used to keep CSVs up to date by tracking a channel in a package |
13-
| OperatorGroup | <None> | OLM | method to group multiple namespaces and prepare for use by an operator |
9+
| ClusterServiceVersion | csv | OLM | application metadata: name, version, icon, required resources, installation, etc... |
10+
| InstallPlan | ip | Catalog | calculated list of resources to be created in order to automatically install/upgrade a CSV |
11+
| CatalogSource | catsrc | Catalog | a repository of CSVs, CRDs, and packages that define an application |
12+
| Subscription | sub | Catalog | used to keep CSVs up to date by tracking a channel in a package |
13+
| OperatorGroup | og | OLM | method to group multiple namespaces and prepare for use by an operator |
1414

1515
Each of these Operators are also responsible for creating resources:
1616

@@ -147,4 +147,4 @@ Operator group target namespace information is made available to operators via a
147147

148148
Each CSV in the operator namespace is copied into the target namespace(s), which is done in case a user does not have access to the operator namespace. The copied CSV is annotated with the operator group name and the operator namespace (the target namespace list is intentionally not included for security reasons).
149149

150-
In summary, the goal of the above functionality is to assist in bringing multitenancy features to running operators in a cluster in the easiest most automated way. For creating your own operator group resource, refer to the operator group custom resource definition file in the templates directory.
150+
In summary, the goal of the above functionality is to assist in bringing multitenancy features to running operators in a cluster in the easiest most automated way. For creating your own operator group resource, refer to the operator group custom resource definition file in the templates directory.

deploy/chart/templates/0000_30_02-clusterserviceversion.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ spec:
1313
listKind: ClusterServiceVersionList
1414
shortNames:
1515
- csv
16+
- csvs
1617
categories:
17-
- all
1818
- olm
1919
additionalPrinterColumns:
2020
- name: Display

deploy/chart/templates/0000_30_03-installplan.crd.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ spec:
1818
singular: installplan
1919
kind: InstallPlan
2020
listKind: InstallPlanList
21+
shortNames:
22+
- ip
2123
categories:
22-
- all
2324
- olm
2425
additionalPrinterColumns:
2526
- name: CSV

deploy/chart/templates/0000_30_04-subscription.crd.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ spec:
1818
singular: subscription
1919
kind: Subscription
2020
listKind: SubscriptionList
21+
shortNames:
22+
- sub
23+
- subs
2124
categories:
22-
- all
2325
- olm
2426
additionalPrinterColumns:
2527
- name: Package

deploy/chart/templates/0000_30_05-catalogsource.crd.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ spec:
1818
singular: catalogsource
1919
kind: CatalogSource
2020
listKind: CatalogSourceList
21+
shortNames:
22+
- catsrc
2123
categories:
22-
- all
2324
- olm
2425
additionalPrinterColumns:
2526
- name: Name

deploy/chart/templates/0000_30_10-olm-operator.deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ spec:
6060
nodeSelector:
6161
{{ toYaml .Values.olm.nodeSelector | indent 8 }}
6262
{{- end }}
63-
imagePullSecrets:
64-
- name: coreos-pull-secret

deploy/chart/templates/0000_30_11-catalog-operator.deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,3 @@ spec:
5555
nodeSelector:
5656
{{ toYaml .Values.catalog.nodeSelector | indent 8 }}
5757
{{- end }}
58-
imagePullSecrets:
59-
- name: coreos-pull-secret

deploy/chart/templates/0000_30_13-operatorgroup.crd.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ spec:
1414
singular: operatorgroup
1515
kind: OperatorGroup
1616
listKind: OperatorGroupList
17+
shortNames:
18+
- og
19+
categories:
20+
- olm
1721
scope: Namespaced
1822
subresources:
1923
# status enables the status subresource.
@@ -74,4 +78,4 @@ spec:
7478
- lastUpdated
7579
type: object
7680
required:
77-
- metadata
81+
- metadata

manifests/0000_30_00-namespace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
---
1+
##---
22
# Source: olm/templates/0000_30_00-namespace.yaml
33
apiVersion: v1
44
kind: Namespace
55
metadata:
66
name: openshift-operator-lifecycle-manager
77
labels:
88
openshift.io/run-level: "1"
9+
olm.components: "global"
910
---
1011
apiVersion: v1
1112
kind: Namespace

manifests/0000_30_01-olm-operator.serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
##---
22
# Source: olm/templates/0000_30_01-olm-operator.serviceaccount.yaml
33
apiVersion: rbac.authorization.k8s.io/v1
44
kind: ClusterRole

0 commit comments

Comments
 (0)