Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-1.10] Add support for serviceAccountName on deploy #1842

Conversation

knative-prow-robot
Copy link

This is an automated cherry-pick of #1811

Added support for `serviceAccountName` in `func.yaml`'s deploy section to set the function service account.

This allows setting the service account for the resulting knative
service, which must pre-exist in the namespace to let the deployment
succeed.

Signed-off-by: Sascha Grunert <[email protected]>
@knative-prow knative-prow bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.21 🎉

Comparison is base (61179d8) 62.89% compared to head (6f3feef) 63.10%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.10    #1842      +/-   ##
================================================
+ Coverage         62.89%   63.10%   +0.21%     
================================================
  Files                93       93              
  Lines             11972    11973       +1     
================================================
+ Hits               7530     7556      +26     
+ Misses             3754     3732      -22     
+ Partials            688      685       -3     
Flag Coverage Δ
e2e-test 38.89% <100.00%> (+<0.01%) ⬆️
e2e-test-oncluster 34.65% <100.00%> (+<0.01%) ⬆️
e2e-test-oncluster-runtime 29.59% <0.00%> (?)
e2e-test-runtime-go 28.26% <100.00%> (?)
e2e-test-runtime-node 29.43% <100.00%> (?)
e2e-test-runtime-python 29.43% <100.00%> (?)
e2e-test-runtime-quarkus 29.57% <100.00%> (?)
e2e-test-runtime-springboot 28.36% <100.00%> (?)
e2e-test-runtime-typescript 29.57% <100.00%> (?)
integration-tests 50.12% <100.00%> (+0.03%) ⬆️
unit-tests-macos-latest 48.86% <0.00%> (-0.04%) ⬇️
unit-tests-ubuntu-latest 49.78% <0.00%> (-0.04%) ⬇️
unit-tests-windows-latest 48.94% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/functions/function.go 77.92% <ø> (ø)
pkg/knative/deployer.go 68.59% <100.00%> (+0.04%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lance
Copy link
Member

lance commented Jul 5, 2023

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jul 5, 2023
@lance
Copy link
Member

lance commented Jul 5, 2023

/approve

@knative-prow
Copy link

knative-prow bot commented Jul 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knative-prow-robot, lance

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 5, 2023
@knative-prow knative-prow bot merged commit d540166 into knative:release-1.10 Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants