Skip to content

Commit

Permalink
Merge pull request #301 from v1k0d3n/lvm-update-4-1x
Browse files Browse the repository at this point in the history
update overlays for lvm, and update readme
  • Loading branch information
strangiato authored May 10, 2024
2 parents 07bba80 + 0a3e6ee commit 4fa0ab8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lvm-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Installs the OpenShift LVM Storage Operator
Do not use the `base` directory directly, as you will need to patch the `channel` based on the version of OpenShift you are using, or the version of the operator you want to use.

The current *overlays* available are for the following channels:

* [4.12-stable](overlays/4.12-stable)
* [4.15-stable](overlays/4.15-stable)
* [4.14-stable](overlays/4.14-stable)
* [4.13-stable](overlays/4.13-stable)
* [4.12-stable](overlays/4.12-stable)

## Usage

Expand Down
15 changes: 15 additions & 0 deletions lvm-storage/operator/overlays/stable-4.14/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

patches:
- path: patch-channel.yaml
target:
group: operators.coreos.com
kind: Subscription
name: lvms-operator
namespace: openshift-storage
version: v1alpha1
3 changes: 3 additions & 0 deletions lvm-storage/operator/overlays/stable-4.14/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 4.14-stable
15 changes: 15 additions & 0 deletions lvm-storage/operator/overlays/stable-4.15/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

patches:
- path: patch-channel.yaml
target:
group: operators.coreos.com
kind: Subscription
name: lvms-operator
namespace: openshift-storage
version: v1alpha1
3 changes: 3 additions & 0 deletions lvm-storage/operator/overlays/stable-4.15/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 4.15-stable

0 comments on commit 4fa0ab8

Please sign in to comment.