Skip to content

Commit

Permalink
feat: enable installing telemetry-controller as a sub-chart
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 committed Dec 6, 2024
1 parent bc5937a commit 9a91a03
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
7 changes: 5 additions & 2 deletions charts/logging-operator/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ dependencies:
- name: logging-operator-crds
repository: ""
version: 0.0.0
digest: sha256:cdfb5cdd4a7897d730175d7bfeb884fbaec8efcfdef1130680792abd9bff5a72
generated: "2024-11-28T16:10:58.540563+01:00"
- name: telemetry-controller
repository: oci://ghcr.io/kube-logging/helm-charts
version: 0.0.13
digest: sha256:e760bc606b1ce484a13b0382a6c67e6b5511066c02b5296759f64d4f7ee50ef0
generated: "2024-12-06T09:31:12.29452+01:00"
4 changes: 4 additions & 0 deletions charts/logging-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ dependencies:
- name: logging-operator-crds
version: 0.0.0
condition: logging-operator-crds.install
- name: telemetry-controller
version: 0.0.13
repository: oci://ghcr.io/kube-logging/helm-charts
condition: telemetry-controller.install
1 change: 1 addition & 0 deletions charts/logging-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Use `createCustomResource=false` with Helm v3 to avoid trying to create CRDs fro
| createCustomResource | bool | `false` | Deploy CRDs used by Logging Operator. |
| logging-operator-crds.install | bool | `false` | Toggle to install and upgrade CRDs from a subchart. Make sure to use it with `--skip-crds` to avoid conflicts. [More info about limitations on CRDs in Helm 3](https://helm.sh/docs/topics/charts/#limitations-on-crds) |
| logging-operator-crds.annotations | object | `{}` | Annotations to be added to all CRDs |
| telemetry-controller.install | bool | `false` | Toggle to install and upgrade Telemetry Controller from a subchart. |
| http.port | int | `8080` | HTTP listen port number. |
| http.service | object | `{"annotations":{},"clusterIP":"None","labels":{},"type":"ClusterIP"}` | Service definition for query http service. |
| rbac.enabled | bool | `true` | Create rbac service account and roles. |
Expand Down
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/logging-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ logging-operator-crds:
# -- Annotations to be added to all CRDs
annotations: {}

## Telemetry Controller defined as a dependency chart
telemetry-controller:
# -- Toggle to install and upgrade Telemetry Controller from a subchart.
install: false

http:
# -- HTTP listen port number.
port: 8080
Expand Down

0 comments on commit 9a91a03

Please sign in to comment.