Skip to content

Commit 102f29f

Browse files
authored
Update remaining v1alpha1 references with v1 (#1452)
There are a few remaining references to v1alpha1 that need to be updated to use v1. Ref: * #1228 Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
1 parent a5966fa commit 102f29f

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

api/v1/groupversion_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v1alpha1 contains API Schema definitions for the olm v1alpha1 API group
17+
// Package v1 contains API Schema definitions for the olm v1 API group
1818
// +kubebuilder:object:generate=true
1919
// +groupName=olm.operatorframework.io
2020
package v1

config/samples/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
## Append samples of your project ##
22
resources:
33
- olm_v1_clusterextension.yaml
4-
- olm_v1alpha1_extension.yaml
54
#+kubebuilder:scaffold:manifestskustomizesamples

docs/api-reference/operator-controller-api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## olm.operatorframework.io/v1
88

9-
Package v1alpha1 contains API Schema definitions for the olm v1alpha1 API group
9+
Package v1 contains API Schema definitions for the olm v1 API group
1010

1111
### Resource Types
1212
- [ClusterExtension](#clusterextension)

docs/getting-started/olmv1_getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ More information on installing extensions can be found [here](../tutorials/insta
6565
```bash
6666
# Apply the sample ClusterExtension. Manifest already includes
6767
# namespace and adequately privileged service account
68-
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-controller/main/config/samples/olm_v1alpha1_clusterextension.yaml
68+
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-controller/main/config/samples/olm_v1_clusterextension.yaml
6969
```
7070

7171
### Upgrade the Cluster Extension

docs/howto/derive-service-account.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Derive minimal ServiceAccount required for ClusterExtension Installation and Management
22

3-
OLM v1 does not have permission to install extensions on a cluster by default. In order to install a [supported bundle](../project/olmv1_limitations.md),
3+
OLM v1 does not have permission to install extensions on a cluster by default. In order to install a [supported bundle](../project/olmv1_limitations.md),
44
OLM must be provided a ServiceAccount configured with the appropriate permissions.
55

66
This document serves as a guide for how to derive the RBAC necessary to install a bundle.
@@ -31,7 +31,7 @@ Depending on the scope, each permission will need to be added to either a `Clust
3131
### Example
3232

3333
The following example illustrates the process of deriving the minimal RBAC required to install the [ArgoCD Operator](https://operatorhub.io/operator/argocd-operator) [v0.6.0](https://operatorhub.io/operator/argocd-operator/alpha/argocd-operator.v0.6.0) provided by [OperatorHub.io](https://operatorhub.io/).
34-
The final permission set can be found in the [ClusterExtension sample manifest](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1alpha1_clusterextension.yaml) in the [samples](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1alpha1_clusterextension.yaml) directory.
34+
The final permission set can be found in the [ClusterExtension sample manifest](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1_clusterextension.yaml) in the [samples](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1_clusterextension.yaml) directory.
3535

3636
The bundle includes the following manifests, which can be found [here](https://github.com/argoproj-labs/argocd-operator/tree/da6b8a7e68f71920de9545152714b9066990fc4b/deploy/olm-catalog/argocd-operator/0.6.0):
3737

@@ -99,7 +99,7 @@ The same can be done for `ClusterRoleBindings`.
9999

100100
##### Step 2. `CustomResourceDefinition` permissions
101101

102-
The installer service account must be able to create and manage the `CustomResourceDefinition`s for the extension, as well
102+
The installer service account must be able to create and manage the `CustomResourceDefinition`s for the extension, as well
103103
as grant the extension controller's service account the permissions it needs to manage its CRDs.
104104

105105
```yaml
@@ -302,7 +302,7 @@ Once the installer service account required cluster-scoped and namespace-scoped
302302
6. Create the `RoleBinding` between the installer service account and its role
303303
7. Create the `ClusterExtension`
304304

305-
A manifest with the full set of resources can be found [here](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1alpha1_clusterextension.yaml).
305+
A manifest with the full set of resources can be found [here](https://github.com/operator-framework/operator-controller/blob/main/config/samples/olm_v1_clusterextension.yaml).
306306

307307
### Alternatives
308308

@@ -348,5 +348,5 @@ kubectl create clusterrolebinding my-cluster-extension-installer-role-binding \
348348

349349
In the spirit of making this process more tenable until the proper tools are in place, the scripts
350350
in [hack/tools/catalogs](https://github.com/operator-framework/operator-controller/blob/main/hack/tools/catalogs) were created to help the user navigate and search catalogs as well
351-
as to generate the minimal RBAC requirements. These tools are offered as is, with no guarantees on their correctness,
351+
as to generate the minimal RBAC requirements. These tools are offered as is, with no guarantees on their correctness,
352352
support, or maintenance. For more information, see [Hack Catalog Tools](https://github.com/operator-framework/operator-controller/blob/main/hack/tools/catalogs/README.md).

0 commit comments

Comments
 (0)