Skip to content
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
2 changes: 2 additions & 0 deletions apps/appsets/argocd-operators-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
# kube-system is used by kube-prometheus-stack
- namespace: 'kube-system'
server: '*'
- namespace: 'opentelemetry-operator'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'
7 changes: 7 additions & 0 deletions apps/appsets/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ spec:
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
ref: deploy
- component: otel-collector
componentNamespace: otel-collector
skipComponent: '{{has "otel-collector" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}'
sources:
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
path: '{{.name}}/manifests/otel-collector'
selector:
# by setting the key in the elements 'skipComponent' to 'true' it will skip installing it
# ArgoCD's templating operates with strings so it's the string "true"
Expand Down
19 changes: 19 additions & 0 deletions apps/appsets/operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,25 @@ spec:
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
ref: deploy
- component: opentelemetry-operator
skipComponent: '{{has "opentelemetry-operator" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}'
sources:
- repoURL: https://open-telemetry.github.io/opentelemetry-helm-charts
chart: opentelemetry-operator
targetRevision: 0.79.0
helm:
releaseName: opentelemetry-operator
valueFiles:
- $understack/operators/opentelemetry-operator/values.yaml
- $deploy/{{.name}}/helm-configs/opentelemetry-operator.yaml
ignoreMissingValueFiles: true
- repoURL: '{{index .metadata.annotations "uc_repo_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_repo_ref"}}'
ref: understack
path: 'operators/opentelemetry-operator'
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
ref: deploy
selector:
# by setting the key in the elements 'skipComponent' to 'true' it will skip installing it
# ArgoCD's templating operates with strings so it's the string "true"
Expand Down
6 changes: 6 additions & 0 deletions operators/opentelemetry-operator/cert-manager-issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: cert-manager-issuer
spec:
selfSigned: {}
4 changes: 4 additions & 0 deletions operators/opentelemetry-operator/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cert-manager-issuer.yaml
9 changes: 9 additions & 0 deletions operators/opentelemetry-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
admissionWebhooks:
certManager:
issuerRef:
kind: Issuer
name: cert-manager-issuer
manager:
collectorImage:
# The contrib image contains additional modules (i.e. exporters) that increase the compatibility
repository: "otel/opentelemetry-collector-contrib"