Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjustments in logging and LOKI due to Observability cluster #325

Closed
wants to merge 4 commits into from
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
8 changes: 6 additions & 2 deletions logging/base/clusterlogforwarders/instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ metadata:
name: instance
namespace: openshift-logging
spec:
outputs:
- name: remoteloki
type: loki
url: https://logging-loki-openshift-logging.apps.nerc-ocp-obs.rc.fas.harvard.edu/api/logs/v1/application
pipelines:
- name: all-to-default
- name: all-to-loki
inputRefs:
- infrastructure
- application
- audit
outputRefs:
- default
- remoteloki
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: openshift-logging-lokistack-gateway-bearer-token
namespace: openshift-logging
spec:
dataFrom:
- extract:
# Command to extract the JSON pull secret: oc extract secret/pull-secret -n openshift-config --to=-
key: nerc/nerc-ocp-obs/lokistack-gateway-bearer-token
8 changes: 8 additions & 0 deletions logging/overlays/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

patches:
- path: externalsecrets/openshift-logging-lokistack-gateway-bearer-token_patch.yaml

This file was deleted.

Loading