Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit d44611e

Browse files
committed
set additional value file
1 parent 5948726 commit d44611e

File tree

3 files changed

+8
-47
lines changed

3 files changed

+8
-47
lines changed

action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,23 @@ runs:
4141
-config="$GITHUB_ACTION_PATH"/ca-config.json -profile=www "$GITHUB_ACTION_PATH"/dex-csr.json | \
4242
go run github.com/cloudflare/cfssl/cmd/cfssljson@latest -bare server
4343
44-
cp "$GITHUB_ACTION_PATH"/kind_cluster.yaml ./controller/hack/kind_cluster.yaml
44+
go run github.com/mikefarah/yq/v4@latest -i \
45+
'.nodes[0].extraPortMappings += { "containerPort": 32000, "hostPort": 5556, "protocol": "TCP" }' \
46+
./controller/hack/kind_cluster.yaml
4547
make -C controller cluster
4648
4749
kubectl create namespace dex
4850
kubectl -n dex create secret tls dex-tls \
4951
--cert=server.pem \
5052
--key=server-key.pem
5153
54+
go run github.com/mikefarah/yq/v4@latest -i \
55+
". *= load(\"$GITHUB_ACTION_PATH/values.kind.yaml\")" \
56+
./controller/deploy/helm/jumpstarter/values.kind.yaml
57+
5258
go run github.com/mikefarah/yq/v4@latest -i \
5359
'.jumpstarter-controller.config.authentication.jwt[0].issuer.certificateAuthority = load_str("ca.pem")' \
54-
"$GITHUB_ACTION_PATH"/values.kind.yaml
60+
./controller/deploy/helm/jumpstarter/values.kind.yaml
5561
5662
# important!
5763
kubectl create clusterrolebinding oidc-reviewer \
@@ -68,7 +74,6 @@ runs:
6874
- name: Deploy jumpstarter controller
6975
shell: bash
7076
run: |
71-
cp "$GITHUB_ACTION_PATH"/values.kind.yaml ./controller/deploy/helm/jumpstarter/values.kind.yaml
7277
make -C controller deploy
7378
- name: Install jumpstarter
7479
shell: bash

kind_cluster.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

values.kind.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
global:
2-
baseDomain: jumpstarter.127.0.0.1.nip.io
3-
metrics:
4-
enabled: false
5-
61
jumpstarter-controller:
7-
grpc:
8-
mode: "ingress"
92
config:
103
provisioning:
114
enabled: true

0 commit comments

Comments
 (0)