Skip to content

Commit

Permalink
delete pod security policy, enable network explorer functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omrozowicz-splunk committed Oct 9, 2023
1 parent ed11bd9 commit 620cfc9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 82 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/functional_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ jobs:
run: |
make repo-update dep-build
export CI_SPLUNK_HOST=$(kubectl get pod splunk --template={{.status.podIP}})
# TODO: Remove NETWORK_EXPLORER_ENABLED after https://github.com/signalfx/splunk-otel-collector-chart/issues/896
if [[ "$KUBERNETES_VERSION" == *1.24* ]]; then
echo "Detected Kubernetes version 1.24. Setting NETWORK_EXPLORER_ENABLED to true."
export NETWORK_EXPLORER_ENABLED=true
fi
ci_scripts/deploy_collector.sh
- name: Deploy log generator
Expand Down
2 changes: 0 additions & 2 deletions ci_scripts/deploy_collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ else
helm delete $(helm ls --short)
fi
echo "Deploying Splunk OTel Collector for Kubernetes"
# TODO: Remove networkExplorer.enabled after https://github.com/signalfx/splunk-otel-collector-chart/issues/896
helm install ci-sck --set splunkPlatform.index=$CI_INDEX_EVENTS \
--set splunkPlatform.metricsIndex=$CI_INDEX_METRICS \
--set splunkPlatform.token=$CI_SPLUNK_HEC_TOKEN \
--set splunkPlatform.endpoint=https://$CI_SPLUNK_HOST:8088/services/collector \
--set networkExplorer.enabled=${NETWORK_EXPLORER_ENABLED:-false} \
-f ci_scripts/sck_otel_values.yaml helm-charts/splunk-otel-collector/
#--set containerLogs.containerRuntime=$CONTAINER_RUNTIME \
#wait for deployment to finish
Expand Down
5 changes: 2 additions & 3 deletions ci_scripts/sck_otel_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,5 @@ gateway:
cpu: 300m
memory: 300Mi

# TODO: Enable this after https://github.com/signalfx/splunk-otel-collector-chart/issues/896
#networkExplorer:
# enabled: false
networkExplorer:
enabled: true

This file was deleted.

This file was deleted.

0 comments on commit 620cfc9

Please sign in to comment.