Skip to content

Commit 56f457a

Browse files
cwadhwani-splunkomrozowicz-splunksrv-rr-github-tokenikheifets-splunkajasnosz
authored
fix: release 1.14.1 (#1260)
* chore: fix the documentation about NodePorts and LoadBalancers (#1254) * fix: update offline docker compose installation (#1257) * chore(release): 1.14.1-beta.1 ## [1.14.1-beta.1](v1.14.0...v1.14.1-beta.1) (2025-10-02) ### Bug Fixes * update offline docker compose installation ([#1257](#1257)) ([f0774ed](f0774ed)) * fix: update mongo mongodb volumePermissions image (#1258) * fix: update mongo mongodb volumePermissions image [run-int-tests] * chore: updated the integration tests * chore: run integration tests [run-int-tests] --------- Co-authored-by: cwadhwani <[email protected]> * chore(release): 1.14.1-beta.2 ## [1.14.1-beta.2](v1.14.1-beta.1...v1.14.1-beta.2) (2025-10-03) ### Bug Fixes * update mongo mongodb volumePermissions image ([#1258](#1258)) ([f93daa6](f93daa6)) * chore: update CHANGELOG (#1259) * feat: merged the improved polling changes to main build (#1239) * feat: mTLS for Splunk 10 (#1197) * feat: mTLS support for Splunk 10 * docs: fix typo --------- Co-authored-by: Olga <[email protected]> Co-authored-by: ajasnosz <[email protected]> * chore(release): 1.13.0-beta.1 # [1.13.0-beta.1](v1.12.3...v1.13.0-beta.1) (2025-06-10) ### Features * mTLS for Splunk 10 ([#1197](#1197)) ([e8cb2a4](e8cb2a4)) * chore(deps): update docker/login-action action to v3.4.0 (#1166) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: python and dependency update (#1200) * chore(release): 1.13.0-beta.2 # [1.13.0-beta.2](v1.13.0-beta.1...v1.13.0-beta.2) (2025-06-10) ### Bug Fixes * python and dependency update ([#1200](#1200)) ([dd39338](dd39338)) * chore: add missing sudo in integration test script (#1207) * chore: update microk8s (#1206) * chore: update microk8s * chore: add changelog * chore(deps): update dependency urllib3 to v2 [security] (#1205) * chore(deps): update dependency urllib3 to v2 [security] * test: test [run-int-tests] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: omrozowicz-splunk <[email protected]> * fix: replace - with _ for metrics (#1213) * fix: add option to change "-" to an "_" to be compatible with metric schema in Splunk * fix: doc fix and docker-compose change * fix: add docs * chore: pre-commit run * doc: refine * doc: address PR comments, update CHANGELOG * chore(release): 1.13.0-beta.3 # [1.13.0-beta.3](v1.13.0-beta.2...v1.13.0-beta.3) (2025-07-09) ### Bug Fixes * replace - with _ for metrics ([#1213](#1213)) ([cd44b56](cd44b56)) * feat: add partial walk (#1215) * chore(release): 1.13.0-beta.4 # [1.13.0-beta.4](v1.13.0-beta.3...v1.13.0-beta.4) (2025-07-22) ### Features * add partial walk ([#1215](#1215)) ([0e1f32f](0e1f32f)) * test: parallelised integration tests (#1220) * test: add one more worker * chore: add parallelism to docker-compose tests * chore: move some polling tests to worker * fix: problem with casting strings of scientific notation (#1219) * fix: problems with interpreting scientific value as float * fix: unnecessary import * fix: run pre-commit * fix: check regex only if value is an instance of str * fix: wrong function * test: delete unnecessary test case * test: rename test file * chore: run pre-commit * chore: update CHANGELOG * chore(release): 1.13.0-beta.5 # [1.13.0-beta.5](v1.13.0-beta.4...v1.13.0-beta.5) (2025-07-30) ### Bug Fixes * problem with casting strings of scientific notation ([#1219](#1219)) ([80818aa](80818aa)) * fix: add ipv6 flag for worker poller (#1218) * chore(release): 1.13.0-beta.6 # [1.13.0-beta.6](v1.13.0-beta.5...v1.13.0-beta.6) (2025-07-31) ### Bug Fixes * add ipv6 flag for worker poller ([#1218](#1218)) ([57d44ae](57d44ae)) * chore(deps): update dependency mkdocs-material to v9.6.16 (#1211) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: fix license accept issue in integration tests (#1227) * fix: logging (#1223) * fix: disable mongo logs, fix traps logging * fix: run pre-commit, fix conflicts * fix: run pre-commit * fix: make mongo logging configurable * fix: make mongo logging configurable * fix: add docs * fix: fix traps helm template * fix: add CHANGELOG * chore(release): 1.13.0-beta.7 # [1.13.0-beta.7](v1.13.0-beta.6...v1.13.0-beta.7) (2025-08-13) ### Bug Fixes * logging ([#1223](#1223)) ([a98987c](a98987c)) * fix: update dependencies (#1229) * chore(release): 1.13.0-beta.8 # [1.13.0-beta.8](v1.13.0-beta.7...v1.13.0-beta.8) (2025-08-13) ### Bug Fixes * update dependencies ([#1229](#1229)) ([fcf8805](fcf8805)) * fix: traps add engine contextId (#1230) * fix: add decode method security engine ID * chore: add missing import * fix: unit tests * fix: run pre-commit * fix: update docker env file, docs and changelog * fix: update method description --------- Co-authored-by: ajasnosz <[email protected]> * chore(release): 1.13.0-beta.9 # [1.13.0-beta.9](v1.13.0-beta.8...v1.13.0-beta.9) (2025-08-14) ### Bug Fixes * traps add engine contextId ([#1230](#1230)) ([3dff9cd](3dff9cd)) * feat: merged the improved polling changes to main build * chore: added existing variables * chore: removing unnecessary fields --------- Co-authored-by: Ilya Kheifets <[email protected]> Co-authored-by: Olga <[email protected]> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: srv-rr-github-token <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: omrozowicz-splunk <[email protected]> * chore(release): 1.14.0-beta.1 # [1.14.0-beta.1](v1.13.0...v1.14.0-beta.1) (2025-09-17) ### Features * merged the improved polling changes to main build ([#1239](#1239)) ([6f6b4d0](6f6b4d0)), closes [#1197](#1197) * fix: migrating bitnami to bitnamilegacy for redis and mongodb (#1245) * fix: migrating bitnami to bitnamilegacy for redis and mongodb * chore: executed make render * chore: empty commit to run integration tests [run-int-tests] * chore: update CHANGELOG (#1246) * chore(release): 1.14.0-beta.2 # [1.14.0-beta.2](v1.14.0-beta.1...v1.14.0-beta.2) (2025-09-24) ### Bug Fixes * migrating bitnami to bitnamilegacy for redis and mongodb ([#1245](#1245)) ([0de679b](0de679b)) * chore: updated the CHANGELOG --------- Co-authored-by: Ilya Kheifets <[email protected]> Co-authored-by: Olga <[email protected]> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: srv-rr-github-token <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: omrozowicz-splunk <[email protected]> --------- Co-authored-by: Olga <[email protected]> Co-authored-by: srv-rr-github-token <[email protected]> Co-authored-by: Ilya Kheifets <[email protected]> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ajasnosz <[email protected]> Co-authored-by: omrozowicz-splunk <[email protected]>
1 parent 65fb061 commit 56f457a

File tree

13 files changed

+43
-39
lines changed

13 files changed

+43
-39
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
## [1.14.1]
6+
- update mongodb volumePermission image repository to `bitnamileagcy`
7+
58
## [1.14.0]
69
- change bulkWalk `nonRepeater` to 0 and allow user to set `MAX_REPETITIONS` to achieve better polling performance
710
- update bitnami image repository to `bitnamileagcy`

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /app
1010

1111
FROM base AS builder
1212
RUN pip install --upgrade pip ;\
13-
pip install poetry
13+
pip install poetry
1414

1515
COPY poetry.lock pyproject.toml /app/
1616
COPY splunk_connect_for_snmp /app/splunk_connect_for_snmp

charts/splunk-connect-for-snmp/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ type: application
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
1616

17-
version: 1.14.0
17+
version: 1.14.1-beta.2
1818
# This is the version number of the application being deployed. This version number should be
1919
# incremented each time you make changes to the application. Versions are not expected to
2020
# follow Semantic Versioning. They should reflect the version the application is using.
2121
# It is recommended to use it with quotes.
22-
appVersion: "1.14.0"
22+
appVersion: "1.14.1-beta.2"
2323
#
2424
dependencies:
2525
- name: mongodb

charts/splunk-connect-for-snmp/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ traps:
454454
# was introduced to allow using splunk-connect-for-syslog on the same machine
455455
usemetallb: true
456456
metallbsharingkey: "splunk-connect"
457-
# when using SC4SNMP on a standalone k8s installation, LoadBalancer is a good choice
458-
# on a multi-node it's better to set this as NodePort and configure traps.service.nodePort
457+
# when using SC4SNMP on a multinode k8s installation, LoadBalancer is a good choice
458+
# on a multi-node it's enough to set this as NodePort and configure traps.service.nodePort
459459
type: LoadBalancer
460460
port: 162
461461

@@ -568,6 +568,8 @@ mongodb:
568568
containerPort: 9216
569569
## Prometheus Exporter service configuration
570570
##
571+
image:
572+
repository: bitnamilegacy/mongodb-exporter
571573
service:
572574
## @param metrics.service.annotations [object] Annotations for Prometheus Exporter pods. Evaluated as a template.
573575
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
@@ -585,6 +587,8 @@ mongodb:
585587
persistence:
586588
storageClass: "microk8s-hostpath"
587589
volumePermissions:
590+
image:
591+
repository: bitnamilegacy/os-shell
588592
enabled: true
589593
redis:
590594
architecture: standalone

docker_compose/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Deployment configuration
22
SC4SNMP_IMAGE=ghcr.io/splunk/splunk-connect-for-snmp/container
3-
SC4SNMP_TAG="1.14.0"
3+
SC4SNMP_TAG="1.14.1-beta.2"
44
SCHEDULER_CONFIG_FILE_ABSOLUTE_PATH=
55
TRAPS_CONFIG_FILE_ABSOLUTE_PATH=
66
INVENTORY_FILE_ABSOLUTE_PATH=
77
COREFILE_ABS_PATH=
8-
SC4SNMP_VERSION="1.14.0"
8+
SC4SNMP_VERSION="1.14.1-beta.2"
99

1010
# Network configuration
1111
COREDNS_ADDRESS=172.28.0.255

docs/dockercompose/8-offline-installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ COREDNS_TAG=1.11.1
2525
MIBSERVER_IMAGE=ghcr.io/pysnmp/mibs/container
2626
MIBSERVER_TAG=latest
2727
28-
REDIS_IMAGE=docker.io/bitnami/redis
28+
REDIS_IMAGE=docker.io/bitnamilegacy/redis
2929
REDIS_TAG=7.2.1-debian-11-r0
3030
31-
MONGO_IMAGE=docker.io/bitnami/mongodb
32-
MONGO_TAG=6.0.9-debian-11-r5
31+
MONGO_IMAGE=docker.io/bitnamilegacy/mongodb
32+
MONGO_TAG=7.0.14-debian-12-r3
3333
```
3434

3535
They must be downloaded in the online environment by following commands:
@@ -38,17 +38,17 @@ They must be downloaded in the online environment by following commands:
3838
docker pull ghcr.io/splunk/splunk-connect-for-snmp/container:latest
3939
docker pull coredns/coredns:1.11.1
4040
docker pull ghcr.io/pysnmp/mibs/container:latest
41-
docker pull docker.io/bitnami/redis:7.2.1-debian-11-r0
42-
docker pull docker.io/bitnami/mongodb:6.0.9-debian-11-r5
41+
docker pull docker.io/bitnamilegacy/redis:7.2.1-debian-11-r0
42+
docker pull docker.io/bitnamilegacy/mongodb:7.0.14-debian-12-r3
4343
```
4444

4545
Next step is to save them to `sc4snmp_offline_images.tar` archive:
4646
```shell
4747
docker save ghcr.io/splunk/splunk-connect-for-snmp/container:latest \
4848
coredns/coredns:1.11.1 \
4949
ghcr.io/pysnmp/mibs/container:latest \
50-
docker.io/bitnami/redis:7.2.1-debian-11-r0 \
51-
docker.io/bitnami/mongodb:6.0.9-debian-11-r5 > sc4snmp_offline_images.tar
50+
docker.io/bitnamilegacy/redis:7.2.1-debian-11-r0 \
51+
docker.io/bitnamilegacy/mongodb:7.0.14-debian-12-r3 > sc4snmp_offline_images.tar
5252
```
5353

5454
After moving `sc4snmp_offline_images.tar` archive to the offline environment, images can be loaded to docker:

integration_tests/.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ COREDNS_IMAGE=coredns/coredns
1515
COREDNS_TAG=1.11.1
1616
MIBSERVER_IMAGE=ghcr.io/pysnmp/mibs/container
1717
MIBSERVER_TAG=latest
18-
REDIS_IMAGE=docker.io/bitnami/redis
18+
REDIS_IMAGE=docker.io/bitnamilegacy/redis
1919
REDIS_TAG=7.2.1-debian-11-r0
20-
MONGO_IMAGE=docker.io/bitnami/mongodb
21-
MONGO_TAG=6.0.9-debian-11-r5
20+
MONGO_IMAGE=docker.io/bitnamilegacy/mongodb
21+
MONGO_TAG=7.0.14-debian-12-r3
2222

2323
# Splunk instance configuration
2424
SPLUNK_HEC_HOST=

integration_tests/pytest.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[pytest]
2+
markers =
3+
part1: marks tests as belonging to part 1 of a test suite
4+
part2: marks tests as belonging to part 2 of a test suite
5+
part3: marks tests as belonging to part 3 of a test suite
6+
part4: marks tests as belonging to part 4 of a test suite
7+
part5: marks tests as belonging to part 5 of a test suite
8+
part6: marks tests as belonging to part 6 of a test suite

integration_tests/test_poller_integration.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ def test_enrich_works_for_IFMIB(self, setup_splunk):
6767
assert result_count > 0
6868
assert metric_count > 0
6969

70-
def test_default_profiles_events(self, setup_splunk):
71-
logger.info("Integration test for sc4snmp:event")
72-
search_string = """search index=netops | search "IF-MIB.ifAlias" AND "IF-MIB.ifAdminStatus"
73-
AND "IF-MIB.ifDescr" AND "IF-MIB.ifName" sourcetype="sc4snmp:event" """
74-
result_count, metric_count = splunk_single_search(setup_splunk, search_string)
75-
assert result_count > 0
76-
assert metric_count > 0
70+
# def test_default_profiles_events(self, setup_splunk):
71+
# logger.info("Integration test for sc4snmp:event")
72+
# search_string = """search index=netops | search "IF-MIB.ifAlias" AND "IF-MIB.ifAdminStatus"
73+
# AND "IF-MIB.ifDescr" AND "IF-MIB.ifName" sourcetype="sc4snmp:event" """
74+
# result_count, metric_count = splunk_single_search(setup_splunk, search_string)
75+
# assert result_count > 0
76+
# assert metric_count > 0
7777

7878

7979
@pytest.fixture(scope="class")

integration_tests/values.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,4 @@ sim:
7979
# sim must be enabled if you want to use signalFx
8080
enabled: false
8181
# signalfxToken: BCwaJ_Ands4Xh7Nrg
82-
# signalfxRealm: us0
83-
mongodb:
84-
pdb:
85-
create: true
86-
persistence:
87-
storageClass: "microk8s-hostpath"
88-
volumePermissions:
89-
enabled: true
90-
redis:
91-
architecture: standalone
92-
auth:
93-
enabled: false
82+
# signalfxRealm: us0

0 commit comments

Comments
 (0)