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

install logging CRDs via Helm #884

Merged
merged 1 commit into from
Mar 16, 2023
Merged
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
19 changes: 19 additions & 0 deletions dp-terraform/helm/rhacs-terraform/charts/logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

This chart installs resource into `openshift-logging` namespace. This namespace is Openshift dedicated namespace for logging stack for OSD cluster.

## Custom resource definitions

The initial deployment of the chart requires the installation of the `ClusterLogging`
and `ClusterLogForwarder` custom resource definitions. They're required to define the
logging configuration in the template folder. Helm installs all CRDs inside the `crds/`
folder on the first run. Afterwards OLM and the logging operator itself keep the CRDs
up to date. See the
[Helm documentation](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations)
for some caveats and explanations of this approach.

The following commands generate `crds/logging.yaml`:

```
git clone [email protected]/openshift/cluster-logging-operator.git
cd cluster-logging-operator
git checkout release-5.6
kustomize build config/crd > crds/logging.yaml
```

## Usage

Create a file `~/acs-terraform-logging-values.yaml` with the values for the parameters in [values.yaml](./values.yaml) that are missing or that you want to override. That file will contain credentials, so make sure you put it in a safe location, and with suitable permissions.
Expand Down
Loading