Skip to content

Commit 86424fc

Browse files
nejeceshepelyuk
authored andcommitted
fix: update trafficDistribution possible values
- update tests for opa-kube-mgmt helm chart to reflect the possible values for `trafficDistribution` Signed-off-by: Jernej Porenta <jernej.porenta@3fs.si>
1 parent 0eacf5b commit 86424fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/opa-kube-mgmt/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"trafficDistribution": {
4444
"type": ["null","string"],
45-
"enum": ["PreferZone", "PreferSameNode", "PreferSameZone", null],
45+
"enum": ["PreferClose", "PreferSameNode", "PreferSameZone", null],
4646
"default": null
4747
}
4848
}

test/lint/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ tests:
2222
errorMessage: |
2323
values don't meet the specifications of the schema(s) in the following chart(s):
2424
opa-kube-mgmt:
25-
- service.trafficDistribution: service.trafficDistribution must be one of the following: "PreferZone", "PreferSameNode", "PreferSameZone", null
25+
- service.trafficDistribution: service.trafficDistribution must be one of the following: "PreferClose", "PreferSameNode", "PreferSameZone", null

0 commit comments

Comments
 (0)