Skip to content

Commit

Permalink
fix: vector remap language logic typo (#959)
Browse files Browse the repository at this point in the history
## Description

Fix for existence check in VRL code for vector.

## Related Issue

Fixes #
no issue submitted; trivial fix for logic typo in vector values.yaml

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed
  • Loading branch information
bunchmj authored Oct 23, 2024
1 parent 2f63db2 commit 89af729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/values/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ customConfig:
if exists(.kubernetes.pod_labels."app.kubernetes.io/component") {
.component = .kubernetes.pod_labels."app.kubernetes.io/component"
} else if !exists(.kubernetes.pod_labels.component) {
} else if exists(.kubernetes.pod_labels.component) {
.component = .kubernetes.pod_labels.component
} else {
.component = ""
Expand Down

0 comments on commit 89af729

Please sign in to comment.