Skip to content

Commit

Permalink
Configure observability cluster for loki deployment (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: ​/Thor(sten)?/ Schwesig <[email protected]>
  • Loading branch information
bnshr and schwesig authored Feb 7, 2024
1 parent f89ca2f commit 626919f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions clusters/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../lib/cluster-scope
- ../lib/logging
- loki
- fake-metrics-server


nameSuffix: -obs

patches:
Expand Down Expand Up @@ -33,3 +36,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 626919f

Please sign in to comment.