Skip to content

Commit

Permalink
Make CSV samples v1beta1 friendly (#2869)
Browse files Browse the repository at this point in the history
* Make CSV samples v1beta1 friendly

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

---------

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay authored Apr 17, 2024
1 parent a2cd058 commit d551349
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ metadata:
"name": "otel"
},
"spec": {
"config": "receivers:\n otlp:\n protocols: \n grpc:\n http:\n\nexporters:\n debug:\n\nservice:\n pipelines:\n traces:\n receivers: [otlp]\n exporters: [debug]\n"
"config": "receivers:\n otlp:\n protocols: \n grpc: {}\n http: {}\n\nexporters:\n debug: {}\n\nservice:\n pipelines:\n traces:\n receivers: [otlp]\n exporters: [debug]\n"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions config/samples/core_v1alpha1_opentelemetrycollector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ spec:
receivers:
otlp:
protocols:
grpc:
http:
grpc: {}
http: {}
exporters:
debug:
debug: {}
service:
pipelines:
Expand Down
13 changes: 7 additions & 6 deletions config/samples/exporter-with-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,21 @@ spec:
receivers:
jaeger:
protocols:
grpc:
grpc: {}
processors:
batch:
batch: {}
exporters:
jaeger:
otlp:
endpoint: "simplest-collector-headless.default.svc:14250"
ca_file: "/etc/pki/ca-trust/source/service-ca/service-ca.crt"
server_name_override: "simplest-collector-headless.default.svc.cluster.local"
tls:
ca_file: "/etc/pki/ca-trust/source/service-ca/service-ca.crt"
server_name_override: "simplest-collector-headless.default.svc.cluster.local"
service:
pipelines:
traces:
receivers: [jaeger]
processors: [batch]
exporters: [jaeger]
exporters: [otlp]
6 changes: 3 additions & 3 deletions config/samples/sidecar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
receivers:
otlp:
protocols:
grpc:
http:
grpc: {}
http: {}
exporters:
debug:
debug: {}
service:
pipelines:
Expand Down

0 comments on commit d551349

Please sign in to comment.