Skip to content

Commit 593761e

Browse files
committed
Helm chart for bbr
1 parent fcbdc14 commit 593761e

File tree

6 files changed

+87
-0
lines changed

6 files changed

+87
-0
lines changed

config/charts/bbr/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

config/charts/bbr/Chart.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: v2
2+
name: body-based-routing
3+
description: A Helm chart for the body-based routing extension
4+
5+
type: application
6+
7+
version: 0.1.0
8+
9+
appVersion: "0.2.0"

config/charts/bbr/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Body-based routing
2+
3+
TODO: Add stuff here

config/charts/bbr/templates/NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Body-based routing extension deployed.

config/charts/bbr/templates/bbr.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: {{ .Values.bbr.name }}
5+
namespace: {{ .Release.Namespace }}
6+
spec:
7+
replicas: {{ .Values.bbr.replicas | default 1 }}
8+
selector:
9+
matchLabels:
10+
app: {{ .Values.bbr.name }}
11+
template:
12+
metadata:
13+
labels:
14+
app: {{ .Values.bbr.name }}
15+
spec:
16+
containers:
17+
- name: bbr
18+
image: {{ .Values.bbr.image.hub }}/{{ .Values.bbr.image.name }}:{{ .Values.bbr.image.tag }}
19+
imagePullPolicy: {{ .Values.bbr.image.pullPolicy | default "Always" }}
20+
args:
21+
- "-streaming"
22+
- "v"
23+
- "3"
24+
ports:
25+
- containerPort: 9004
26+
# health check
27+
- containerPort: 9005
28+
---
29+
apiVersion: v1
30+
kind: Service
31+
metadata:
32+
name: {{ .Values.bbr.name }}
33+
namespace: {{ .Release.Namespace }}
34+
spec:
35+
selector:
36+
app: {{ .Values.bbr.name }}
37+
ports:
38+
- protocol: TCP
39+
port: 9004
40+
targetPort: 9004
41+
appProtocol: HTTP2
42+
type: ClusterIP

config/charts/bbr/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
bbr:
2+
name: body-based-router
3+
replicas: 1
4+
image:
5+
name: bbr
6+
hub: us-central1-docker.pkg.dev/k8s-staging-images/gateway-api-inference-extension
7+
tag: main
8+
pullPolicy: Always
9+
extProcPort: 9002

0 commit comments

Comments
 (0)