Skip to content

Commit

Permalink
Merge pull request #136 from warpstreamlabs/brian/sr-helm
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshih1 authored Nov 20, 2024
2 parents 3575e66 + 9d66293 commit 3ae049d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.54] - 2024-11-20

### Added

- Expose port 9094 for playground and for Schema Registry.

## [0.13.53] - 2024-11-20

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: warpstream-agent
description: WarpStream Agent for Kubernetes.
type: application
version: 0.13.53
version: 0.13.54
appVersion: v600
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
3 changes: 3 additions & 0 deletions charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
- name: schema-registry
containerPort: 9094
protocol: TCP
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
Expand Down
8 changes: 8 additions & 0 deletions charts/warpstream-agent/templates/service-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,22 @@ spec:
type: ClusterIP
clusterIP: None
ports:
{{- if or (.Values.config.playground) (not (hasPrefix "vci_sr_" .Values.config.virtualClusterID)) }}
- port: {{ .Values.service.port }}
targetPort: kafka
protocol: TCP
name: kafka
{{- end }}
- port: {{ .Values.service.httpPort }}
targetPort: http
protocol: TCP
name: http
{{- if or (.Values.config.playground) (hasPrefix "vci_sr_" .Values.config.virtualClusterID) }}
- port: {{ .Values.service.schemaRegistryPort | default 9094 }}
targetPort: schema-registry
protocol: TCP
name: schema-registry
{{- end }}
selector:
{{- include "warpstream-agent.selectorLabels" . | nindent 4 }}
{{- end }}
8 changes: 8 additions & 0 deletions charts/warpstream-agent/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,21 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
{{- if or (.Values.config.playground) (not (hasPrefix "vci_sr_" .Values.config.virtualClusterID)) }}
- port: {{ .Values.service.port }}
targetPort: kafka
protocol: TCP
name: kafka
{{- end }}
- port: {{ .Values.service.httpPort }}
targetPort: http
protocol: TCP
name: http
{{- if or (.Values.config.playground) (hasPrefix "vci_sr_" .Values.config.virtualClusterID) }}
- port: {{ .Values.service.schemaRegistryPort | default 9094 }}
targetPort: schema-registry
protocol: TCP
name: schema-registry
{{- end }}
selector:
{{- include "warpstream-agent.selectorLabels" . | nindent 4 }}
1 change: 1 addition & 0 deletions charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ service:
type: ClusterIP
port: 9092
httpPort: 8080
schemaRegistryPort: 9094

rbac:
create: true
Expand Down

0 comments on commit 3ae049d

Please sign in to comment.