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

helm: default dns values inherit from connectInject.transparentProxy.defaultEnabled #1688

Merged
merged 5 commits into from
Nov 9, 2022

Conversation

ndhanushkodi
Copy link
Contributor

@ndhanushkodi ndhanushkodi commented Nov 9, 2022

Changes proposed in this PR:

  • Previously, dns.enabled defaulted to inherit from global.enabled, and dns.enableRedirection defaulted to false. Now, both of these dns values will default to inherit from connectInject.transparentProxy.defaultEnabled.
  • This is a breaking change

How I've tested this PR:

  • bats
    How I expect reviewers to test this PR:

Checklist:

  • Tests added
  • CHANGELOG entry added

    HashiCorp engineers only, community PRs should not add a changelog entry.
    Entries should use present tense (e.g. Add support for...)

@ndhanushkodi ndhanushkodi changed the title default dns values inherit from connectInject.transparentProxy.defaul… helm: default dns values inherit from connectInject.transparentProxy.defaultEnabled Nov 9, 2022
@ndhanushkodi ndhanushkodi requested review from a team, analogue and t-eckert and removed request for a team November 9, 2022 02:44
@ndhanushkodi
Copy link
Contributor Author

The failing acceptance tests are due to an agentless change for distroless image, so this is ready for review!

CHANGELOG.md Outdated
@@ -9,6 +9,9 @@ BREAKING_CHANGES:
* `client.snaphostAgent.replicas`
* `client.snaphostAgent.serviceAccount`
* Remove `global.secretsBackend.vault.consulSnapshotAgentRole` value. You should now use the `global.secretsBackend.vault.consulServerRole` for access to any Vault secrets.
* Change`dns.enabled` and `dns.enableRedirection` to default to the value of `connectInject.transparentProxy.defaultEnabled`.
Previously, `dns.enabled` defaulted to the value of `global.enabled` and `dns.enableRedirection` defaulted to the
value ot `false`. [[GH-1688](https://github.com/hashicorp/consul-k8s/pull/1688)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
value ot `false`. [[GH-1688](https://github.com/hashicorp/consul-k8s/pull/1688)]
value to `false`. [[GH-1688](https://github.com/hashicorp/consul-k8s/pull/1688)]

Copy link
Contributor

@t-eckert t-eckert left a comment

Choose a reason for hiding this comment

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

This looks great!

…automatically be enabled/disabled by tproxy settings
… should automatically be enabled/disabled by tproxy settings"

This reverts commit 237cbdc.
@ndhanushkodi ndhanushkodi merged commit 43477c1 into main Nov 9, 2022
@ndhanushkodi ndhanushkodi deleted the nd/default-dns branch November 9, 2022 21:26
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