Skip to content

Commit

Permalink
use additional args instead of override for cluster install
Browse files Browse the repository at this point in the history
  • Loading branch information
andracc committed Aug 29, 2024
1 parent f858bde commit 6d647f4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 89 deletions.
91 changes: 10 additions & 81 deletions deploy/scripts/setup_files/cluster_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,76 +27,15 @@ otel:
namespace: thecombine
wait: true
override:
mode: "deployment"
namespaceOverride: "thecombine"
image:
repository: "otel/opentelemetry-collector-k8s"
extraEnvs:
- name: HONEYCOMB_API_KEY
valueFrom:
secretKeyRef:
name: honeycomb-api-key-secret
key: api-key
config:
receivers:
jaeger: null
prometheus: null
zipkin: null
otlp:
protocols:
# grpc:
# endpoint: otel-opentelemetry-collector:4317
http:
endpoint: otel-opentelemetry-collector:4318
# cors:
# allowed_origins:
# - "http://thecombine.localhost/*"
processors:
batch: {}
exporters:
otlp:
# endpoint: "api.honeycomb.io:443"
endpoint: "https://api.honeycomb.io:443"
headers:
"x-honeycomb-team": "${HONEYCOMB_API_KEY}"
service:
telemetry:
logs:
level: "debug"
pipelines:
traces:
receivers:
- otlp
processors:
- batch
exporters:
- otlp
metrics: null
logs: null
ports:
otlp:
enabled: false
# enabled: true
# containerPort: 4317
# servicePort: 4317
# hostPort: 4317
# protocol: TCP
otlp-http:
enabled: true
containerPort: 4318
servicePort: 4318
hostPort: 4318
protocol: TCP
jaeger-compact:
enabled: false
jaeger-thrift:
enabled: false
jaeger-grpc:
enabled: false
zipkin:
enabled: false
metrics:
enabled: false
# Additional arguments to pass to helm install/upgrade
# values inside curly braces ({}) are interpreted as
# environment variables and their values will be substituted for
# the curly brace expression.
additional_args:
- --values
- ./setup_files/collector_config.yaml
- --set
- honeycomb-secret=$HONEYCOMB_API_KEY

cert-manager:
repo:
Expand All @@ -108,17 +47,7 @@ cert-manager:
namespace: cert-manager
version: v1.12.3
wait: true
# Additional arguments to pass to helm install/upgrade
# values inside curly braces ({}) are interpreted as
# environment variables and their values will be substituted for
# the curly brace expression.
additional_args:
- --set
- installCRDs=true
# - --values
# - ./setup_files/custom_config.yaml
# - --set
# - my_secret={HOME}
override: installCRDs=true

nginx-ingress-controller:
repo:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# fullnameOverride: "otel-collector"

mode: "deployment"

namespaceOverride: "thecombine"

image:
repository: "otel/opentelemetry-collector-k8s"

# extraEnvs:
# - name: HONEYCOMB_API_KEY
# valueFrom:
# secretKeyRef:
# name: honeycomb-secret
# key: api-key
config:
receivers:
jaeger: null
Expand All @@ -26,9 +27,9 @@ config:
exporters:
otlp:
# endpoint: "api.honeycomb.io:443"
endpoint: "https://api.honeycomb.io"
endpoint: "https://api.honeycomb.io:443"
headers:
"x-honeycomb-team": ""
"x-honeycomb-team": honeycomb-secret
service:
telemetry:
logs:
Expand All @@ -43,7 +44,6 @@ config:
- otlp
metrics: null
logs: null

ports:
otlp:
enabled: false
Expand Down

0 comments on commit 6d647f4

Please sign in to comment.