Skip to content

Commit

Permalink
Add loki manifests (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Igou authored Jun 4, 2024
1 parent e8f7212 commit 233de22
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 0 deletions.
9 changes: 9 additions & 0 deletions loki-operator/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-operators-redhat

resources:
- namespace.yaml
- subscription.yaml
6 changes: 6 additions & 0 deletions loki-operator/operator/base/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: openshift-operators-redhat
labels:
openshift.io/cluster-monitoring: "true"
11 changes: 11 additions & 0 deletions loki-operator/operator/base/subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: loki-operator
namespace: openshift-operators-redhat
spec:
channel: "patch-me-in-overlay"
installPlanApproval: Automatic
name: loki-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
15 changes: 15 additions & 0 deletions loki-operator/operator/overlays/stable-5.8/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: loki-operator
namespace: openshift-operators-redhat
version: v1alpha1
3 changes: 3 additions & 0 deletions loki-operator/operator/overlays/stable-5.8/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 'stable-5.8'
15 changes: 15 additions & 0 deletions loki-operator/operator/overlays/stable-5.9/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: loki-operator
namespace: openshift-operators-redhat
version: v1alpha1
3 changes: 3 additions & 0 deletions loki-operator/operator/overlays/stable-5.9/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 'stable-5.9'
15 changes: 15 additions & 0 deletions loki-operator/operator/overlays/stable/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: loki-operator
namespace: openshift-operators-redhat
version: v1alpha1
3 changes: 3 additions & 0 deletions loki-operator/operator/overlays/stable/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: 'stable'

0 comments on commit 233de22

Please sign in to comment.