-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
89 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
infrastructure/helm-chart/charts/apps/charts/airy-config/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
infrastructure/helm-chart/charts/kafka/charts/schema-registry/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
description: A Helm chart for Confluent Schema Registry on Kubernetes | ||
description: A Helm chart for the karapace.io Schema Registry on Kubernetes | ||
name: schema-registry | ||
version: 0.1.0 | ||
version: 0.1.0 |
64 changes: 0 additions & 64 deletions
64
infrastructure/helm-chart/charts/kafka/charts/schema-registry/templates/_helpers.tpl
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
infrastructure/helm-chart/charts/kafka/charts/schema-registry/templates/service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ template "cp-schema-registry.fullname" . }} | ||
name: schema-registry | ||
labels: | ||
app: {{ template "cp-schema-registry.name" . }} | ||
chart: {{ template "cp-schema-registry.chart" . }} | ||
app: schema-registry | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
spec: | ||
ports: | ||
- name: schema-registry | ||
port: {{ .Values.servicePort }} | ||
selector: | ||
app: {{ template "cp-schema-registry.name" . }} | ||
app: schema-registry | ||
release: {{ .Release.Name }} |
15 changes: 3 additions & 12 deletions
15
infrastructure/helm-chart/charts/kafka/charts/schema-registry/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
replicaCount: 0 | ||
image: confluentinc/cp-schema-registry | ||
imageTag: 5.5.0 | ||
imagePullPolicy: IfNotPresent | ||
imagePullSecrets: | ||
configurationOverrides: {} | ||
customEnv: {} | ||
image: infrastructure/schema-registry | ||
imagePullPolicy: Always | ||
servicePort: 8081 | ||
heapOptions: "-Xms512M -Xmx512M" | ||
kafka: | ||
bootstrapServers: "" | ||
resources: {} | ||
podAnnotations: {} | ||
nodeSelector: {} | ||
tolerations: [] | ||
bootstrapServers: kafka-headless:9092 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
karapace*egg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM python:3.9-slim-buster | ||
|
||
ARG SCHEMA_REGISTRY_VERSION | ||
ENV SCHEMA_REGISTRY_VERSION=$SCHEMA_REGISTRY_VERSION | ||
|
||
LABEL maintainer "https://github.com/airyhq" | ||
|
||
LABEL name="schema-registry" version=${SCHEMA_REGISTRY_VERSION} | ||
|
||
RUN apt-get update && apt-get install -y make gcc git | ||
|
||
ADD requirements.txt . | ||
|
||
RUN pip3 install -r requirements.txt | ||
|
||
ADD ${SCHEMA_REGISTRY_VERSION}.egg . | ||
|
||
RUN easy_install ${SCHEMA_REGISTRY_VERSION}.egg | ||
|
||
ADD config.json . | ||
|
||
CMD karapace config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
build: | ||
docker build -t schema-registry . --build-arg SCHEMA_REGISTRY_VERSION=${SCHEMA_REGISTRY_VERSION} | ||
|
||
release-beta: build | ||
docker tag schema-registry ghcr.io/airyhq/infrastructure/schema-registry:beta | ||
docker push ghcr.io/airyhq/infrastructure/schema-registry:beta | ||
|
||
release: build | ||
docker tag schema-registry ghcr.io/airyhq/infrastructure/schema-registry:release | ||
docker push ghcr.io/airyhq/infrastructure/schema-registry:release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"karapace_registry": true, | ||
"client_id": "sr-1", | ||
"compatibility": "FULL", | ||
"group_id": "schema-registry", | ||
"log_level": "INFO", | ||
"port": 8081, | ||
"host": "0.0.0.0", | ||
"master_eligibility": true, | ||
"replication_factor": 1, | ||
"security_protocol": "PLAINTEXT", | ||
"ssl_cafile": null, | ||
"ssl_certfile": null, | ||
"ssl_keyfile": null, | ||
"topic_name": "_schemas" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
git+https://github.com/aiven/avro.git@skip-namespace-validation#subdirectory=lang/py3/ | ||
git+git://github.com/aiven/kafka-python.git@39a372538c6bdfbfcb7852c36bed5de61e34bad8 | ||
yapf==0.30.0 | ||
aiohttp-socks==0.3.4 | ||
pylint==2.4.4 | ||
pytest==5.4.1 | ||
requests==2.23.0 | ||
pre-commit>=2.2.0 | ||
aiokafka==0.6.0 | ||
jsonschema==3.2.0 | ||
pycodestyle==2.6.0 | ||
isort==4.3.10 | ||
lz4==3.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters