Skip to content

Commit 59d9811

Browse files
committed
Add openclaw
1 parent 7bd28ff commit 59d9811

11 files changed

Lines changed: 754 additions & 0 deletions

File tree

rpi5/apps/templates/openclaw.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: openclaw
5+
---
6+
apiVersion: argoproj.io/v1alpha1
7+
kind: Application
8+
metadata:
9+
name: openclaw
10+
namespace: argocd
11+
finalizers:
12+
- resources-finalizer.argocd.argoproj.io
13+
spec:
14+
destination:
15+
server: {{ .Values.spec.destination.server }}
16+
namespace: openclaw
17+
project: default
18+
source:
19+
repoURL: {{ .Values.spec.source.repoURL }}
20+
targetRevision: {{ .Values.spec.source.branch }}
21+
path: rpi5/openclaw

rpi5/blocky/unbound/a-records.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
local-data: "nzbhydra.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
6666
local-data: "ollama.internal. A 192.168.3.1"
6767
local-data: "ollama.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
68+
local-data: "openclaw.internal. A 192.168.3.1"
69+
local-data: "openclaw.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
6870
local-data: "opengist.internal. A 192.168.3.1"
6971
local-data: "opengist.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
7072
local-data: "overleaf.internal. A 192.168.3.1"

rpi5/blocky/unbound/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ data:
6868
local-data: "nzbhydra.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
6969
local-data: "ollama.internal. A 192.168.3.1"
7070
local-data: "ollama.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
71+
local-data: "openclaw.internal. A 192.168.3.1"
72+
local-data: "openclaw.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
7173
local-data: "opengist.internal. A 192.168.3.1"
7274
local-data: "opengist.internal. AAAA fd30:e1bf:9b4f:0:4e6:60ff:fe5d:e5b6"
7375
local-data: "overleaf.internal. A 192.168.3.1"

rpi5/openclaw/.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/

rpi5/openclaw/Chart.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: app-template
3+
repository: https://bjw-s-labs.github.io/helm-charts/
4+
version: 4.6.2
5+
digest: sha256:c7f53a9c86a84aab15434cde30a70cf024cf9898ff8485438a0ecdc6ca815ecc
6+
generated: "2026-02-06T16:35:40.653059-08:00"

rpi5/openclaw/Chart.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
apiVersion: v2
2+
name: openclaw
3+
description: A Helm chart for Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
# It is recommended to use it with quotes.
24+
appVersion: "1.16.0"
25+
26+
dependencies:
27+
- name: app-template
28+
version: 4.6.2
29+
repository: https://bjw-s-labs.github.io/helm-charts/
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{{/*
2+
Expand the name of the chart.
3+
*/}}
4+
{{- define "openclaw.name" -}}
5+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
6+
{{- end }}
7+
8+
{{/*
9+
Create a default fully qualified app name.
10+
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
11+
If release name contains chart name it will be used as a full name.
12+
*/}}
13+
{{- define "openclaw.fullname" -}}
14+
{{- if .Values.fullnameOverride }}
15+
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
16+
{{- else }}
17+
{{- $name := default .Chart.Name .Values.nameOverride }}
18+
{{- if contains $name .Release.Name }}
19+
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
20+
{{- else }}
21+
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
22+
{{- end }}
23+
{{- end }}
24+
{{- end }}
25+
26+
{{/*
27+
Create chart name and version as used by the chart label.
28+
*/}}
29+
{{- define "openclaw.chart" -}}
30+
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
31+
{{- end }}
32+
33+
{{/*
34+
Common labels
35+
*/}}
36+
{{- define "openclaw.labels" -}}
37+
helm.sh/chart: {{ include "openclaw.chart" . }}
38+
{{ include "openclaw.selectorLabels" . }}
39+
{{- if .Chart.AppVersion }}
40+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
41+
{{- end }}
42+
app.kubernetes.io/managed-by: {{ .Release.Service }}
43+
{{- end }}
44+
45+
{{/*
46+
Selector labels
47+
*/}}
48+
{{- define "openclaw.selectorLabels" -}}
49+
app.kubernetes.io/name: {{ include "openclaw.name" . }}
50+
app.kubernetes.io/instance: {{ .Release.Name }}
51+
{{- end }}
52+
53+
{{/*
54+
Create the name of the service account to use
55+
*/}}
56+
{{- define "openclaw.serviceAccountName" -}}
57+
{{- if .Values.serviceAccount.create }}
58+
{{- default (include "openclaw.fullname" .) .Values.serviceAccount.name }}
59+
{{- else }}
60+
{{- default "default" .Values.serviceAccount.name }}
61+
{{- end }}
62+
{{- end }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{{- if and .Values.ingressRoute.enabled .Values.ingressRoute.enabled -}}
2+
apiVersion: cert-manager.io/v1
3+
kind: Certificate
4+
metadata:
5+
name: {{ include "openclaw.fullname" . }}-tls
6+
spec:
7+
secretName: {{ include "openclaw.fullname" . }}-tls
8+
{{- with (first .Values.ingressRoute.hosts) }}
9+
commonName: {{ . | quote }}
10+
{{- end }}
11+
{{- with .Values.ingressRoute.hosts }}
12+
dnsNames:
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
15+
duration: {{ .Values.ingressRoute.tls.duration }}
16+
renewBefore: {{ .Values.ingressRoute.tls.renewBefore }}
17+
{{- with .Values.ingressRoute.tls.privateKey }}
18+
privateKey:
19+
{{- toYaml . | nindent 4 }}
20+
{{- end }}
21+
subject:
22+
organizations:
23+
- Anshul Gupta
24+
organizationalUnits:
25+
- rpi5
26+
provinces:
27+
- California
28+
countries:
29+
- US
30+
{{- with .Values.ingressRoute.tls.issuerRef }}
31+
issuerRef:
32+
{{- toYaml . | nindent 4 }}
33+
{{- end }}
34+
{{- end }}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{{- if .Values.ingressRoute.enabled -}}
2+
apiVersion: traefik.io/v1alpha1
3+
kind: IngressRoute
4+
metadata:
5+
name: {{ include "openclaw.fullname" . }}
6+
spec:
7+
{{- with .Values.ingressRoute.entryPoints }}
8+
entryPoints:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
11+
{{- $service := include "openclaw.fullname" . }}
12+
{{- range .Values.ingressRoute.hosts }}
13+
routes:
14+
- kind: Rule
15+
match: Host(`{{ . }}`)
16+
{{- with $.Values.ingressRoute.middlewares }}
17+
middlewares:
18+
{{- toYaml . | nindent 8 }}
19+
{{- end }}
20+
services:
21+
- name: {{ $service }}
22+
port: 18789
23+
{{- end }}
24+
{{- if .Values.ingressRoute.tls.enabled }}
25+
tls:
26+
secretName: {{ include "openclaw.fullname" . }}-tls
27+
domains:
28+
{{- range .Values.ingressRoute.hosts }}
29+
- main: {{ . }}
30+
{{- end }}
31+
{{- end }}
32+
{{- end }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: bitnami.com/v1alpha1
3+
kind: SealedSecret
4+
metadata:
5+
name: openclaw-env-secret
6+
namespace: openclaw
7+
spec:
8+
encryptedData:
9+
ANTHROPIC_API_KEY: AgCHxJb1PmPXHt+RsZJQox3Vrcwxs++9uS+hOYl6xgaWiX/i1e8oO5jSIqBbeZyXuMBGNnj1O7zSQ/TauXRPEcee9l/be6D3dxQUjp6pQC41LyTmOhy5wMeZbKnzam8MBLD3pqIzDVEuNZUwbRpy3wyPe9AOiyE9ZjJiZujqGf10B2cjq4E5z1w5WmNDWRMcK2yLmQqzvdoZXgZlEb02jMVvVceCHPETRUpHutpZpyXtUPd4r7yky5HZt+/oxLJf/07KOODn6X7JojaRKUSiPKXog0BeBQGC0SOTvP0raAukdm+2hTle21sJuJA5olyDmGTVujj4daoKTfXyaU8/BXYnWxJYCCrsslGWkZPYd8Wt48M78ObtQhQuNODrQxcTxt+42yzWmNV5ZKxIg8CDaHHnm0m3pOa5kQ3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Q==
12+
template:
13+
metadata:
14+
name: openclaw-env-secret
15+
namespace: openclaw
16+
type: Opaque

0 commit comments

Comments
 (0)