Skip to content

feat: add DNS policy and configuration options for gateway and datase…#188

Merged
avaya09 merged 3 commits intomainfrom
feat/dns_config
Apr 14, 2026
Merged

feat: add DNS policy and configuration options for gateway and datase…#188
avaya09 merged 3 commits intomainfrom
feat/dns_config

Conversation

@avaya09
Copy link
Copy Markdown
Contributor

@avaya09 avaya09 commented Apr 14, 2026

…rvice

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds configurable Pod DNS settings (dnsPolicy/dnsConfig) for the gateway and dataservice Helm chart deployments, and adjusts how environment Secret data is rendered.

Changes:

  • Introduces dnsPolicy and dnsConfig values for both gateway and dataservice pods.
  • Renders dnsPolicy/dnsConfig into the gateway and dataservice Deployment pod specs, with validation when dnsPolicy: None.
  • Updates Secret generation logic for .Values.environment.data in the gateway config template.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
charts/portkey-gateway/values.yaml Adds new values for gateway/dataservice DNS policy and DNS config; minor env default tweak.
charts/portkey-gateway/templates/gateway/deployment.yaml Applies DNS policy/config to gateway pod spec and adds Helm-time validation for None.
charts/portkey-gateway/templates/gateway/config.yaml Changes how .Values.environment.data is base64-encoded into a Secret.
charts/portkey-gateway/templates/dataservice/deployment.yaml Applies DNS policy/config to dataservice pod spec and adds Helm-time validation for None.

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

Comment thread charts/portkey-gateway/values.yaml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


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

@avaya09 avaya09 merged commit bba5906 into main Apr 14, 2026
4 checks passed
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