Skip to content

Commit

Permalink
Move opentelemetry operator outside of openobserve
Browse files Browse the repository at this point in the history
Add openobserve chart again as it got removed
  • Loading branch information
nihaldivyam committed Jan 27, 2025
1 parent 353a7c7 commit 1593d7c
Show file tree
Hide file tree
Showing 250 changed files with 14,979 additions and 8 deletions.
7 changes: 2 additions & 5 deletions argocd-helm-charts/openobserve/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@ dependencies:
- name: openobserve-collector
repository: https://charts.openobserve.ai/
version: 0.3.21
- name: opentelemetry-operator
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.79.0
digest: sha256:310055ba69ae394f734de7e65ee1f034d63d9043ee129c7183e8b2174a747205
generated: "2025-01-27T11:59:23.382541937+05:30"
digest: sha256:ceae91943c3306f330fd0cc35983f6b05f25d62aa9b25a022255207ecff366d2
generated: "2025-01-24T15:14:37.450184259+05:30"
3 changes: 0 additions & 3 deletions argocd-helm-charts/openobserve/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ dependencies:
- name: openobserve-collector
version: 0.3.21
repository: https://charts.openobserve.ai/
- name: opentelemetry-operator
version: 0.79.0
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
39 changes: 39 additions & 0 deletions argocd-helm-charts/openobserve/charts/openobserve/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Helmignore for a Helm Chart

# Version control
.git
.git/
.gitignore
.svn/

# Helm chart files
*.lock

# Temp files
*.tmp
*.temp
*.bak
*.swp
*.viminfo

# IDEs/Editors
.vscode/
.idea/
*.iml

# OS generated
.DS_Store
Thumbs.db
__MACOSX/

# Other
secrets.yaml
test/

# test files
install.sh
uninstall.sh
values_testing.yaml

t_*.*

24 changes: 24 additions & 0 deletions argocd-helm-charts/openobserve/charts/openobserve/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
appVersion: v0.14.0
dependencies:
- condition: etcd.enabled
name: etcd
repository: https://charts.bitnami.com/bitnami
version: 10.4.2
- condition: nats.enabled
name: nats
repository: https://nats-io.github.io/k8s/helm/charts/
version: 1.2.6
- condition: minio.enabled
name: minio
repository: https://charts.min.io
version: 5.3.0
description: Logs, Metrics and Traces, Dashboards, RUM, Error tracking, Session replay
etc. Elasticsearch API compatibility.
maintainers:
- email: [email protected]
name: OpenObserve
url: https://openobserve.ai
name: openobserve
type: application
version: 0.14.7
64 changes: 64 additions & 0 deletions argocd-helm-charts/openobserve/charts/openobserve/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# OpenObserve helm chart

## Amazon EKS

openobserve uses [IRSA](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) on Amazon EKS to securely access s3.

You must set a minimum of 2 values:

1. S3 bucket where data will be stored
- config.ZO_S3_BUCKET_NAME
1. IAM role for the serviceAccount to gain AWS IAM credentials to access s3
- serviceAccount.annotations."eks.amazonaws.com/role-arn"

## Install

Install the Cloud Native PostgreSQL Operator. This is a prerequisite for openobserve helm chart. This helm chart sets up a postgres database cluster (1 primary + 1 replica) and uses it as metadata store of OpenObserve.
```shell
kubectl apply -f \
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.22/releases/cnpg-1.22.1.yaml
```

Install the openobserve helm chart
```shell
helm repo add openobserve https://charts.openobserve.ai
helm repo update

kubectl create ns openobserve

helm --namespace openobserve -f values.yaml install o2 openobserve/openobserve
```

## Uninstall

```shell
helm --namespace openobserve delete o2
```

# Development

If you are developing this chart then you should clone the repo and make any modifications.

You can generate output of the chart using below command to verify:

```shell
helm -n openobserve template o2 . > o2.yaml
```

You can then install using:

```shell
helm -n openobserve install o2 .
```

To upgrade

```shell
helm -n openobserve upgrade o2 .
```

To uninstall

```shell
helm -n openobserve uninstall o2
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
# img folder
img/
# Changelog
CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.23.0
digest: sha256:fbd6439f12ded949c04553b9c52a4c8153a8f2790147d972b314ddcd46921a14
generated: "2024-09-23T09:32:14.87980615Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
annotations:
category: Database
images: |
- name: etcd
image: docker.io/bitnami/etcd:3.5.16-debian-12-r2
- name: os-shell
image: docker.io/bitnami/os-shell:12-debian-12-r30
licenses: Apache-2.0
apiVersion: v2
appVersion: 3.5.16
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
description: etcd is a distributed key-value store designed to securely store data
across a cluster. etcd is widely used in production on account of its reliability,
fault-tolerance and ease of use.
home: https://bitnami.com
icon: https://bitnami.com/assets/stacks/etcd/img/etcd-stack-220x234.png
keywords:
- etcd
- cluster
- database
- cache
- key-value
maintainers:
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: etcd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
version: 10.4.2
Loading

0 comments on commit 1593d7c

Please sign in to comment.