Skip to content

Commit

Permalink
feat(fetchenv): allow label selectors on key lookups
Browse files Browse the repository at this point in the history
Allow `matchLabels` on key ref lookups. This is primarily to enable
config map discovery when merging JSON keys. Allowing lable selectors
means a single mtp doesn't have to add a key lookup for every configmap
it wishes to source from.

fixes: razee-io/MustacheTemplate#296
  • Loading branch information
esatterwhite committed Feb 17, 2022
1 parent 90188cc commit 8674ee9
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 220 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 2022,
"sourceType": "module"
},
"env": {
Expand Down
Loading

0 comments on commit 8674ee9

Please sign in to comment.