Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions helm/githubapp/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ spec:
name: {{ .Values.secrets.secretName }}
key: WIRE_SDK_CRYPTOGRAPHY_STORAGE_PASSWORD
{{- end }}
{{ - if .Values.redis }}
- name: GHAPP_REDIS_HOST
valueFrom:
secretKeyRef:
name: {{ .Values.redis.secretName }}
key: {{ .Values.redis.hostKey }}
- name: GHAPP_REDIS_PORT
valueFrom:
secretKeyRef:
name: {{ .Values.redis.secretName }}
key: {{ .Values.redis.portKey }}
{{ - end }}
volumeMounts:
- name: data
mountPath: /opt/githubapp/storage
Expand Down
9 changes: 5 additions & 4 deletions helm/githubapp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ secrets:
secretName: "githubapp-secrets"
mountPath: "/etc/secrets"

redis:
secretName: "githubapp-valkey-secrets"
hostKey: "host"
portKey: "port"

# Persistent storage configuration
persistence:
enabled: true
Expand Down Expand Up @@ -66,10 +71,6 @@ env:
value: ""
- name: GHAPP_SERVER_PORT
value: ""
- name: GHAPP_REDIS_HOST
value: ""
- name: GHAPP_REDIS_PORT
value: ""

# Health check configuration (latest Kubernetes spec)
livenessProbe:
Expand Down