Skip to content

Commit 11ac738

Browse files
authored
Merge pull request #411 from tim-stasse/feat/redhat-connectivity-link
feat: add redhat-connectivity-link
2 parents 789f7ad + 8cbefa9 commit 11ac738

10 files changed

Lines changed: 95 additions & 0 deletions

File tree

redhat-connectivity-link/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Red Hat Connectivity Link
2+
3+
Install Red Hat Connectivity Link.
4+
5+
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.
6+
7+
The current _overlays_ available are for the following channels:
8+
9+
- [stable](operator/overlays/stable)
10+
11+
## Usage
12+
13+
If you have cloned the `gitops-catalog` repository, you can install Red Hat Connectivity Link based on the overlay of your choice by running from the root (`gitops-catalog`) directory.
14+
15+
```
16+
oc apply -k redhat-connectivity-link/operator/overlays/<channel>
17+
```
18+
19+
Or, without cloning:
20+
21+
```
22+
oc apply -k https://github.com/redhat-cop/gitops-catalog/redhat-connectivity-link/operator/overlays/<channel>
23+
```
24+
25+
As part of a different overlay in your own GitOps repo:
26+
27+
```
28+
apiVersion: kustomize.config.k8s.io/v1beta1
29+
kind: Kustomization
30+
resources:
31+
- https://github.com/redhat-cop/gitops-catalog/redhat-connectivity-link/operator/overlays/<channel>?ref=main
32+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kuadrant.io/v1beta1
2+
kind: Kuadrant
3+
metadata:
4+
name: kuadrant
5+
namespace: kuadrant-system
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
resources:
6+
- kuadrant.yaml
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
resources:
6+
- ../../base
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
resources:
6+
- namespace.yaml
7+
- operatorgroup.yaml
8+
- subscription.yaml
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: kuadrant-system
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: OperatorGroup
2+
apiVersion: operators.coreos.com/v1
3+
metadata:
4+
name: kuadrant
5+
namespace: kuadrant-system
6+
spec:
7+
upgradeStrategy: Default
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: operators.coreos.com/v1alpha1
2+
kind: Subscription
3+
metadata:
4+
name: rhcl-operator
5+
namespace: kuadrant-system
6+
spec:
7+
channel: patch-me-see-overlays-dir
8+
installPlanApproval: Automatic
9+
name: rhcl-operator
10+
source: redhat-operators
11+
sourceNamespace: openshift-marketplace
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
5+
resources:
6+
- ../../base
7+
patches:
8+
- path: patch-channel.yaml
9+
target:
10+
group: operators.coreos.com
11+
kind: Subscription
12+
name: rhcl-operator
13+
namespace: kuadrant-system
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- op: replace
2+
path: /spec/channel
3+
value: stable

0 commit comments

Comments
 (0)