Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kafka connector version #1474

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,16 @@
"3.5.2"
],
"KafkaConnector": [
"postgres-3.0.5.final",
"mysql-3.0.5.final",
"jdbc-3.0.5.final",
"s3-2.15.0",
"postgres-2.7.4.final",
"mysql-2.7.4.final",
"jdbc-2.7.4.final",
"jdbc-2.6.1.final",
"postgres-2.4.2.final",
"mysql-2.4.2.final",
"mongodb-1.11.0",
"mongodb-1.14.1",
"mongodb-1.13.1",
"gcs-0.13.0"
],
"MSSQLServer": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mongodb:1.11.0
deprecated: true
securityContext:
runAsUser: 1001
type: MongoDB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mysql:2.4.2.final
deprecated: true
securityContext:
runAsUser: 1001
type: MySQL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-postgres:2.4.2.final
deprecated: true
securityContext:
runAsUser: 1001
type: Postgres
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: mongodb-1.13.1
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mongodb:1.13.1
securityContext:
runAsUser: 1001
type: MongoDB
version: 1.13.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: mongodb-1.14.1
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mongodb:1.14.1
securityContext:
runAsUser: 1001
type: MongoDB
version: 1.14.1
11 changes: 11 additions & 0 deletions catalog/kubedb/raw/kafkaconnector/kafkaconnector-2.7.4-jdbc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: jdbc-2.7.4.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-jdbc:2.7.4.final
securityContext:
runAsUser: 1001
type: JDBC
version: 2.7.4
11 changes: 11 additions & 0 deletions catalog/kubedb/raw/kafkaconnector/kafkaconnector-2.7.4-mysql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: mysql-2.7.4.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mysql:2.7.4.final
securityContext:
runAsUser: 1001
type: MySQL
version: 2.7.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: postgres-2.7.4.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-postgres:2.7.4.final
securityContext:
runAsUser: 1001
type: Postgres
version: 2.7.4
11 changes: 11 additions & 0 deletions catalog/kubedb/raw/kafkaconnector/kafkaconnector-3.0.5-jdbc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: jdbc-3.0.5.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-jdbc:3.0.5.final
securityContext:
runAsUser: 1001
type: JDBC
version: 3.0.5
11 changes: 11 additions & 0 deletions catalog/kubedb/raw/kafkaconnector/kafkaconnector-3.0.5-mysql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: mysql-3.0.5.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-mysql:3.0.5.final
securityContext:
runAsUser: 1001
type: MySQL
version: 3.0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: postgres-3.0.5.final
spec:
connectorPlugin:
image: ghcr.io/appscode-images/kafka-connector-postgres:3.0.5.final
securityContext:
runAsUser: 1001
type: Postgres
version: 3.0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}
{{ if or (not .Values.skipDeprecated) (has "mongodb-1.11.0" .Values.enableVersions.Kafka) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mongodb-1.11.0'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mongodb") $) }}:1.11.0'
securityContext:
runAsUser: 1001
type: MongoDB
version: 1.11.0
deprecated: {{ not (has "mongodb-1.11.0" .Values.enableVersions.Kafka) }}
{{ end }}
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}
{{ if or (not .Values.skipDeprecated) (has "mysql-2.4.2.final" .Values.enableVersions.Kafka) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mysql-2.4.2.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mysql") $) }}:2.4.2.final'
securityContext:
runAsUser: 1001
type: MySQL
version: 2.4.2
deprecated: {{ not (has "mysql-2.4.2.final" .Values.enableVersions.Kafka) }}
{{ end }}
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}
{{ if or (not .Values.skipDeprecated) (has "postgres-2.4.2.final" .Values.enableVersions.Kafka) }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'postgres-2.4.2.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-postgres") $) }}:2.4.2.final'
securityContext:
runAsUser: 1001
type: Postgres
version: 2.4.2
deprecated: {{ not (has "postgres-2.4.2.final" .Values.enableVersions.Kafka) }}
{{ end }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mongodb-1.11.0'
name: 'mongodb-1.13.1'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mongodb") $) }}:1.11.0'
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mongodb") $) }}:1.13.1'
securityContext:
runAsUser: 1001
type: MongoDB
version: 1.11.0
version: 1.13.1
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mongodb-1.14.1'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mongodb") $) }}:1.14.1'
securityContext:
runAsUser: 1001
type: MongoDB
version: 1.14.1
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'jdbc-2.7.4.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-jdbc") $) }}:2.7.4.final'
securityContext:
runAsUser: 1001
type: JDBC
version: 2.7.4
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mysql-2.4.2.final'
name: 'mysql-2.7.4.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mysql") $) }}:2.4.2.final'
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mysql") $) }}:2.7.4.final'
securityContext:
runAsUser: 1001
type: MySQL
version: 2.4.2
version: 2.7.4
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'postgres-2.4.2.final'
name: 'postgres-2.7.4.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-postgres") $) }}:2.4.2.final'
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-postgres") $) }}:2.7.4.final'
securityContext:
runAsUser: 1001
type: Postgres
version: 2.4.2
version: 2.7.4
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'jdbc-3.0.5.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-jdbc") $) }}:3.0.5.final'
securityContext:
runAsUser: 1001
type: JDBC
version: 3.0.5
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'mysql-3.0.5.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-mysql") $) }}:3.0.5.final'
securityContext:
runAsUser: 1001
type: MySQL
version: 3.0.5
{{ end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.Kafka }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: KafkaConnectorVersion
metadata:
name: 'postgres-3.0.5.final'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
connectorPlugin:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/kafka-connector-postgres") $) }}:3.0.5.final'
securityContext:
runAsUser: 1001
type: Postgres
version: 3.0.5
{{ end }}