func icon indicating copy to clipboard operation
func copied to clipboard

Double quotes in func.yaml overwritten with single quotes

Open nettrino opened this issue 2 years ago • 4 comments

Hello all,

I have a func.yaml which accesses secrets like so:

specVersion: 0.35.0
...
invoke: cloudevent
build:
  builder: pack
run:
  envs:
    - name: GITHUB_APP_ID
      value: "{{ secret:github-app-id:GITHUB_APP_ID }}"
    - name: GITHUB_APP_PRIVATE_KEY
      value: "{{ secret:github-app-private-key:GITHUB_APP_PRIVATE_KEY }}"
...

Upon running kn func deploy --build, func.yaml is being overwritten and double quotes are replaced with single quotes, and as a result the env variables are not fetched dynamically as they should but interpreted as fixed strings.

nettrino avatar Oct 26 '23 08:10 nettrino

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jan 30 '24 01:01 github-actions[bot]

/remove-lifecycle stale

nettrino avatar Jan 30 '24 10:01 nettrino

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Apr 30 '24 01:04 github-actions[bot]

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Aug 27 '24 01:08 github-actions[bot]