Skip to content

fix: set service account default creation to false#217

Merged
sk-portkey merged 1 commit into
mainfrom
fix/sa_default
Jun 30, 2026
Merged

fix: set service account default creation to false#217
sk-portkey merged 1 commit into
mainfrom
fix/sa_default

Conversation

@sk-portkey

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR changes the Helm chart defaults so the chart no longer creates ServiceAccounts by default, and adjusts helper templates to compute the ServiceAccount name for gateway and dataservice.

Changes:

  • Set serviceAccount.create default to false for both gateway and dataservice in values.yaml.
  • Updated templates/_helpers.tpl to enforce a non-empty ServiceAccount name when create is false (currently via fail).
  • Updated inline comments in values.yaml around ServiceAccount naming requirements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
charts/portkey-gateway/values.yaml Changes ServiceAccount creation defaults and updates comments for naming behavior.
charts/portkey-gateway/templates/_helpers.tpl Updates helper functions that determine which ServiceAccount name is used by workloads.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/portkey-gateway/templates/_helpers.tpl
Comment thread charts/portkey-gateway/templates/_helpers.tpl
Comment thread charts/portkey-gateway/values.yaml
Comment thread charts/portkey-gateway/values.yaml
@sk-portkey sk-portkey merged commit b39b0d7 into main Jun 30, 2026
1 check passed
@sk-portkey sk-portkey deleted the fix/sa_default branch June 30, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants