Skip to content

Commit

Permalink
update k8s manifest using chart 0.33.1 (#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck authored Nov 20, 2024
1 parent 41f54b7 commit 069b80b
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions kubernetes/opentelemetry-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11003,63 +11003,3 @@ spec:
- name: config-emptydir
mountPath: /usr/share/opensearch/config/opensearch.yml
subPath: opensearch.yml
---
# Source: opentelemetry-demo/charts/grafana/templates/tests/test-serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: opentelemetry-demo
app.kubernetes.io/version: "11.2.2"
name: opentelemetry-demo-grafana-test
namespace: otel-demo
annotations:
---
# Source: opentelemetry-demo/charts/grafana/templates/tests/test-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: opentelemetry-demo-grafana-test
namespace: otel-demo
annotations:
labels:
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: opentelemetry-demo
app.kubernetes.io/version: "11.2.2"
data:
run.sh: |-
@test "Test Health" {
url="http://opentelemetry-demo-grafana/api/health"
code=$(wget --server-response --spider --timeout 90 --tries 10 ${url} 2>&1 | awk '/^ HTTP/{print $2}')
[ "$code" == "200" ]
}
---
# Source: opentelemetry-demo/charts/grafana/templates/tests/test.yaml
apiVersion: v1
kind: Pod
metadata:
name: opentelemetry-demo-grafana-test
labels:
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: opentelemetry-demo
app.kubernetes.io/version: "11.2.2"
annotations:
namespace: otel-demo
spec:
serviceAccountName: opentelemetry-demo-grafana-test
containers:
- name: opentelemetry-demo-test
image: "docker.io/bats/bats:v1.4.1"
imagePullPolicy: "IfNotPresent"
command: ["/opt/bats/bin/bats", "-t", "/tests/run.sh"]
volumeMounts:
- mountPath: /tests
name: tests
readOnly: true
volumes:
- name: tests
configMap:
name: opentelemetry-demo-grafana-test
restartPolicy: Never

0 comments on commit 069b80b

Please sign in to comment.