Skip to content

Commit 8c55427

Browse files
Merge pull request #13 from event-automation-ibm/main
Updates to Connectivity Pack product versions in the Public Connectivity Pack repository 2025-10-21
2 parents 094be55 + 8f2736b commit 8c55427

20 files changed

+719
-174
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ helm install <RELEASE-NAME> <CONNECTIVITY-PACK-HELM-CHART-URL> --set license.lic
3939
Where:
4040

4141
- `<RELEASE-NAME>` is the release name of your choice. For example, `ibm-connectivity-pack`
42-
- `<CONNECTIVITY-PACK-HELM-CHART-URL>` is the URL of the latest version of the Connectivity Pack Helm chart. For example: `https://github.com/ibm-messaging/connectivity-pack-kafka-connectors/releases/download/3.0.0/ibm-connectivity-pack-3.0.0.tgz`
42+
- `<CONNECTIVITY-PACK-HELM-CHART-URL>` is the URL of the latest version of the Connectivity Pack Helm chart. For example: `https://github.com/ibm-messaging/connectivity-pack-kafka-connectors/releases/download/3.1.0/ibm-connectivity-pack-3.1.0.tgz`
4343
- `license.licenseId=<LICENSE-ID>` is the license identifier (ID) for the program that you purchased. For more information, see [licensing reference](https://ibm.github.io/event-automation/support/licensing/).
4444
- `license.accept` determines whether the license is accepted (default is `false` if not specified).
4545
- `<NAMESPACE>` is the namespace where you want to install the Connectivity Pack. This must be in the same namespace where an Event Streams instance is deployed.
@@ -136,7 +136,8 @@ Configure the Kafka Connect runtime and include the configuration, certificates,
136136
template:
137137
connectContainer:
138138
env:
139-
CONNECTIVITYPACK_PKCS12_PASSWORD: <your-pkcs12-password>
139+
- name: CONNECTIVITYPACK_PKCS12_PASSWORD
140+
value: <your-pkcs12-password>
140141
```
141142

142143
1. Apply the configured `KafkaConnect` custom resource by using the `kubectl apply` command to start the Kafka Connect runtime.
@@ -206,7 +207,6 @@ Configure your connector with information about your external system by followin
206207

207208
# Subscription params applicable only for poller events
208209
connectivitypack.source.<customObject>.CREATED_POLLER.subscription.pollingInterval: <pollingInterval>
209-
connectivitypack.source.<customObject>.CREATED_POLLER.subscription.timezone: <timezone>
210210
connectivitypack.source.<customObject>.CREATED_POLLER.subscription.updatedField: <the field name that contains the timestamp of when the object was updated>
211211
connectivitypack.source.<customObject>.CREATED_POLLER.subscription.createdField: <the field name that contains the timestamp of when the object was created>
212212

examples/kafka-connector-source.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ spec:
6262

6363
# Subscription parameters for polling. Required only for POLLER events
6464
connectivitypack.source.Test_CustomObject__c.CREATED_POLLER.subscription.pollingInterval: 1
65-
connectivitypack.source.Test_CustomObject__c.CREATED_POLLER.subscription.timezone: UTC
6665
connectivitypack.source.Test_CustomObject__c.CREATED_POLLER.subscription.updatedField: LastModifiedDate
6766
connectivitypack.source.Test_CustomObject__c.CREATED_POLLER.subscription.createdField: CreatedDate
6867

ibm-connectivity-pack/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 1.4.8
2+
appVersion: 1.6.1
33
description: Helm chart for IBM Connectivity Pack. The helm application is a Connectors as a Container offering that offers connectors as independently deployable application and provides a consistent interface for interaction. The application offers both action and event connectors.
44
keywords:
55
- ibm-connectivity-pack
@@ -19,4 +19,4 @@ keywords:
1919
kubeVersion: '>=1.25.0'
2020
name: ibm-connectivity-pack
2121
type: application
22-
version: 3.0.0
22+
version: 3.1.0

ibm-connectivity-pack/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ basicAuth.enable | Enable basic authentication for service | false
6969
basicAuth.username | Basic auth username | csuser
7070
preHook.image | Prehook job image name | connectivity-pack-prehook
7171
preHook.digest | Prehook job image digest | ''
72-
proxy.image | Proxy service container image name | connectivity-pack-proxy
73-
proxy.digest | Proxy service container image digest | ''
7472
action.image | Action service container image name | action-connectors
7573
action.digest | Action service container image digest | ''
7674
action.resources | Action service container resources Check Kubernetes deployment resources for more details | See [values.yaml](values.yaml)
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{
22
"action-connectors": {
3-
"tag": "3.0.0",
4-
"digest": "sha256:cbe955a55b1652b408c7622699dbf657cf6137dcd1eca97e9bb70ffb424c6695"
3+
"tag": "3.1.0",
4+
"digest": "sha256:74c16dcb6fc04f09f924584979600de15d6ec47dd9206509a0de72375bd19120"
55
},
66
"event-connectors": {
7-
"tag": "3.0.0",
8-
"digest": "sha256:2b116da33ce5202035374d1443e4af66e04223f174e033fbaf555df6aa6224aa"
7+
"tag": "3.1.0",
8+
"digest": "sha256:71139de912870c6d072dc42ce6690ce47b6dc809f62275a467c317ae53c4fab7"
99
},
1010
"java-tech-connectors": {},
11-
"connectivity-pack-proxy": {
12-
"tag": "3.0.0",
13-
"digest": "sha256:708c72ca56391e6d336bc549546788aee66985a25c39880dd11ebd136b1c9ccd"
14-
},
1511
"connectivity-pack-prehook": {
16-
"tag": "3.0.0",
17-
"digest": "sha256:8d4c21d45c8030cff35cc2e65c36567b20805691946ebde5442a8b0d5bb35929"
12+
"tag": "3.1.0",
13+
"digest": "sha256:6d38a8f6d32750dd832e61dcb484d555fe8d5f66d212d2505200d1c3342103e9"
1814
}
1915
}

ibm-connectivity-pack/templates/InstallPreHook.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,31 @@ spec:
4848
{{- if and .Values.certificate.MTLSenable .Values.certificate.clientSecretName (not (lookup "v1" "Secret" (include "ibm-connectivity-pack.namespace" .) .Values.certificate.clientSecretName)) }}
4949
{{- fail (printf "\nFailed to find certificate secret '%s' in namespace '%s'" .Values.certificate.clientSecretName (include "ibm-connectivity-pack.namespace" .)) }}
5050
{{- end }}
51+
{{- if and .Values.certificate.enable .Values.javaservice.enable .Values.certificate.generate (not .Values.certificate.pkcsPassword ) }}
52+
{{- fail (printf "\n'pkcsPassword' is mandatory when 'javaservice.enable' and 'certificate.enable' is set to true") }}
53+
{{- end }}
5154
{{- if and (not .Values.certificate.serverSecretName) (not .Values.certificate.clientSecretName) }}
55+
export CLIENT_SECRET_NAME={{ include "ibm-connectivity-pack.stunnelClient" .}}
56+
export SERVER_SECRET_NAME={{ include "ibm-connectivity-pack.stunnelServer" .}}
57+
export RELEASE_NAMESPACE={{ include "ibm-connectivity-pack.namespace" . }}
5258
{{- if .Values.certificate.enable }}
5359
export IS_CERT_GENERATE={{ .Values.certificate.generate }}
5460
export COMMON_NAME={{ include "ibm-connectivity-pack.service" . }}
5561
export DNS2={{ include "ibm-connectivity-pack.service" . }}.{{ include "ibm-connectivity-pack.namespace" . }}.svc.cluster.local
5662
export ROUTE_ENABLED={{ .Values.route.enable }}
5763
export DNS3={{ .Values.route.domain }}
5864
export RELEASE_NAME={{ .Release.Name }}
59-
export RELEASE_NAMESPACE={{ include "ibm-connectivity-pack.namespace" . }}
6065
export CA_CERT_NAME={{ .Values.certificate.caCertPropertyName }}
61-
export CLIENT_SECRET_NAME={{ include "ibm-connectivity-pack.stunnelClient" .}}
6266
export CLIENT_CERT_NAME={{ .Values.certificate.clientCertPropertyName }}
6367
export CLIENT_KEY_NAME={{ .Values.certificate.clientCertKeyPropertyName }}
6468
export CLIENT_PKCS_P12={{ .Values.certificate.clientCertPKCSPropertyName }}
65-
export SERVER_SECRET_NAME={{ include "ibm-connectivity-pack.stunnelServer" .}}
6669
export SERVER_CERT_NAME={{ .Values.certificate.serverCertPropertyName }}
6770
export SERVER_KEY_NAME={{ .Values.certificate.serverCertKeyPropertyName }}
71+
export SERVER_PKCS_P12={{ .Values.certificate.serverKeyStrorePKCSPropertyName }}
72+
export SERVER_TRUSTSTORE_PKCS_P12={{ .Values.certificate.serverTrustStorePKCSPropertyName }}
6873
export PKCS_PASSWORD={{ .Values.certificate.pkcsPassword }}
6974
export MTLS_ENABLED={{ .Values.certificate.MTLSenable }}
75+
export JAVA_SERVICE_ENABLED={{ .Values.javaservice.enable }}
7076
sh createCert.sh
7177
{{- range $key, $value := .Values.annotations }}
7278
kubectl annotate secret $CLIENT_SECRET_NAME {{ $key }}="{{ $value }}" -n $RELEASE_NAMESPACE --overwrite
@@ -77,4 +83,4 @@ spec:
7783
kubectl delete secret $SERVER_SECRET_NAME --namespace $RELEASE_NAMESPACE --ignore-not-found=true
7884
{{ end }}
7985
{{ end }}
80-
{{ end }}
86+
{{ end }}

ibm-connectivity-pack/templates/_helpers.tpl

Lines changed: 74 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ Create the name of the service
129129
Create the event service route
130130
*/}}
131131
{{- define "ibm-connectivity-pack.eventServiceRoute" -}}
132+
{{- if .Values.certificate.enable }}
132133
{{- printf "https://%s:3004" (include "ibm-connectivity-pack.service" .) }}
134+
{{- else }}
135+
{{- printf "http://%s:3004" (include "ibm-connectivity-pack.service" .) }}
136+
{{- end }}
133137
{{- end }}
134138

135139
{{/*
@@ -158,19 +162,19 @@ Create the webhook service route
158162
Create the mutal auth service route
159163
*/}}
160164
{{- define "ibm-connectivity-pack.mutualAuthServiceRoute" -}}
161-
{{- if .Values.certificate.enable }}
162165
{{- printf "https://%s" (include "ibm-connectivity-pack.service" .) }}
163-
{{- else }}
164-
{{- printf "http://%s" (include "ibm-connectivity-pack.service" .) }}
165-
{{- end }}
166166
{{- end }}
167167

168168
{{/*
169169
Create the java service route
170170
*/}}
171171
{{- define "ibm-connectivity-pack.javaServiceRoute" -}}
172+
{{- if .Values.certificate.enable }}
173+
{{- printf "https://%s:9080/connector-java-services/_lcp_jdbc_connect" (include "ibm-connectivity-pack.service" .) }}
174+
{{- else }}
172175
{{- printf "http://%s:9080/connector-java-services/_lcp_jdbc_connect" (include "ibm-connectivity-pack.service" .) }}
173176
{{- end }}
177+
{{- end }}
174178

175179
{{/*
176180
Create the role
@@ -210,15 +214,6 @@ Create the name for image pull secret name
210214
{{- end }}
211215
{{- end }}
212216

213-
{{/*
214-
Create the name proxy config map name
215-
*/}}
216-
{{- define "ibm-connectivity-pack.proxy" -}}
217-
{{- if .Release.Name }}
218-
{{- default .Release.Name }}-proxy
219-
{{- end }}
220-
{{- end }}
221-
222217
{{/*
223218
Create the name for image pull secret
224219
*/}}
@@ -253,9 +248,6 @@ Create the name for stunnel client cert secret
253248

254249
{{- define "ibm-connectivity-pack.stunnelvolume" -}}
255250
{{ if .Values.certificate.enable -}}
256-
- name: proxy
257-
configMap:
258-
name: {{ include "ibm-connectivity-pack.proxy" . }}
259251
- name: stunnel-server
260252
secret:
261253
secretName: {{ include "ibm-connectivity-pack.stunnelServer" . }}
@@ -266,6 +258,12 @@ Create the name for stunnel client cert secret
266258
path: server.cert.pem
267259
- key: {{ .Values.certificate.caCertPropertyName }}
268260
path: server.ca.pem
261+
{{ if .Values.javaservice.enable -}}
262+
- key: {{ .Values.certificate.serverKeyStrorePKCSPropertyName }}
263+
path: server.p12
264+
- key: {{ .Values.certificate.serverTrustStorePKCSPropertyName }}
265+
path: truststore.p12
266+
{{ end }}
269267
{{ if .Values.certificate.MTLSenable -}}
270268
- name: stunnel-client
271269
secret:
@@ -367,6 +365,16 @@ Create the name of the service
367365
{{- end }}
368366
{{- end }}
369367

368+
{{/*
369+
Create the name of the java service TLS
370+
*/}}
371+
{{- define "ibm-connectivity-pack.java-server-conf" -}}
372+
{{- if .Release.Name }}
373+
{{- default .Release.Name }}-java-server-config
374+
{{- end }}
375+
{{- end }}
376+
377+
370378
{{/*
371379
Create UDA connector configmap volume
372380
*/}}
@@ -376,11 +384,12 @@ Create UDA connector configmap volume
376384
persistentVolumeClaim:
377385
claimName: {{ .Values.action.udaPersistentVolumeClaimName }}
378386
{{- else }}
379-
{{- $files := .Files.Glob "connectors/*.{json,yaml,yml,car}" }}
387+
{{- $root := . }}
388+
{{- $files := $root.Files.Glob "connectors/*.{json,yaml,yml,car}" }}
380389
{{- range $path, $file := $files }}
381390
- name: {{ base $path | replace "." "-" | lower }}-vol
382391
configMap:
383-
name: {{ base $path | replace "." "-" | lower }}-config
392+
name: {{ base $path | replace "." "-" | lower }}-{{- default $root.Release.Name }}-config
384393
{{- end }}
385394
{{- end }}
386395
{{- end }}
@@ -422,4 +431,51 @@ name: METRICS_DIRECTORY
422431
- name: METRICS_COLLECT_INTERVAL_MS
423432
value: {{ .Values.action.metricsCollectIntervalMs | quote }}
424433
{{- end }}
434+
{{- end }}
435+
436+
437+
{{/*
438+
Action probe
439+
*/}}
440+
{{- define "ibm-connectivity-pack.actonProbe" -}}
441+
{{- if .Values.certificate.enable }}
442+
exec:
443+
command:
444+
- /bin/sh
445+
- -c
446+
- |
447+
{{- if .Values.certificate.MTLSenable }}
448+
curl --cert /opt/ibm/app/ssl/stunnel.cert.pem --key /opt/ibm/app/ssl/stunnel.key.pem --cacert /opt/ibm/app/ssl/stunnel.ca.pem --silent --fail -k https://localhost:3020/admin/ready || exit 1
449+
{{ else }}
450+
curl --silent --fail -k https://localhost:3020/admin/ready || exit 1
451+
{{- end }}
452+
{{ else }}
453+
httpGet:
454+
path: /admin/ready
455+
port: 3020
456+
scheme: HTTP
457+
{{- end }}
458+
{{- end }}
459+
460+
{{/*
461+
Event probe
462+
*/}}
463+
{{- define "ibm-connectivity-pack.eventProbe" -}}
464+
{{- if .Values.certificate.enable }}
465+
exec:
466+
command:
467+
- /bin/sh
468+
- -c
469+
- |
470+
{{- if .Values.certificate.MTLSenable }}
471+
curl --cert /opt/ibm/app/ssl/stunnel.cert.pem --key /opt/ibm/app/ssl/stunnel.key.pem --cacert /opt/ibm/app/ssl/stunnel.ca.pem --silent --fail -k https://localhost:3004/admin/ready || exit 1
472+
{{ else }}
473+
curl --silent --fail -k https://localhost:3004/admin/ready || exit 1
474+
{{- end }}
475+
{{ else }}
476+
httpGet:
477+
path: /admin/ready
478+
port: 3004
479+
scheme: HTTP
480+
{{- end }}
425481
{{- end }}

ibm-connectivity-pack/templates/connectors.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
apiVersion: v1
55
kind: ConfigMap
66
metadata:
7-
name: {{ base $path | replace "." "-" | lower }}-config
7+
name: {{ base $path | replace "." "-" | lower }}-{{- default $root.Release.Name }}-config
88
namespace: {{ include "ibm-connectivity-pack.namespace" $root }}
99
labels:
1010
{{- include "ibm-connectivity-pack.labels" $root | nindent 4 }}

0 commit comments

Comments
 (0)