Skip to content

Commit a9b0945

Browse files
committed
chore: add additional exceptions for flows-static-consumer
1 parent d5f5806 commit a9b0945

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

kp_pre_commit_hooks/gitops-values-validation.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ class ServiceInstanceConfigValidator:
210210
# These below project have service names are longer than the maximum allowed (36 characters)
211211
# or have application name not prefixed with the service name
212212
# but we ignore these errors as these services were created before the rule was in place
213+
"flows-staticdata-consumer": {
214+
"$.platform-managed-chart.serviceName": [
215+
"'flows-staticdata-consumer-commodities' does not match the service folder name 'flows-staticdata-consumer'",
216+
"'flows-staticdata-consumer-coal' does not match the service folder name 'flows-staticdata-consumer'",
217+
"'flows-staticdata-consumer-lpg' does not match the service folder name 'flows-staticdata-consumer'",
218+
"'flows-staticdata-consumer-lng' does not match the service folder name 'flows-staticdata-consumer'",
219+
]
220+
},
213221
"stream-merge-and-apply-matches-import-bol": {
214222
"$.platform-managed-chart.serviceName": [
215223
"'stream-merge-and-apply-matches-import-bol' is too long, the maximum length is 36"

0 commit comments

Comments
 (0)