Skip to content

Commit

Permalink
experiment: attempting to format parameters without needing oneline json
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Jan 21, 2025
1 parent 51ef293 commit eedf1a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
--set-json scheduler.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json policy.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json vehicles.containers[0].resources='{"limits": {"cpu": "300m", "memory": "500Mi"}, "requests": {"cpu": "200m", "memory": "400Mi"}}' \
${{ inputs.params }} \
${{ toJson inputs.params }} \
7 changes: 5 additions & 2 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,8 @@ jobs:
with:
tag: ${{ needs.vars.outputs.pr }}
params: |
--set-string global.env.pr_num='${{ inputs.tag }}' \
--set-string global.env.release_num='${{ inputs.tag }}' \
global.env:
- name: PR_NUM
value: ${{inputs.tag}}
- name: RELEASE_NUM
value: ${{inputs.tag}}
1 change: 1 addition & 0 deletions charts/onroutebc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ frontend:
fromValues:
- name: TIMESTAMP
value: "{{ now | toString }}"
${{.Values.global.env}}
ports:
- name: http
containerPort: 3000
Expand Down

0 comments on commit eedf1a0

Please sign in to comment.