Skip to content

Commit

Permalink
Configure observability cluster for loki deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bnshr committed Jan 29, 2024
1 parent fd9a10d commit 321f87d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions clusters/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../lib/cluster-scope
- ../lib/logging
- loki

nameSuffix: -obs

Expand Down Expand Up @@ -32,3 +34,11 @@ patches:
- op: replace
path: /spec/source/path
value: cluster-scope/overlays/nerc-ocp-obs
- target:
kind: Application
name: logging
patch: |
- op: replace
path: /spec/source/path
value: logging/overlays/nerc-ocp-obs
15 changes: 15 additions & 0 deletions clusters/nerc-ocp-obs/loki/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: loki
labels:
nerc.mghpcc.org/sync-policy: common
spec:
project: default
source:
repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git
targetRevision: HEAD
path: loki/overlays/nerc-ocp-obs
destination:
name: nerc-ocp-obs
namespace: openshift-operators-redhat
4 changes: 4 additions & 0 deletions clusters/nerc-ocp-obs/loki/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml

0 comments on commit 321f87d

Please sign in to comment.