Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions redhat-build-of-kueue/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Red Hat Build of Kueue

Install Red Hat Build of Kueue.

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:

* [stable-v1.1](operator/overlays/stable-v1.1)

## Usage

If you have cloned the `gitops-catalog` repository, you can install Red Hat OpenShift GitOps based on the overlay of your choice by running from the root (`gitops-catalog`) directory.

```
oc apply -k redhat-build-of-kueue/operator/overlays/<channel>
```

Or, without cloning:

```
oc apply -k https://github.com/redhat-cop/gitops-catalog/redhat-build-of-kueue/operator/overlays/<channel>
```

As part of a different overlay in your own GitOps repo:

```
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/redhat-cop/gitops-catalog/redhat-build-of-kueue/operator/overlays/<channel>?ref=main
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

commonAnnotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true

resources:
- ../../../instance/overlays/default
- ../../../operator/overlays/stable-v1.1
10 changes: 10 additions & 0 deletions redhat-build-of-kueue/instance/base/kueue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: kueue.openshift.io/v1
kind: Kueue
metadata:
name: cluster
spec:
config:
integrations:
frameworks:
- BatchJob
managementState: Managed
5 changes: 5 additions & 0 deletions redhat-build-of-kueue/instance/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- kueue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
9 changes: 9 additions & 0 deletions redhat-build-of-kueue/operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: openshift-kueue-operator

resources:
- namespace.yaml
- operatorgroup.yaml
- subscription.yaml
8 changes: 8 additions & 0 deletions redhat-build-of-kueue/operator/base/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: openshift-kueue-operator
annotations:
openshift.io/display-name: "Red Hat Kueue Operator"
labels:
openshift.io/cluster-monitoring: 'true'
6 changes: 6 additions & 0 deletions redhat-build-of-kueue/operator/base/operatorgroup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: openshift-kueue-operator
namespace: openshift-kueue-operator
spec: {}
10 changes: 10 additions & 0 deletions redhat-build-of-kueue/operator/base/subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: kueue-operator
spec:
channel: patch-me-see-overlays-dir
installPlanApproval: Automatic
name: kueue-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization


resources:
- ../../base
patches:
- path: patch-channel.yaml
target:
group: operators.coreos.com
kind: Subscription
version: v1alpha1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 'stable-v1.1'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# servicemeshoperator3
# redhat-openshift-servicemesh-3

Red Hat OpenShift Service Mesh is a platform that provides behavioral insight and operational control over a service mesh, providing a uniform way to connect, secure, and monitor microservice applications.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ The current *overlays* available are for the following channels:
If you have cloned the `gitops-catalog` repository, you can install Red Hat OpenShift Service Mesh 3 based on the overlay of your choice by running from the root (`gitops-catalog`) directory.

```
oc apply -k servicemeshoperator3/operator/overlays/<channel>
oc apply -k redhat-openshift-servicemesh-3/operator/overlays/<channel>
```

Or, without cloning:

```
oc apply -k https://github.com/redhat-cop/gitops-catalog/servicemeshoperator3/operator/overlays/<channel>
oc apply -k https://github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/operator/overlays/<channel>
```

As part of a different overlay in your own GitOps repo:
Expand All @@ -30,5 +30,5 @@ As part of a different overlay in your own GitOps repo:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/redhat-cop/gitops-catalog/servicemeshoperator3/operator/overlays/<channel>?ref=main
- https://github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/operator/overlays/<channel>?ref=main
```
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ The current *overlays* available are:
If you have cloned the `gitops-catalog` repository, you can install Istio by running from the root `gitops-catalog` directory

```
oc apply -k servicemeshoperator3/instance/overlays/<version>
oc apply -k redhat-openshift-servicemesh-3/instance/overlays/<version>
```

Or, without cloning:

```
oc apply -k https://github.com/redhat-cop/gitops-catalog/servicemeshoperator3/instance/overlays/<version>
oc apply -k https://github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/instance/overlays/<version>
```

As part of a different overlay in your own GitOps repo:
Expand All @@ -47,5 +47,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/redhat-cop/gitops-catalog/servicemeshoperator3/instance/overlays/<version>?ref=main
- github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/instance/overlays/<version>?ref=main
```
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ The current *overlays* available are:
If you have cloned the `gitops-catalog` repository, you can install observability components by running from the root `gitops-catalog` directory

```
oc apply -k servicemeshoperator3/observability/overlays/default
oc apply -k redhat-openshift-servicemesh-3/observability/overlays/default
```

Or, without cloning:

```
oc apply -k https://github.com/redhat-cop/gitops-catalog/servicemeshoperator3/observability/overlays/default
oc apply -k https://github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/observability/overlays/default
```

As part of a different overlay in your own GitOps repo:
Expand All @@ -40,7 +40,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/redhat-cop/gitops-catalog/servicemeshoperator3/observability/overlays/default?ref=main
- github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/observability/overlays/default?ref=main
```

## Monitoring Additional Namespaces
Expand All @@ -56,5 +56,5 @@ kind: Kustomization
namespace: my-app-namespace

components:
- github.com/redhat-cop/gitops-catalog/servicemeshoperator3/observability/components/namespace-monitor?ref=main
- github.com/redhat-cop/gitops-catalog/redhat-openshift-servicemesh-3/observability/components/namespace-monitor?ref=main
```
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: servicemeshoperator3
name: redhat-openshift-servicemesh-3
namespace: openshift-operators
spec:
channel: patch-me-see-overlays-dir
installPlanApproval: Automatic
name: servicemeshoperator3
name: redhat-openshift-servicemesh-3
source: redhat-operators
sourceNamespace: openshift-marketplace
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ resources:
patches:
- target:
kind: Subscription
name: servicemeshoperator3
name: redhat-openshift-servicemesh-3
path: patch-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ resources:
patches:
- target:
kind: Subscription
name: servicemeshoperator3
name: redhat-openshift-servicemesh-3
path: patch-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ resources:
patches:
- target:
kind: Subscription
name: servicemeshoperator3
name: redhat-openshift-servicemesh-3
path: patch-channel.yaml