-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor configuration of ClusterLogForwarder
With this commit configuring the ClusterLogForwarder resource will be done with a new parameter `openshift4_logging.clusterLogForwarder`, which will follow the upstream convention / spec. The old parameter `openshift4_logging.clusterLogForwarding` is deprecated, but existing legacy config will be respected.
- Loading branch information
1 parent
36a5147
commit 294d837
Showing
19 changed files
with
945 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/golden/legacy/openshift4-logging/console-patching/openshift4_console_params.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
config: | ||
plugins: | ||
- logging-view-plugin |
9 changes: 9 additions & 0 deletions
9
tests/golden/legacy/openshift4-logging/openshift4-logging/00_namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
openshift.io/node-selector: '' | ||
labels: | ||
name: openshift-logging | ||
openshift.io/cluster-monitoring: 'true' | ||
name: openshift-logging |
11 changes: 11 additions & 0 deletions
11
tests/golden/legacy/openshift4-logging/openshift4-logging/10_operator_group.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: cluster-logging | ||
name: cluster-logging | ||
namespace: openshift-logging | ||
spec: | ||
targetNamespaces: | ||
- openshift-logging |
43 changes: 43 additions & 0 deletions
43
tests/golden/legacy/openshift4-logging/openshift4-logging/20_subscriptions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: cluster-logging | ||
name: cluster-logging | ||
namespace: openshift-logging | ||
spec: | ||
channel: stable-5.9 | ||
config: | ||
resources: | ||
limits: | ||
memory: 256Mi | ||
requests: | ||
cpu: 10m | ||
memory: 128Mi | ||
installPlanApproval: Automatic | ||
name: cluster-logging | ||
source: redhat-operators | ||
sourceNamespace: openshift-operators-redhat | ||
--- | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: loki-operator | ||
name: loki-operator | ||
namespace: openshift-operators-redhat | ||
spec: | ||
channel: stable-5.9 | ||
config: | ||
resources: | ||
limits: | ||
memory: 512Mi | ||
requests: | ||
cpu: 50m | ||
memory: 381Mi | ||
installPlanApproval: Automatic | ||
name: loki-operator | ||
source: openshift-operators-redhat | ||
sourceNamespace: openshift-operators-redhat |
17 changes: 17 additions & 0 deletions
17
tests/golden/legacy/openshift4-logging/openshift4-logging/30_cluster_logging.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: logging.openshift.io/v1 | ||
kind: ClusterLogging | ||
metadata: | ||
annotations: | ||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
labels: | ||
name: instance | ||
name: instance | ||
namespace: openshift-logging | ||
spec: | ||
collection: | ||
type: vector | ||
logStore: | ||
lokistack: | ||
name: loki | ||
type: lokistack | ||
managementState: Managed |
Oops, something went wrong.