diff --git a/charts/kafka-connect/Chart.yaml b/charts/kafka-connect/Chart.yaml index 2b2c591..4a193fa 100644 --- a/charts/kafka-connect/Chart.yaml +++ b/charts/kafka-connect/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.7 +version: 0.1.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/kafka-connect/templates/connect-cluster.yaml b/charts/kafka-connect/templates/connect-cluster.yaml index d72baff..24d3d78 100644 --- a/charts/kafka-connect/templates/connect-cluster.yaml +++ b/charts/kafka-connect/templates/connect-cluster.yaml @@ -17,12 +17,11 @@ spec: version: {{ $config.version | default $global.version }} replicas: {{ $config.replicas | default $global.replicas }} resources: - requests: - memory: {{ $config.resources.requests.memory | default $global.resources.requests.memory }} - cpu: {{ $config.resources.requests.cpu | default $global.resources.requests.cpu }} - limits: - memory: {{ $config.resources.limits.memory | default $global.resources.limits.memory }} - cpu: {{ $config.resources.limits.cpu | default $global.resources.limits.cpu }} + {{- if $config.resources -}} + {{ $config.resources | toYaml | nindent 4 }} + {{- else -}} + {{ $global.resources | toYaml | nindent 4 }} + {{- end }} bootstrapServers: {{ $.Values.kafka.bootstrapServers }} template: pod: diff --git a/charts/kafka-connect/values.yaml b/charts/kafka-connect/values.yaml index 452595f..17b9137 100644 --- a/charts/kafka-connect/values.yaml +++ b/charts/kafka-connect/values.yaml @@ -5,7 +5,7 @@ global: memory: 512Mi cpu: "0.5" limits: - memory: 1Gi + memory: 2Gi cpu: "1" configTopicPrefix: __connect-cluster version: 3.8.0