consul-k8s
consul-k8s copied to clipboard
Add extraLabels to connectInject and serverACLInit pods
Changes proposed in this PR: Added extraLabels to connectInject and serverACLInit in values.yaml so if declared in the values file then these additional labels will be added to the pods
How I've tested this PR: Tested the helm chart on my kubernetes cluster with and without declaring the extraLabels to ensure everything works as expected.
How I expect reviewers to test this PR: Same as how I tested
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...)
@s-andresen Could you tell us whether you expect to apply the same labels for both components? We had a similar PR previously but opted for an approach to create a label for all components for a global label instead.
Closing in favor of https://github.com/hashicorp/consul-k8s/pull/1678, could you open a separate PR That enables ServerACLInit with bats test included?