Skip to content
Closed
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
19 changes: 19 additions & 0 deletions charts/dolos/ci/default-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CI test values: default configuration (minikupo disabled)
# Verifies that the chart renders correctly without minikupo support,
# which is the default behavior (ports.minikupo is not set).

image:
tag: v1.0.3

ports:
grpc: 50051
ouroboros: 30013
minibf: 3001
# minikupo is intentionally omitted to test the disabled code path

service:
ports:
grpc: 15051
ouroboros: 13013
minibf: 13001
# service.ports.minikupo is intentionally omitted
20 changes: 20 additions & 0 deletions charts/dolos/ci/minikupo-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# CI test values: minikupo enabled configuration
# Verifies that the chart renders correctly when the optional minikupo port
# is enabled. This exercises the {{- if .Values.ports.minikupo }} conditional
# blocks in both headless-service.yaml and sts.yaml.

image:
tag: v1.0.3

ports:
grpc: 50051
ouroboros: 30013
minibf: 3001
minikupo: 1442

service:
ports:
grpc: 15051
ouroboros: 13013
minibf: 13001
minikupo: 11442
14 changes: 14 additions & 0 deletions charts/dolos/templates/tests/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "dolos.fullname" . }}-test"
labels:
{{- include "dolos.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
restartPolicy: Never
containers:
- name: test
image: busybox
command: ['sh', '-c', 'echo "Dolos chart test passed"']
Loading