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

Commit 9d4fb39

Browse files
committed
Simplify handling of extra helm values
1 parent d44611e commit 9d4fb39

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

action.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,16 @@ 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-
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
4744
make -C controller cluster
4845
4946
kubectl create namespace dex
5047
kubectl -n dex create secret tls dex-tls \
5148
--cert=server.pem \
5249
--key=server-key.pem
5350
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-
5851
go run github.com/mikefarah/yq/v4@latest -i \
5952
'.jumpstarter-controller.config.authentication.jwt[0].issuer.certificateAuthority = load_str("ca.pem")' \
60-
./controller/deploy/helm/jumpstarter/values.kind.yaml
53+
"$GITHUB_ACTION_PATH/values.yaml"
6154
6255
# important!
6356
kubectl create clusterrolebinding oidc-reviewer \
@@ -74,7 +67,7 @@ runs:
7467
- name: Deploy jumpstarter controller
7568
shell: bash
7669
run: |
77-
make -C controller deploy
70+
make -C controller deploy HELM_SETS="-f $GITHUB_ACTION_PATH/values.yaml"
7871
- name: Install jumpstarter
7972
shell: bash
8073
run: |
File renamed without changes.

0 commit comments

Comments
 (0)