Skip to content

Commit c190379

Browse files
authored
chore(module): rewrite module_config_validator.py hook in Go (#1324)
* chore(module): rewrite validate_module_config hook in Go Rewrite the last Python hook in Go, no more Python hooks! - feat: Add overlap checks with podSubnet and serviceSubnet, also update Validation Webhook. - Add readiness probe to not block the 'main' queue. - Add a workaround (classic hook) to report ModuleConfig problems to user (wait for error reporting improves in deckhouse-controller). - Add copying valid ModuleConfig settings into internal values. - Components may decide to turn off if there are no module config settings (think of vm-route-forge without CIDRs). - Cleanup: remove everything Python-related: images, tasks, etc. --------- Signed-off-by: Ivan Mikheykin <[email protected]>
1 parent 0cce806 commit c190379

File tree

76 files changed

+1277
-862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1277
-862
lines changed

.github/workflows/dev_module_build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,6 @@ jobs:
281281
with:
282282
ref: ${{ github.event.pull_request.head.sha || github.sha }}
283283

284-
- name: Run test Python hooks
285-
run: |
286-
task hooks:test
287-
288284
- name: Run test GO hooks
289285
run: |
290286
task gohooks:test

Taskfile.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ includes:
1212
aliases: [controller]
1313
taskfile: ./images/virtualization-artifact
1414
dir: ./images/virtualization-artifact
15-
hooks:
16-
taskfile: ./hooks
17-
dir: ./hooks
1815
gohooks:
1916
taskfile: ./images/hooks
2017
dir: ./images/hooks

hooks/.keep

Whitespace-only changes.

hooks/Taskfile.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

hooks/common.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

hooks/lib/__init__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

hooks/lib/hooks/__init__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

hooks/lib/hooks/common.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

hooks/lib/hooks/hook.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

hooks/lib/module/__init__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)