[collector] Adding K8S_NODE_IP to container env vars #960
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Collector Chart | |
on: | |
pull_request: | |
paths: | |
- 'charts/opentelemetry-collector/**' | |
branches: | |
- main | |
jobs: | |
collector-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
create-kind-cluster: "true" | |
- name: Run chart-testing (install) | |
run: ct install --charts charts/opentelemetry-collector | |
- name: Run daemonset and deployment install test | |
run: | | |
kubectl apply -f ./charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered | |
kubectl rollout status daemonset example-opentelemetry-collector-agent --timeout=30s | |
kubectl rollout status deployment example-opentelemetry-collector --timeout=30s |